While I am working on a webpage and still on my computer, I like to have test data readily available and I run this on "onload":
Once uploaded the checkbox should disappear.Code:function startup() { document.penta.DeBugging.checked=false; var dloc = document.location.toString(); if (dloc.slice(0,4) != "file") { document.penta.DeBugging.style.visibility = 'hidden'; } } ..................................... <form name="penta"> <h1 align="center">Move Chord Names</h1> <table cellspacing="1" cellpadding="3" width="1100" align="center" bgcolor="#004000" border="0"> <tbody> <tr> <td> </td></tr> <tr> <td bgcolor="#ffffee"> <p><textarea cols="130" rows="14" name="IOChords"></textarea> </p> <p><input type="checkbox" name="DeBugging" onClick="demo();"></p> </td></tr> <tr> <td bgcolor="#004000"> </td></tr></tbody></table></form> }
This works file using Firefox or Chrome but the checkbox is still visible in IE.
This is a link to the whole page: MoveChord.htm.
TIA


Reply With Quote
Bookmarks