![]() Topic awaiting preservation: Random is CSS (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: North Bay, Ontario, CA |
![]() in CSS... is there something like random; or something? |
Maniac (V) Inmate From: under the bed |
![]() As in....random...what? |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() 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 |
![]() 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 |
![]() try this : |
Bipolar (III) Inmate From: North Bay, Ontario, CA |
![]() Is there a way to change the background colors too matching with different background images? |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() 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 |
![]() okay... can I get the script... I can attempt different things right now... |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() 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 |
![]() For cross browser compatiblity you can just dynamically write the tag |