Here is an example:
Thanks for all the help!
Exactly! I will use this, to recreate the effect. Did you see my additional post about how the full screen background images to be random on each page load:
I'm working on it but I'm having some problems getting the effect to work:
I'm going off of this tread on stack over flow::
I'm going with the JS solution over the PHP, this is the section in the tread that I'm referring to specifically:
All my best and thank you for the help thus far CB
I would use JS. Take a look at this example:
var totalCount = 8;
var num = Math.ceil( Math.random() * totalCount );
document.body.background = 'bgimages/'+num+'.jpg';
document.body.style.backgroundRepeat = "repeat";// Background repeat
// Page Design
You would need to name your images the proper numbers through the random count and place them in that images folder.
Last edited by johnyct9760; 12-06-2013 at 11:41 PM.
Here's a quick example in jQuery:
You basically set up your images in an array, generate a random number, then set your background.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)