![]() |
"random" link colors?
I have a div with a bunch of links. I'd like to specify a list of colors and then have the link list be randomly assigned the colors from the list. Can anyone help me with this? I've found scripts which will color all the links in the same random color upon reload, but I'd like all the links to be different colors. I hope this makes sense. :o
|
Use the jquery selector to select all anchor tags, then change the CSS for each element, randomly assigning color.
Something like.. PHP Code:
|
| All times are GMT +1. The time now is 07:51 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.