Hi everyone. I am trying to figure out if it's possible to write a PHP or JavaScript that changes the background image every time the browser refresh button (or F5) is pressed.

I haven't seen it done this way, however I have seen it done for banners and other images.

ex: armitunes.com and bakabt.com both of there banners change when the page is refreshed, bakabt's only changes after a it has been on that image for a certain period of time before a refresh or so it would seem.

Any help would be greatly appreciated.

~UzuNarU~

Oh thanks that worked really well.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.