HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Help with dropdown menu links to other frames
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
codingnewbie



Joined: 24 Apr 2008
Posts: 2

PostPosted: Thu Apr 24, 2008 7:41 am     Help with dropdown menu links to other frames Reply with quote

I am practicing with html and have encountered a problem. I have coded a drop down menu, but I cannot figure out how to make it so that the new page loads in a different frame.
To make it easier to solve here is the format I am currently using example:

<form name="jump">
<select name="menu">
<option value="1">a</option>
<option value="2">b</option>
</select>
<input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO">
</form>

I would like it to display the new page in a frame called "main", if you could help me i would greatly appriciate it.
sticks464



Joined: 31 Dec 2006
Posts: 834

PostPosted: Thu Apr 24, 2008 6:33 pm     Reply with quote

Are you making a form or a menu? Forms are for collecting data and menus are lists displaying data. Try using a list and using the attribute 'target'.
codingnewbie



Joined: 24 Apr 2008
Posts: 2

PostPosted: Fri Apr 25, 2008 6:52 am     Reply with quote

thanks for your help, i just found a tutorial on site by accident:
http://www.htmlcodetutorial.com/linking/linking_famsupp_114.html
mjpliv



Joined: 11 May 2004
Posts: 406
Location: Nova Scotia

PostPosted: Fri Apr 25, 2008 8:51 am     Reply with quote

Keep in mind that this particular script calls a server side component redirect.pl

If you has access to a CGI folder and perl support then there are bucket fulls of free redirect programs available just by googling "redirect.pl"
sticks464



Joined: 31 Dec 2006
Posts: 834

PostPosted: Fri Apr 25, 2008 12:01 pm     Reply with quote

Take a look here. There are lots of drop down menus
http://www.cssplay.co.uk/menus/
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial