amg0
April 23, 2012, 3:53pm
1
I am trying to find any example of a javascript Tab like explained in the doc http://wiki.micasaverde.com/index.php/JavaScript_API
I d like to create a device which has a specific tab drawing that I would do in javascript but would like to see how one can do this and call set_panel_html (html) at the end.
Can this html parameter includes a for instance ?
Ap15e
April 23, 2012, 4:44pm
2
This is a very simple JS tab: J_VistaAlarmPanel1.js in tags/2.44_UI5 – Honeywell Ademco Vista Alarm Panels via AD2USB
And this is how it’s referenced in the Json file:
{
"Label": {
"lang_tag": "cheat_sheet",
"text": "Cheat Sheet"
},
"Position": "1",
"TabType": "javascript",
"ScriptName": "J_VistaAlarmPanel1.js",
"Function": "showCheatSheet"
}
Edit: Ap15e was faster than me.
amg0
April 23, 2012, 5:07pm
4
Excellent ! thank you both
futzle
April 23, 2012, 11:19pm
5
A couple of my plugins use JavaScript tabs extensively. Like dataMine, these are not simple examples.
Caddx alarm panel
CurrentCost EnviR