esp82xx icon indicating copy to clipboard operation
esp82xx copied to clipboard

Add programtic way of adding menu items to the index.html/webpage

Open cnlohr opened this issue 8 years ago • 1 comments

Possibly do it at runtime too. It is a little annoying to have to decouple all the indexes from the main just to add whatever process-specific things are in it, like needed to be done in 20e932a of esp8266ws2812


<tr><td width=1>
<input type=submit onclick="ShowHideEvent( 'LEDs' ); KickLEDs();" value="LEDs"></td><td>
<div id=LEDs class="collapsible">
<table width=100% border=1><tr><td id=LEDCanvasHolder><CANVAS id=LEDCanvas width=512 height=100></CANVAS></td>
<td><input type=button onclick="ToggleLEDPause();" id=LEDPauseButton value="|| / >"></td></tr></table>
</div></td></tr>

cnlohr avatar Aug 19 '16 02:08 cnlohr

Adding here for future use: http://www.w3schools.com/jsref/met_table_insertrow.asp

cnlohr avatar Aug 19 '16 06:08 cnlohr