Topic awaiting preservation: Random is CSS (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: North Bay, Ontario, CA |
posted 12-13-2001 03:33
in CSS... is there something like random; or something? |
Maniac (V) Inmate From: under the bed |
posted 12-13-2001 05:30
As in....random...what? |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 12-13-2001 09:37 |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 12-13-2001 14:07
KARN: It all depends on what your question is. There is no such style as random and I'm not sure if any style has the attribute random (I can't think of one). If you want a random style sheet then we can do that (I've got one working). |
Bipolar (III) Inmate From: North Bay, Ontario, CA |
posted 12-14-2001 06:24
Sorry, should of been more specific... I have multiple splash background images and right now I have: |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 12-14-2001 07:10
try this : |
Bipolar (III) Inmate From: North Bay, Ontario, CA |
posted 12-15-2001 07:31
Is there a way to change the background colors too matching with different background images? |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 12-15-2001 12:06 |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 12-15-2001 16:58
KARN: Once you change the background colours you start to notice that other colours need changing too. What I'd recommend is that you actually swap the stylesheets randomly. I have a script that will do this and if you are using PHP it will make the job simpler. Its your call. |
Bipolar (III) Inmate From: North Bay, Ontario, CA |
posted 12-16-2001 20:13
okay... can I get the script... I can attempt different things right now... |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 12-19-2001 20:49
KARN: Sorry for not getting back sooner (I've not been well and not been able to track down where I had the script!!) - try this (I've got it working so any problems are in the cut and paste so let me know if it goes wrong): code: <script language="JavaScript" type="text/javascript">
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 12-19-2001 21:14
For cross browser compatiblity you can just dynamically write the tag |