PDA

View Full Version : How to make a background image change on refresh


rockstaar
07-15-2008, 07:58 PM
I need to have the background image change everytime it refreshes and also resize itself with the website

example. www.mtv.com

I know only basic coding (still learning) and use dreamweaver CS3 to design sites

any help with this would be greatly appreciated

Ricky55
07-15-2008, 08:04 PM
wheres it doing that?

rockstaar
07-15-2008, 08:15 PM
on any page..just hit your refresh and you'll see what I mean

and make your browser bigger or smaller and the background stays with the site

rockstaar
07-16-2008, 01:20 PM
any ideas anyone?

Corrosive
07-16-2008, 01:34 PM
any ideas anyone?

No, I see what you mean by changing the background though. That's pretty cool 8-)

Re-sizing with a browser is all to do with building your website with the CSS definitions set to %, i.e. the site will be a % of the browser window rather than fixed pixel width.

rockstaar
07-16-2008, 02:26 PM
I figured it out lol...man I was just about to call the client and tell them I couldnt do it..


thanx

Corrosive
07-16-2008, 03:24 PM
Do you wanna share your new knowledge with us all? I'd like to know how this is done. :)