|
1
2
3
4
5
6
|
|
Editor: sse
Time: 2010/06/12 15:11:45 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><script src="http://www.abelcam.com/en/uidlid/online.js?uid=UID&lid=LID&cam=CAMNR&offline=OFFLINEIMGURL" type="text/javascript" ></script></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><script src="http://www.abelcam.com/en/uidlid/online.js?uid=99999&lid=999&cam=0&offline=http://www.abelcam.com/img/offline.jpg" type="text/javascript"></script><BR><BR><script> <BR>if (online == 'n') {<BR> document.write("The Camera is offline")<BR>} else {<BR> document.write('<img src="' + imgurl + '">');<BR>}<BR></script><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><script src="http://www.abelcam.com/en/uidlid/online.js?uid=UID&lid=LID&cam=CAMNR&offline=OFFLINEIMGURL" type="text/javascript" ></script></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><script src="http://www.abelcam.com/en/uidlid/online.js?uid=99999&lid=999&cam=0&offline=http://www.abelcam.com/img/offline.jpg" type="text/javascript"></script><br><br><script> <br>if (online == 'n') {<br> document.write("The Camera is offline")<br>} else {<br> document.write('<img src="' + imgurl + '">');<br>}<br></script><br><br>
Is your installation of AbelCam Online?
To determine if your AbelCam installation is online, you may use the following Java Script code:
<script src="http://www.abelcam.com/en/uidlid/online.js?uid=UID&lid=LID&cam=CAMNR&offline=OFFLINEIMGURL" type="text/javascript" ></script>
Variables
- UID
User ID, this number is listed in the About Form once you have a AbelCam License
- LID
License ID, this number is listed in the About Form once you have a AbelCam License - CAMNR
Camera Number, first camera is number 0
- OFFLINEIMGURL
optional Image URL to use when the camera is offline
The script sets two variables:
- online
when the camera is online, this variable is set to 'y', otherwise to 'n'
- imgurl
URL for the image if the camera is online, to the offline image URL if the camera is offline
Sample Usage:
<script src=
"http://www.abelcam.com/en/uidlid/online.js?uid=99999&lid=999&cam=0&offline=http://www.abelcam.com/img/offline.jpg" type="text/javascript"></script>
<script>
if (online == 'n') {
document.write("The Camera is offline")
} else {
document.write('<img src="' + imgurl + '">');
}
</script>