<HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Modified By: Steve Robison, Jr. (stevejr@ce.net) --> <!-- Begin var checkflag = "false"; function check(field) { if (checkflag == "false") { for (i = 0; i < field.length; i++) { field[i].checked = true;} checkflag = "true"; return "Uncheck All"; } else { for (i = 0; i < field.length; i++) { field[i].checked = false; } checkflag = "false"; return "Check All"; } } // End --> </script> </HEAD> <!-- CONTINUE --> <BODY> <center> <form name=myform action="" method=post> <table> <tr><td> <b>Your Favorite Scripts & Languages</b><br> <input type=checkbox name=list value="1">Java<br> <input type=checkbox name=list value="2">JavaScript<br> <input type=checkbox name=list value="3">ASP<br> <input type=checkbox name=list value="4">HTML<br> <input type=checkbox name=list value="5">SQL<br> <br> <input type=button value="Check All" onClick="this.value=check(this.form.list)"> </td></tr> </table> </form> </center> <!-- END Script Size: 1.47 KB -->
<HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function resetform() { document.forms[0].elements[1]==""; } function submitForms() { if (isEmail() && isFname() && isLname() && isAddress() && isCity() && isState() && isZip()) if (confirm(" You are about to e-mail your submission. YES to submit. NO to abort.")) { alert(" Your submission will now be sent. Use the Return Button once the submission is complete to return to my home page. Thank you for joining our mailing list!"); return true; } else { alert(" You have chosen to abort the submission."); return false } else return false; } function isEmail() { if (document.forms[0].elements[1].value == "") { alert (" The E-Mail field is blank. Please enter your E-Mail address.") document.forms[0].elements[1].focus(); return false; } if (document.forms[0].elements[1].value.indexOf ('@',0) == -1 || document.forms[0].elements[1].value.indexOf ('.',0) == -1) { alert (" The E-Mail field requires a "@" and a "."be used. Please re-enter your E-Mail address.") document.forms[0].elements[1].select(); document.forms[0].elements[1].focus(); return false; } return true; } function isFname() { if (document.forms[0].elements[2].value == "") { alert (" The First Name field is blank. Please enter your first name.") document.forms[0].elements[2].focus(); return false; } return true; } function isLname() { if (document.forms[0].elements[3].value == "") { alert (" The Last Name field is blank. Please enter your last name.") document.forms[0].elements[3].focus(); return false; } return true; } function isAddress() { if (document.forms[0].elements[4].value == "") { alert (" The Address field is blank. Please enter your address.") document.forms[0].elements[4].focus(); return false; } return true; } function isCity() { if (document.forms[0].elements[5].value == "") { alert (" The City field is blank. Please enter your city.") document.forms[0].elements[5].focus(); return false; } return true; } function isState() { if (document.forms[0].elements[6].value == "") { alert (" The state field is blank. Please enter your state.") document.forms[0].elements[6].focus(); return false; } return true; } function isZip() { if (document.forms[0].elements[7].value == "") { alert (" The Zip code field is blank. Please enter your Zip code.") document.forms[0].elements[7].focus(); return false; } return true; } // End --> </SCRIPT> <!-- CONTINUE --> <BODY> <CENTER> <FORM enctype="text/plain" name="addform" method='get' action='mailto:antispammer@earthling.net?subject=TJS - Mailing List' onSubmit="return submitForms()"> <TABLE border=3 width=430 cellpadding=10><TD align="center"> <strong> <font face="arial" size=+2>Join the Mailing List!</font> </strong> </TABLE> <input type="hidden" name="Form" value="Submit Sub"> <TABLE border=3 cellspacing=0 cellpadding=2 bgcolor="#C0C0C0"> <tr valign=baseline> <TD> <font face="arial">Email Address:</font> </TD> <TD> <input type=text name="Email Address" size=35,1 maxlength=80> </TD> </tr> <tr> <TD> <font face="arial">First Name:</font> </TD> <TD> <input type=text name="First Name" size=35,1 maxlength=80> </TD></tr> <tr> <TD> <font face="arial">Last Name:</font> </TD> <TD> <input type=text name="Last Name" size=35,1 maxlength=80> </TD></tr> <tr> <TD> <font face="arial">Address:</font> </TD> <TD> <input type=text name="Address" size=35,1 maxlength=80> </TD></tr> <tr> <TD> <font face="arial">City:</font> </TD> <TD> <input type=text name="City" size=35,1 maxlength=80> </TD></tr> <tr> <TD> <font face="arial">State:</font> </TD> <TD> <input type=text name="State" size=10,1 maxlength=25> </TD></tr> <tr> <TD> <font face="arial">Zip Code:</font> </TD> <TD> <input type=text name="Zip" size=20,1 maxlength=35> </TD></tr></TABLE> <br> <center> <input type="submit" value=" Submit "> <input type="button" value=" Return " onclick="window.location='your-page.html'"> <input type="reset" value="Reset Form" onclick=resetform()> </FORM> </CENTER> <!-- END Script Size: 4.56 KB -->
<BODY> <center> <form name="capsform"> <input type="text" name="caps" size=40 value="" onChange="javascript:this.value=this.value.toLowerCase();"> <br> <input type="button" value="Ok!"> </form> </center> <!-- END Script Size: 0.55 KB -->
<script language="JavaScript"> <!-- function getLongDateString() { //method defined on class Date. //Returns a date string of the form: Day DD Month,YYYY //(e.g. Sunday 27 September, 1998) monthNames = new Array("January","February","March","April","May","June","July","August","September","October","November","December"); dayNames = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); dayOfWeek = this.getDay(); day = dayNames[dayOfWeek]; dateOfMonth = this.getDate(); monthNo = this.getMonth(); month = monthNames[monthNo]; year = this.getYear(); if (year < 2000) year = year + 1900; dateStr = day+" "+dateOfMonth+" "+month+", "+year; return dateStr; } //register the method in the class Date Date.prototype.getLongDateString=getLongDateString; function DocDate() { //return the document modification date (excl.time) //as a string DateTimeStr = document.lastModified; secOffset = Date.parse(DateTimeStr); if (secOffset == 0 || secOffset == null) //Opera3.2 dateStr = "Unknown"; else { aDate = new Date(); aDate.setTime(secOffset); //use method defined above datestr = aDate.getLongDateString(); } return dateStr; } document.write("<center> Last Update: "); document.writeln(DocDate(),"</center>"); // --> </script>
<!-- ONE STEP TO INSTALL MONTHLY: DAY HIGHLIGHTED: 1. Put the code into the BODY of your HTML document --> <!-- STEP ONE: Copy this code into the HEAD your HTML document --> <BODY> <CENTER> <SCRIPT LANGUAGE="JavaScript"> <!--Total Java Scripts 99 - Next Step Software--> <!-- Begin monthnames = new Array( "January", "Februrary", "March", "April", "May", "June", "July", "August", "September", "October", "November", "Decemeber"); var linkcount=0; function addlink(month, day, href) { var entry = new Array(3); entry[0] = month; entry[1] = day; entry[2] = href; this[linkcount++] = entry; } Array.prototype.addlink = addlink; linkdays = new Array(); monthdays = new Array(12); monthdays[0]=31; monthdays[1]=28; monthdays[2]=31; monthdays[3]=30; monthdays[4]=31; monthdays[5]=30; monthdays[6]=31; monthdays[7]=31; monthdays[8]=30; monthdays[9]=31; monthdays[10]=30; monthdays[11]=31; todayDate=new Date(); thisday=todayDate.getDay(); thismonth=todayDate.getMonth(); thisdate=todayDate.getDate(); thisyear=todayDate.getYear(); thisyear = thisyear % 100; thisyear = ((thisyear < 50) ? (2000 + thisyear) : (1900 + thisyear)); if (((thisyear % 4 == 0) && !(thisyear % 100 == 0)) ||(thisyear % 400 == 0)) monthdays[1]++; startspaces=thisdate; while (startspaces > 7) startspaces-=7; startspaces = thisday - startspaces + 1; if (startspaces < 0) startspaces+=7; document.write("<table border=2 bgcolor=white "); document.write("bordercolor=black><font color=black>"); document.write("<tr><td colspan=7><center><strong>" + monthnames[thismonth] + " " + thisyear + "</strong></center></font></td></tr>"); document.write("<tr>"); document.write("<td align=center>Su</td>"); document.write("<td align=center>M</td>"); document.write("<td align=center>Tu</td>"); document.write("<td align=center>W</td>"); document.write("<td align=center>Th</td>"); document.write("<td align=center>F</td>"); document.write("<td align=center>Sa</td>"); document.write("</tr>"); document.write("<tr>"); for (s=0;s<startspaces;s++) { document.write("<td> </td>"); } count=1; while (count <= monthdays[thismonth]) { for (b = startspaces;b<7;b++) { linktrue=false; document.write("<td>"); for (c=0;c<linkdays.length;c++) { if (linkdays[c] != null) { if ((linkdays[c][0]==thismonth + 1) && (linkdays[c][1]==count)) { document.write("<a href="" + linkdays[c][2] + "">"); linktrue=true; } } } if (count==thisdate) { document.write("<font color='FF0000'><strong>"); } if (count <= monthdays[thismonth]) { document.write(count); } else { document.write(" "); } if (count==thisdate) { document.write("</strong></font>"); } if (linktrue) document.write("</a>"); document.write("</td>"); count++; } document.write("</tr>"); document.write("<tr>"); startspaces=0; } document.write("</table></p>"); // End --> </SCRIPT> </CENTER> <!-- Script Size: 2.98 KB --></body></html>
<BODY> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin today = new Date(); thismonth = today.getMonth()+1; thisyear = today.getYear(); thisday = today.getDate(); montharray=new Array(31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); maxdays=montharray[thismonth-1]; if (thismonth==2) { if ((thisyear/4)!=parseInt(thisyear/4)) maxdays=28; else maxdays=29; } thismonth = "" + thismonth if (thismonth.length == 1) { thismonth = "0" + thismonth; } document.write("<form>"); document.write("<select name=dates size=1>"); for (var theday = 1; theday <= maxdays; theday++) { var theday = "" + theday; if (theday.length == 1) { theday = "0" + theday; } document.write("<option"); if (theday == thisday) document.write(" selected"); document.write(">"); document.write(thismonth + "-" + theday + "-" + thisyear); } document.write("</select></form>"); // End --> </SCRIPT> <!-- END Script Size: 1.20 KB -->
<HTML> <HEAD> <script language="javascript"> function da(form){ ut=new Date() h=ut.getHours() m=ut.getMinutes() if (h<10) h="0"+h if (m<10) m="0"+m time=h+":"+m document.frm.txt.value=time setTimeout("da(this.form)",1000) } function alermon(){ hr=document.frm.se1.selectedIndex mn=document.frm.se2.selectedIndex tim=document.frm.se1.options[hr].value+":"+document.frm.se2.options[mn].value if (h>12) time="0"+(h-12)+":"+m if (h=00) time="12"+":"+m if (time==tim){ document.all.sound.src=document.frm.alermsound.value } else setTimeout("alermon()",1000) } function alermoff(){ document.all.sound.src="" tim=0 } </script> <bgSound src="" id="sound"> </HEAD> <BODY onload="da(this.form)"> <font color="red" size="6">Alerm Clock</font> <form name="frm"> your system clock is:<input type="text" name="txt" size="12"><p> <font size="4" color="#0000FF">step1:</font>when you want the clock is ringing? select hour:<select name="se1" size=1> <option selected value="01">01 or 13 <option value="02">02 or 14 <option value="03">03 or 15 <option value="04">04 or 16 <option value="05">05 or 17 <option value="06">06 or 18 <option value="07">07 or 19 <option value="08">08 or 20 <option value="09">09 or 21 <option value="10">10 or 22 <option value="11">11 or 23 <option value="12">12 or 24 </select> select minute:<select name="se2" size=1> <option selected value="00">00<option value="01">01<option value="02">02<option value="03">03<option value="04">04 <option value="05">05<option value="06">06<option value="07">07<option value="08">08<option value="09">09 <option value="10">10<option value="11">11<option value="12">12<option value="13">13<option value="14">14 <option value="15">15<option value="16">16<option value="17">17<option value="18">18<option value="19">19 <option value="20">20<option value="21">21<option value="22">22<option value="23">23<option value="24">24 <option value="25">25<option value="26">26<option value="27">27<option value="28">28<option value="29">29 <option value="30">30<option value="31">31<option value="32">32<option value="33">33<option value="34">34 <option value="35">35<option value="36">36<option value="37">37<option value="38">38<option value="39">39 <option value="40">40<option value="41">41<option value="42">42<option value="43">43<option value="44">44 <option value="45">45<option value="46">46<option value="47">47<option value="48">48<option value="49">49 <option value="50">50<option value="51">51<option value="52">52<option value="53">53<option value="54">54 <option value="55">55<option value="56">56<option value="57">57<option value="58">58<option value="59">59 </select><p> <font size="4" color="#0000FF">step2:</font>browse your sound file: <input type="file" size=36 name="alermsound"><p> <font color="#0000FF" size="4">step3:</font><input type="button" value="on" onclick="alermon()"> <input type="button" value="off" onclick="alermoff()"><br> if you minimize this window you can't hear any sound. </form> </BODY> </HTML>
<BGSOUND src="Your link for music/Your link for music.html">
<P align=center><EMBED style="BORDER-RIGHT: silver 4px outset; BORDER-TOP: silver 4px outset; BORDER-LEFT: silver 4px outset; BORDER-BOTTOM: silver 4px outset" src="URL/URL.html" width="145" height="45" controls="controlpanel" AUTOSTART="TRUE" LOOP="TRUE"></P>