EMailer
|
<script> <!--//hide script function loadframe(item) { // if we are inside a frameset if (self != parent) { // make sure the TOC has the right icon on parent.frames[0].document.location = item + '.toc.html'; } } //end hide script --> </script> <script> function check() { email_addresses = ""; for (i=0; i<document.BCform.elements.length; i++) { if (document.BCform.elements[i].checked==1) { if (email_addresses != "") email_addresses += ',' + document.BCform.elements[i].value; else email_addresses = document.BCform.elements[i].value; } } return email_addresses; } function send(people) { if (people == "") alert ('Send to whom?'); else parent.location = 'mailto:' + people; } function set(n) { for (i=0; i<document.BCform.elements.length; i++) document.BCform.elements[i].checked = n; } function set_invert() { for (i=0; i<document.BCform.elements.length; i++) document.BCform.elements[i].checked = !(document.BCform.elements[i].checked); } </script> |
|
<form NAME="BCform"> <tt><p> <input TYPE="CHECKBOX" VALUE="The Prez <the@prezadress.com>">President Clinton..........<a HREF="http://www.theURLadress.com" TARGET="_blank">home page</a><br> <input TYPE="CHECKBOX" VALUE="test@nowhereadress.com <test@nowhereadress.com>">Monica Lewinsky............<a HREF="http://www.iblewitadress.com" TARGET="_blank">home page</a><br> <input TYPE="CHECKBOX" VALUE="<test@testingadress.com>">Kenneth Starr..............<a HREF="http://www.nosexallowedURLadr.com" TARGET="_blank">home page</a><br> <input TYPE="CHECKBOX" VALUE="Webmaster <webmaster@winfolinx.com>">Webmaster-Winfolinx.com....<a HREF="http://www.winfolinx.com" TARGET="_blank">home page</a><br> </tt></p> </form> </td> </tr> </table> <form NAME="buttonForm"> <p><input TYPE="BUTTON" VALUE="select ALL" ONCLICK="set(1);"> <input TYPE="BUTTON" VALUE="select NONE" ONCLICK="set(0);"> <input TYPE="BUTTON" VALUE="invert selection" ONCLICK="set_invert();"> </p> <p><input TYPE="BUTTON" VALUE="send e-mail to selected person(s)" ONCLICK="send(check())"><br> </p> </form> |
Free JavaScripts provided
by Winfolinx.com