View Full Version : Random Images with Refresh Button? Help please!


CreatorCaz
05-27-2003, 09:09 AM
I need a bit of help here please! If anyone can help me out I'll be really grateful! ^_^

I'd like to have a page that displays a random image, then underneath the image, there's a button that say refresh, but I'd like it so it JUST refreshes the image, not the whole page. It's for my webcam, to show random stills, to make it appear kinda live, but it's not.

Can anyone help? Thankies. ^_^

designhazard
05-27-2003, 01:05 PM
if you want to refresh only the webcam page, make a new HTML file with the webcam picture and text thenyou coulf iframe it. I'm trying to make a random image thingy. when it's done, i will post it here :)

CreatorCaz
05-27-2003, 01:27 PM
I could do that, but I didn't really want to use Iframes, I'm using PHP for my site and I know there's a javascript code that refreshes just the image on a page, that's all I need now cos I've managed to do everything else.

Alcy
05-27-2003, 06:21 PM
How about a javascript that rotates through images every couple of seconds without refreshing?

http://www.lissaexplains.com/forum/showthread.php?s=&threadid=34251

CreatorCaz
05-27-2003, 08:44 PM
that sounds a good idea, thanks ^_^