![]() |
|
Thread Tools |
#1
|
||||
|
||||
Using images that refresh?
I was wondering how do i put a code to where theres an image that refreshes itself like on the original site? [img] codes just save the actual image that I was viewing at the time.
Heres an example of what I want to put on my site. As see on the link its a traffic camera and it just keeps refreshing. http://www.lafayettela.gov/traffic/t...s.asp?ptzid=31 This is also the frame source. <HTML> <body bgcolor = #D8D8D8> <b>JOHNSTON @ AMBASSADOR</b><br> <img src="../VServerImages/JohnstonCaffery.jpg" name="CurImg"> <script language="JavaScript"><!-- function reloadImage() { var now = new Date(); document.images.CurImg.src = "../VServerImages/JohnstonCaffery.jpg?" + Math.random(); //} setTimeout('reloadImage()',2000); } setTimeout('reloadImage()',1000); //--></script> </HTML> Please help me ![]() Thanks, Crawford --------------- Added 25 Feb 2008 at 19:27 --------------- bump
__________________
The337.com
No members have liked this post.
Last edited by Gossennator; 25 Feb 2008 at 19:27. Reason: Auto-Merged DoublePost |
#2
|
||||
|
||||
bump
__________________
The337.com
No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 19:52.