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!
Dropdown Menu
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form
View previous topic :: View next topic  
Author Message
sumasala23



Joined: 09 Sep 2008
Posts: 4

PostPosted: Tue Sep 09, 2008 10:29 am     Dropdown Menu Reply with quote

Hi
Idea I want a code for Selected item in drop down menu is dispalyed in Current menu window.I am trying for long time.Pls help if u know.

-Suma
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1391
Location: Biloxi, MS

PostPosted: Tue Sep 09, 2008 2:43 pm     Reply with quote

Are you saying you want to load a new selected page in same window/tab or to load a new page inside the present page being viewed?
sumasala23



Joined: 09 Sep 2008
Posts: 4

PostPosted: Tue Sep 09, 2008 2:48 pm     load in same window Reply with quote

To load a new selected page in same window
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1391
Location: Biloxi, MS

PostPosted: Tue Sep 09, 2008 3:18 pm     Reply with quote

Something like this?

Code:
<form name="jump1" action="select">
<p>
<select name="MyList" OnChange="location.href=jump1.MyList.options[selectedIndex].value">
<option selected>Please Select...</option>
<option value="index.html">My Home Page</option>
<option value="http://www.crystalfibers.com/">Crystalfibers.com</option>
<option value="http://PayneLessDesigns.com/">PayneLessDesigns.com</option>
<option value="http://answers.yahoo.com/">Yahoo!Answers</option>
</select>
</p>
</form>
sumasala23



Joined: 09 Sep 2008
Posts: 4

PostPosted: Tue Sep 09, 2008 3:25 pm     Thx Reply with quote

Really Appreciate your help.
sumasala23



Joined: 09 Sep 2008
Posts: 4

PostPosted: Tue Sep 09, 2008 3:45 pm     Re: Thx but not a separate browsor window Reply with quote

Selected Page is dispalyed in the same menu window page.
i.e) the selected page will displayed under the menu.
Under the menu,i have one Table.(i.e. display window)
I have 5 dropdown menus & a blank table.

I will design all the menuoption page detail in single html file,not separate HTML file.(set all the page to invisible expect Home page).

If we select any one of the menu option,the request page is displayed in table.(selected page is dispalyed in Home page area)
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form 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
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

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