View Full Version : logo image changing on refresh
12-23-2009, 03:52 PM
12-26-2009, 12:55 PM
In my opion,it is unrealistic if you wanna process in client side.
suggest you process on server side.
01-01-2010, 07:15 PM
Probably you want it like below?
I haven't tested yet,
but you should rename the files to
logo1.jpg, logo2.jpg, ... up to logo4.jpg
(see the total_images variable)
<img id="logo" src="" />
01-01-2010, 09:00 PM
I've searched a script like this before and I found this one (was still amoung my favorites lol). I actually didn't use it in the end, but maybe it's useful for you.
Note: it's not mine, just pointing out where you might find it.
Ranom Image Script (http://www.phpjunkyard.com/random-image.php)
If the above example isn't useful or exactly what you want, maybe this'll do it!
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.