Code: Select all
$.PageArray = [
['75','Temp', 'cell3', 'Salon (°C)','0','0'],
['291','Status', 'cell6', 'Downlight Terrasse','0','0'],
['187','Status', 'cell8', 'Stehlampen Salon','0','0'],
// ['291','Level', 'cell11', 'Downlight Terrasse (%)','2','1'],
// ['290','Level', 'cell12', 'Downlight Kamin (%)','2','1'],
['290','Status', 'cell7', 'Downlight Kamin','0','0'],
['187','Status', 'cell8', 'Stehlampen Salon','0','0'],
// ['187','Level', 'cell13', 'Stehlampen (%)','2','1'],
['179','Status', 'cell9', 'Downlight Tresen','0','0'],
//['290','Level', 'cell14', 'Downlight Tresen (%)','2','1'],
['105','Status', 'cell10', 'Esstisch','0','0'],
//['290','Level', 'cell15', 'Esstisch (%)','2','1'],
['338','Temp', 'cell25', 'Dach (°C)','0','0'],
//['0','Link', 'cell17', '<a href="http://www.nu.nl" target="_blank">NU.nl</a>','0','0'],
['0','Tijd', 'cell22', '','0','color:#17E213;font-size:150%'],
];
Cells "Status" are visible and toggable but if only one line "Level" is activated some of the "Status" cells get empty.
I'm aware that I'm just fiddling around not understanding what the code is about but with your help I'm sure I will manage it