random CSS
- Started
- Last post
- 11 Responses
- DutchBoy
How would one go about doing this? is this possible?
i need to randomize 3 styles..
should i use js to influence the @import function??
is there perhaps a simple script out there that does the job?
tia,
- Nematoth0
I would go for that option.. just generate a semi random number in javscript (http://www.codeave.com/javascri...
and then factor it so that it gives you a number between 1 and three and then just write out a different css link depending on the number..
That's how I would do it. ... might not be the best way.. bu tit would work..
- DutchBoy0
i found this perl script:
www.codeave. com/javascript/code. asp?u_log=7031might be exactly what i need!
cheers for the help!
*raises glass
- DutchBoy0
shit wrong link, this one i mean:
- tomkat0
I'll write one for you in JS, dutchie.
gimme a few minutes
- tomkat0
ch-ch-ch-che check ur mail
- DutchBoy0
cheers for the effort tomkat.. but i see no script in that mail??
anyway, i have been working on the perl script without success, driving me crazy.. anyone got any experience with Perl??
- kodap0
dutchie, there must be tons of scripts in php that can random a spcific line of your html code..
- antiprogram0
you could just do it with asp and have it generate a random number each time the page is refreshed causing your page to have a different css file attatched with each number using the
- DutchBoy0
the one i got is actually very good and easy to adapt.. if i just could get it to work!
aaargh.. i have soo little time!
is there anyone with experience in Perl??
you can contact me via
msn:
or email:
mailto:info@vormburo.nl
- DutchBoy0
i repeat i am not going to use other ones.. i just need a Perl expert here!!
thx though!!
- DutchBoy0
sorry if i came off a bit rude..
i just need to get this done asap, this is so frustrating.
please, could someone help me out?