| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
||||
|
||||
|
WebCam Image Refresh with Java script
<!--
browserType = navigator.appName; newImage = new Image(); Srvr_IP= "http://127.0.0.1/Image.jpg?"; var dly; if (browserType == "Netscape") document.write('<IMG SRC="'+ Srvr_IP +'" >') else document.write('<IMG SRC="' + Srvr_IP +'" name=ZahidiTV2Web Alt="Zahidi Camera(TV) to Web Server is off. Please try later." border=1 >'); uniq= 1; newImage.src= Srvr_IP + uniq; SnapShot_Loop(4000); function SnapShot_Loop(delay) { dly= delay if( document.all) loadNewImage(); setTimeout("SnapShot_Loop(dly)",delay); } function loadNewImage() { Stamp = new Date(); uniq= Stamp.getTime(); document.images.ZahidiTV2Web.src= newImage.src; newImage.src= Srvr_IP + uniq; window.status = "Displaying live video ..."; } //============================== --> |
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > WebCam Image Refresh with Java script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|