Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   random pic rotation w/out refresh? (http://www.greenguysboard.com/board/showthread.php?t=10059)

thrillho 2004-08-10 11:03 PM

random pic rotation w/out refresh?
 
Just got a call from someone wanting to know if I can do a page with a picture that changes without refreshing the page or anything. The pictures are to be randomly pulled from a folder to which they want to be able to ftp additional pictures into. I need to let them know tomorrow, so any ideas would be greatly appreciated! Thanks!

DangerDave 2004-08-10 11:12 PM

Lee

Do they want the pics to change in quick succesion? eg every 30 secs, 2 mins etc? or is it a daily change type thing?


If it was the quick change option, then it would have to be run by java/javascript I believe

DD

thrillho 2004-08-10 11:38 PM

Thanks for the quick reply, Dave! It is a quick succession change that they're looking for. As I understand it, the pics are around 640x480 or so, and they want them to change every 15 to 20 seconds.

DangerDave 2004-08-11 12:11 AM

Sounds like a job for a java applet mate... sorry I dont have nay solution...

Try..

http://www.freewarejava.com/applets/ad.shtml

DD

thrillho 2004-08-11 12:16 AM

A couple on that page look promising--thanks as always, Dave!

dgraf 2004-08-11 11:06 AM

What about autorefresh in iframe?

thrillho 2004-08-11 12:08 PM

dgraf,

I'm going to have to display my computer illiteracy here...
I've seen iframe mentioned a lot, but don't know what it is. Any link to info that might be helpful? Thanks for your input!

dgraf 2004-08-11 03:56 PM

By using the iframe element you can create a sub-window of desired position, size and feshion on your page and load an independet html page into it. The second html page will contain just the image and a refresh code within.

More info about inline frames here -

W3C - Inline frames: the IFRAME element

Trev 2004-08-11 04:59 PM

sounds to me like what you're looking for is a slideshow app. Do a search for them... heck, a quick look on the site that DD provided shows these http://freewarejava.com/applets/slideimage.shtml

this is the first one I clicked on http://www.anfyteam.com/anj/mosaic/mosaic.html
most auto ones tend to use some kind of transistion effect.


All times are GMT -4. The time now is 04:31 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc