Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 25 Feb 2008, 05:35
Gossennator's Avatar
Gossennator Gossennator is offline
 
Join Date: Nov 2007
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

Last edited by Gossennator; 25 Feb 2008 at 19:27. Reason: Auto-Merged DoublePost
Reply With Quote
  #2  
Old 27 Feb 2008, 00:05
Gossennator's Avatar
Gossennator Gossennator is offline
 
Join Date: Nov 2007
bump
__________________
The337.com
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:58.

Layout Options | Width: Wide Color: