All AbelCam functionality has been terminated October 8th 2019
 
 
 
Navigation

Edit detail for AbelCamIsOnline revision 3 of 6

1 2 3 4 5 6
Editor: sse
Time: 2010/06/12 15:09:29 GMT+2
Note: reverted by sse

changed:
-
<h1>Is your installation of AbelCam Online?</h1><br>To determine if your AbelCam installation is online, you may use the following Java Script code:<p>&lt;script src="http://www.abelcam.com/en/uidlid/online.js?uid=UID&amp;lid=LID&amp;cam=CAMNR&amp;offline=OFFLINEIMGURL" type="text/javascript" &gt;&lt;/script&gt;</p><h2>Variables</h2>
<ul>
<li>UID<br>User ID, this number is listed in the About Form once you have a AbelCam License<br></li><li>LID<br>License ID, this number is listed in the About Form once you have a AbelCam License</li><li>CAMNR<br>Camera Number, first camera is number 0</li>
<li>OFFLINEIMGURL<br><i>optional</i> Image URL to use when the camera is offline</li></ul><p>The script sets two variables:<br>
</p><ul>
<li>online<br>when the camera is online, this variable is set to 'y', otherwise to 'n'
</li><li>imgurl<br>URL for the image if the camera is online, to the offline image URL if the camera is offline</li></ul>Sample Usage:<br><br>&lt;script src="http://www.abelcam.com/en/uidlid/online.js?uid=99999&amp;lid=999&amp;cam=0&amp;offline=http://www.abelcam.com/img/offline.jpg" type="text/javascript"&gt;&lt;/script&gt;<br><br>&lt;script&gt; <br>if (online == 'n') {<br>&nbsp; document.write("The Camera is offline")<br>} else {<br>&nbsp; document.write('&lt;img src="' + imgurl + '"&gt;');<br>}<br>&lt;/script&gt;<br><br>

<h1>Is your installation of AbelCam Online?</h1><br>To determine if your AbelCam installation is online, you may use the following Java Script code:<p>&lt;script src="http://www.abelcam.com/en/uidlid/online.js?uid=UID&amp;lid=LID&amp;cam=CAMNR&amp;offline=OFFLINEIMGURL" type="text/javascript" &gt;&lt;/script&gt;</p><h2>Variables</h2> <ul> <li>UID<br>User ID, this number is listed in the About Form once you have a AbelCam License<br></li><li>LID<br>License ID, this number is listed in the About Form once you have a AbelCam License</li><li>CAMNR<br>Camera Number, first camera is number 0</li> <li>OFFLINEIMGURL<br><i>optional</i> Image URL to use when the camera is offline</li></ul><p>The script sets two variables:<br> </p><ul> <li>online<br>when the camera is online, this variable is set to 'y', otherwise to 'n' </li><li>imgurl<br>URL for the image if the camera is online, to the offline image URL if the camera is offline</li></ul>Sample Usage:<br><br>&lt;script src="http://www.abelcam.com/en/uidlid/online.js?uid=99999&amp;lid=999&amp;cam=0&amp;offline=http://www.abelcam.com/img/offline.jpg" type="text/javascript"&gt;&lt;/script&gt;<br><br>&lt;script&gt; <br>if (online == 'n') {<br>&nbsp; document.write("The Camera is offline")<br>} else {<br>&nbsp; document.write('&lt;img src="' + imgurl + '"&gt;');<br>}<br>&lt;/script&gt;<br><br>