
More JavaScript Messages
Adding Commas | JavaScript Alert | Rotate Banner Ads | Sort Data By Field | Tip of The Day | Continuously Change | Message On Date | Editable Select Menu | Connected To Mouse | Text Fader | Highlighted Search | Text Box Messages | Text Glowing Border | Hover Text Colors | Image Link Description | Information Box | Short Description | Jitter Text | Orbiting 3-D Message | Message In A Box | A Trail Of Cursors | Drags A Message | Neon Style Method | Dialup Phone Number | Print Page Button | Automatic Print Page | Simpliest Fast Alert | Quote Of The Day | Rainbow Color Text | Random Name | Random Set Range | A Random Joke | Rotates Message Menu | Random Nerd Quotes | Quotes Generator | Murphys Laws | Random Puns | Random Quips | Random Sentence | JavaScript Error Report | Marquee Message | Characters From String | Teletype Scroller | Text Highlighter | Rotates Messages | Text Ripple | Time Message | Flash Style Intro | Advice From Zen
Description
Allows the user to enter their area code and phone number and have the modem dialup phone number for their area displayed. If their area code matches an area code as defined in the script, the appropriate dialup number is displayed. For all other area codes, an error message is displayed. Only supports one dialup number per area code, though....View A Script Demo
Allows the user to enter their area code and phone number and have the modem dialup phone number for their area displayed. If their area code matches an area code as defined in the script, the appropriate dialup number is displayed. For all other area codes, an error message is displayed. Only supports one dialup number per area code, though....View A Script Demo
Do you find it confusing setting up these script?
Java Scripts Magic can do all the hard work for you all At The Touch Of A Button.
Java Scripts Magic can do all the hard work for you all At The Touch Of A Button.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<LINK href="general.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function showNumber(areacode) {
var num = "no # avail.";
var numArray = new Array();
numArray[0] = "972-865-0073"; // add more entries here
numArray[1] = "214-469-4010";
for (var i = 0; i < numArray.length; i++) {
var acode = numArray[i].substring(0, 3);
if (acode == areacode)
var num = "" + numArray[i].substring(0, 18);
}
return num;
}
// End -->
</script>
</HEAD>
<BODY Background=../graphics/grayback.jpg>
<center><BR><BR><BR>
<font face="arial, helvetica" size="-1">[ We set up our example for phone numbers in the 972 or 214 area codes. ]
<form>
<table border=1>
<tr><td>Phone #:</td><td align=center>(<input type=text name=areacode size=3 maxlength=3 value="972">) <input type=text name=block size=3 maxlength=3>-<input type=text name=extension size=4 maxlength=4></td></tr>
<tr><td colspan=2 align=center><input type=button value="Show Dialup Number" onClick="this.form.number.value = showNumber(this.form.areacode.value)"></td></tr>
<tr><td>Dialup #:</td><td align=center><input type=text name=number size=12 maxlength=12></td></tr>
</table>
</form>
</center>
</BODY>
</HTML>
<HTML>
<HEAD>
<LINK href="general.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function showNumber(areacode) {
var num = "no # avail.";
var numArray = new Array();
numArray[0] = "972-865-0073"; // add more entries here
numArray[1] = "214-469-4010";
for (var i = 0; i < numArray.length; i++) {
var acode = numArray[i].substring(0, 3);
if (acode == areacode)
var num = "" + numArray[i].substring(0, 18);
}
return num;
}
// End -->
</script>
</HEAD>
<BODY Background=../graphics/grayback.jpg>
<center><BR><BR><BR>
<font face="arial, helvetica" size="-1">[ We set up our example for phone numbers in the 972 or 214 area codes. ]
<form>
<table border=1>
<tr><td>Phone #:</td><td align=center>(<input type=text name=areacode size=3 maxlength=3 value="972">) <input type=text name=block size=3 maxlength=3>-<input type=text name=extension size=4 maxlength=4></td></tr>
<tr><td colspan=2 align=center><input type=button value="Show Dialup Number" onClick="this.form.number.value = showNumber(this.form.areacode.value)"></td></tr>
<tr><td>Dialup #:</td><td align=center><input type=text name=number size=12 maxlength=12></td></tr>
</table>
</form>
</center>
</BODY>
</HTML>
If you have a Business Proposal that you think may be of interest to us here at Best Download Sites please contact us to discuss the matter in further detail

