Important alert: (current site time 7/15/2013 1:07:52 PM EDT)
 

VB icon

A Frame-based Menu

Email
Submitted on: 8/11/2000 12:49:33 PM
By: John Oyston  
Level: Beginner
User Rating: By 1 Users
Compatibility: JavaScript
Views: 27376
(About the author)
 
     Menu items in one frame load into other frame.
 
code:
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.
				
'**************************************
' Name: A Frame-based Menu
' Description:Menu items in one frame load into other frame.
' By: John Oyston
'
'This code is copyrighted and has' limited warranties.Please see http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=1925&lngWId=14'for details.'**************************************

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
	<TITLE>Pulldown Menu - Frames version </TITLE>
	
<META NAME="author" CONTENT="Dr. John Oyston, oyston@oyston.com">
<META NAME="description" CONTENT="">
<META NAME="keywords" CONTENT="">
</HEAD>
<FRAMESET cols="250,*">
<frame name="left" src="leftframe.htm">
<frame name="right" src="rightframe.htm">
</FRAMESET>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
	<TITLE> ??? </TITLE>
	
<META NAME="author" CONTENT="Dr. John Oyston, oyston@oyston.com">
<META NAME="description" CONTENT="">
<META NAME="keywords" CONTENT="">
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available online from -->
<!-- The JavaScript Source!! http://javascriptsource.com -->
<!-- Begin
function leapto(form) {
var myindex=form.dest.selectedIndex
parent.right.location.href=(form.dest.options[myindex].value);
}
// End -->
</SCRIPT>
</HEAD>
<BODY>
<CENTER>
<FORM NAME="myform">
<SELECT NAME="dest" SIZE=1>
<OPTION SELECTED VALUE="http://javascriptsource.com/main.html">The JavaScript Source
<OPTION VALUE="http://buttons.javascriptsource.com">Buttons Page
<OPTION VALUE="http://games.javascriptsource.com">Games Page
<OPTION VALUE="http://links.javascriptsource.com">Links Page
<OPTION VALUE="http://passwords.javascriptsource.com">Password Protection Page
<OPTION VALUE="http://user-details.javascriptsource.com">User Details Pages
</SELECT>
<INPUT TYPE="BUTTON" VALUE="Go" onClick="leapto(this.form)">
</FORM>
</CENTER>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>Frames Menu</title>
</head>
<BODY BGCOLOR=aqua>
<FONT FACE=ARIAL COLOR=navy>
<CENTER><H1>Pulldown menu<BR>Loads in other frame</H1></CENTER>
<p>
<!--Intro text-->
(From <A HREF="http://www.javascriptsource.com">The JavaScript Source</A>)<P>
If you would like to use a pulldown menu, but would like to do so in
frames, this is the script for you. One frame will contain the pulldown
menu and the selections will be opened in the other frames!
</FONT>
<HR><P>
<!--script-->
<CENTER>
<FONT FACE=ARIAL COLOR=navy SIZE=4>
<A HREF="../home.htm" TARGET="_TOP">Return to JavaScript Page</A>
<H5>John Oyston, (oyston@oyston.com), July 1998</H5></FONT></CENTER>
</body>
</html>


Other 25 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

 There are no comments on this submission.
 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.