I am using an Address bar stule script, but i want it to open in a frame called _contentframe.
The script is at <!-- m --><a class="postlink" href="http://javascript.internet.com/navigation/quick-jump.html">http://javascript.internet.com/navigati ... -jump.html</a><!-- m -->. The source code is below.
<!-- ONE STEP TO INSTALL QUICK JUMP:
1. Copy the coding into the BODY of your HTML document -->
<!-- STEP ONE: Paste this code into the BODY of your HTML document -->
<BODY>
<form onSubmit="window.location=this.url.value;return false;">
<input type=text name=url size=40>
</form>
<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href=http://www.webdeveloper.com/forum/archive/index.php/"http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>
<!-- Script Size: 0.32 KB -->
And also i need this password script to open the users sites in _contentframe and the page the script is on, needs to be changed to logout.html.
The address is <!-- m --><a class="postlink" href="http://javascript.internet.com/passwords/multiple-users-source.html">http://javascript.internet.com/password ... ource.html</a><!-- m --> and the source code is below.
<!-- TWO STEPS TO INSTALL MULTIPLE USERS:
1. Copy the first code into the HEAD of your HTML document
2. Put the last coding into the BODY of your HTML document -->
<!-- STEP ONE: Copy this code into the HEAD of your login HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! <!-- m --><a class="postlink" href="http://javascript.internet.com">http://javascript.internet.com</a><!-- m --> -->
<!-- Begin
function Login(){
var done=0;
var username=document.login.username.value;
username=username.toLowerCase();
var password=document.login.password.value;
password=password.toLowerCase();
if (username=="member1" && password=="password1") { window.location="page1.html"; done=1; }
if (username=="member2" && password=="password2") { window.location="page2.html"; done=1; }
if (username=="member3" && password=="password3") { window.location="page3.html"; done=1; }
if (done==0) { alert("Invalid login!"); }
}
// End -->
</SCRIPT>
<!-- STEP TWO: Paste this code into the BODY of your HTML document -->
<BODY>
<center>
<form name=login>
<table width=225 border=1 cellpadding=3>
<tr><td colspan=2><center><font size="+2"><b>Members-Only Area!</b></font></center></td></tr>
<tr><td>Username:</td><td><input type=text name=username></td></tr>
<tr><td>Password:</td><td><input type=text name=password></td></tr>
<tr><td colspan=2 align=center><input type=button value="Login!" onClick="Login()"></td></tr>
</table>
</form>
</center>
<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>
<!-- Script Size: 1.60 KB -->
Please e-mail the extra code and/or any modifications to the code to <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->!
Thanks and Merry Christmas!
Josh Buckley
The script is at <!-- m --><a class="postlink" href="http://javascript.internet.com/navigation/quick-jump.html">http://javascript.internet.com/navigati ... -jump.html</a><!-- m -->. The source code is below.
<!-- ONE STEP TO INSTALL QUICK JUMP:
1. Copy the coding into the BODY of your HTML document -->
<!-- STEP ONE: Paste this code into the BODY of your HTML document -->
<BODY>
<form onSubmit="window.location=this.url.value;return false;">
<input type=text name=url size=40>
</form>
<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href=http://www.webdeveloper.com/forum/archive/index.php/"http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>
<!-- Script Size: 0.32 KB -->
And also i need this password script to open the users sites in _contentframe and the page the script is on, needs to be changed to logout.html.
The address is <!-- m --><a class="postlink" href="http://javascript.internet.com/passwords/multiple-users-source.html">http://javascript.internet.com/password ... ource.html</a><!-- m --> and the source code is below.
<!-- TWO STEPS TO INSTALL MULTIPLE USERS:
1. Copy the first code into the HEAD of your HTML document
2. Put the last coding into the BODY of your HTML document -->
<!-- STEP ONE: Copy this code into the HEAD of your login HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! <!-- m --><a class="postlink" href="http://javascript.internet.com">http://javascript.internet.com</a><!-- m --> -->
<!-- Begin
function Login(){
var done=0;
var username=document.login.username.value;
username=username.toLowerCase();
var password=document.login.password.value;
password=password.toLowerCase();
if (username=="member1" && password=="password1") { window.location="page1.html"; done=1; }
if (username=="member2" && password=="password2") { window.location="page2.html"; done=1; }
if (username=="member3" && password=="password3") { window.location="page3.html"; done=1; }
if (done==0) { alert("Invalid login!"); }
}
// End -->
</SCRIPT>
<!-- STEP TWO: Paste this code into the BODY of your HTML document -->
<BODY>
<center>
<form name=login>
<table width=225 border=1 cellpadding=3>
<tr><td colspan=2><center><font size="+2"><b>Members-Only Area!</b></font></center></td></tr>
<tr><td>Username:</td><td><input type=text name=username></td></tr>
<tr><td>Password:</td><td><input type=text name=password></td></tr>
<tr><td colspan=2 align=center><input type=button value="Login!" onClick="Login()"></td></tr>
</table>
</form>
</center>
<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>
<!-- Script Size: 1.60 KB -->
Please e-mail the extra code and/or any modifications to the code to <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->!
Thanks and Merry Christmas!
Josh Buckley