Hi,
I have created an updated version of the great work done by Esteban.
<b>Main improvements</b>
<ul>
<li>Add a light or sensor with a single command</li>
<li>Code is easier to expand</li>
<li>Example to add a light you would have to type this:
<font face="Courier New"><li> <%=iPodLamp("b2","light","B2 Hoek")%> </li></font id="Courier New"> </li>
<li>Example: add sensor info type this:
<font face="Courier New"><li> <%=iPodSensor("\11","sensor","Livingroom Temp",10,"C")%> </li></font id="Courier New"> </li>
</ul>
It creates all the code (form, tables, formatting, etc) to control your lights
One thing that still <i>doesn't</i> work on Opera that <i>does</i> work on firefox and IE: if you click a light switch to turn on/off a light the picture immediately changes from on to off (or the other way around).
NOTE that I haven't tested this on any other machine using the code by Esteban but you can test it if you want. Please let me know what you think.
Cheers!
DJ
<b>Download Attachment:</b>
[img]images/icon_paperclip.gif[/img] menu_new.zip<br />3.56KB