TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

randomness

Page: 1 Reply
Jun 23rd 2002#54573 Report
Member since: May 1st 2002
Posts: 3034
well.. yeah
I was sorta wondering if its possible to randomly load a different style sheet, if it is it would be nice if someone could help me out
...
thanks
Reply with Quote Reply
Jun 23rd 2002#54577 Report
Member since: Mar 20th 2001
Posts: 3367
Use php, make a random script and use it to echo out the stylesheet's name.

Check out the random php script I posted for pank's random splash script. Edit it to fit your stylesheet randomizer
Reply with Quote Reply
Jun 23rd 2002#54607 Report
Member since: Mar 24th 2002
Posts: 3114
This could be made in JS too, with a randomized array with the different stylesheets, and then just document.write() the whole crap..

But I guess PHP is a better choice, if you know PHP.
Reply with Quote Reply
Jun 23rd 2002#54611 Report
Member since: May 1st 2002
Posts: 3034
thx guys
Reply with Quote Reply
Jun 23rd 2002#54623 Report
Member since: Jun 30th 2001
Posts: 447
Well JavaScript is a better choice if you don't want to change your pages to have the .php extension. Zyconium, if you need the JS script, let me know.
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum