[Loadstone] update to groute

Josh jkenn337 at gmail.com
Mon Nov 9 19:55:39 GMT 2009


Hi,

greggor has added a button when selecting points of interest that when pressed will select or deselect all checkboxes for faster point selecting. this currently only works in internet explorer. I guess its due to the nature of the script I found for him. 
I'll paste what could possibly be a better solution below. Not sure how many people use firefox. I find firefox to not like some of the loadstone tools. so I use IE when working with loadstone tools. 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
 <head>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  <title> New Document </title>
  <script language="JavaScript">
  <!--
  function CheckAll(fieldName, selectName) {
   for (var i=0; i<document.deleteEmails.elements.length; i++) {
    var e = document.deleteEmails.elements[i];
    if (e.name == fieldName) {
     
     e.checked = selectName.checked;
    }
   }
  }
  //-->
  </script>
 </head>
<body>
 <form method="POST" name="deleteEmails" action="delete.php">
 <p>
 Delete<br>(List)
 <input type="checkbox" name="selectAll" value="Check All" onClick='CheckAll("Remove[]", this)'> Check All 1
 </p>
 <input type="checkbox" name="Remove[]" value="1">
 <input type="checkbox" name="Remove[]" value="2">
 <input type="checkbox" name="Remove[]" value="3">
 
 
 <b>Delete<br>(Database)<input type="checkbox" name="selectAllRemove" value="Check All" onClick='CheckAll("fullRemove[]", this)'>
 <input type="checkbox" name="fullRemove[]" value="1">
 <input type="checkbox" name="fullRemove[]" value="2">
 <input type="checkbox" name="fullRemove[]" value="3">
 </form>
 
</body>
</html>





Josh

send email to myself at jkenn337 at gmail.com www.satogo.com Get klango at www.klango.net it's free! Get NVDA www.nvda-project.org it's free! Grab Ubuntu at www.ubuntu.com it's free! and www.twitter.com/jkenn337 follow-me-on-twitter. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.loadstone-gps.com/pipermail/loadstone/attachments/20091109/febb3177/attachment.html>


More information about the Loadstone mailing list