MyBB Community Forums

Full Version: Random background?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey i want to have a random background. I can do this in PHP and JS.

Which is better to use. What will happen to nonjs users?
I prefer to make this kind of thing on the server side, so I'd say go for PHP Toungue
Ya go php as some people may not have java enabled Wink. Plus doesn't slow down load times(as much either way it's minor Toungue).
True, the PHP is easy enough Toungue What if i did this with themes?
It would increase page load Toungue Changing backgrounds on each page would be a pain for the user. I've only do that for logos and alternating images (like otaku flame's theme).
Yea Toungue BTW you need to browser check that :p
Sorry if this is a stupid question, but how do I add a background image altogether?