Random CSS
- Started
- Last post
- 7 Responses
- dfd
is it possible to have a number of differrent link colours so that everytime a user goes to a site it pics one at random, or from a set array of colours?
any help, or direction to tutorials would be awesome
- function820
i know how to do it in flash.. but not css
im not much help, infact, im not sure why i answered...
javascript would probably work
- kodap0
I guess the best would be have an amount of different css classes randomly trigered through php or javascript in the area you define the href ..
can be inside the
[a href ="yoururl.com" class= your random jscript function / php function ] link here [/a]I guess it might be easier to php include a random script inside the < a href tag
- dfd0
holy shit, that went right over my head ...
um, so php? ... uh, perhaps, a sample code? ... email me?
... yikes.
- function820
is it not possible do it with javascript variables?
- dfd0
javascript ... as in, coffee script?
(heheh... sorry i made myself laugh)
- gabriel_pc0
if you don't know php use javascript. combine this:
http://www.alistapart.com/articl…
with some javascript randomness
- dfd0
mmm cookies. they must go well with java.
anyways, i'm far behind on this project, and i guess i'm just looking to see if someone already did this, and could show me some sample code.