BOBH
asked on
Looping HTML Code
I am very new to HTML, but would like to know if there is a way to write a loop into the code as one would do in visual basic. I have a picture file which is being updated periodicaly and would like to refresh that picture without the need to restart the browser each time.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
learning all the time ;)
ASKER
Thanks to both of you. I'll play with these suggestions and be back
BobH
BobH
ASKER
I have the following code which generates a very nice selection box but now how do I steer the selection to where it is supposed to go when the camera is selected. In this case a different Java Applet for each camera.
<Center>
<Select Name="field name" SIZE=1> change SIZE to 4 for selection box
<OPTION>Camera 1</OPTION>
<OPTION>Camera 2</OPTION>
<OPTION>Camera 3</OPTION>
<OPTION>Camera 4</OPTION>
<Center>
<Select Name="field name" SIZE=1> change SIZE to 4 for selection box
<OPTION>Camera 1</OPTION>
<OPTION>Camera 2</OPTION>
<OPTION>Camera 3</OPTION>
<OPTION>Camera 4</OPTION>
<BODY onLoad='setInterval("docum
<IMG name="yourImageName" src="images/yourimage.gif"
the 10000 in the setInterval is the number of milliseconds to wait for each refresh (10 seconds in this case).