Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 05-27-2004, 05:22 PM Jump menu tutorials
Joobz's Avatar
Extreme Talker

Posts: 208
Location: DFW Texas
Trades: 0
Anyone know of any sites where there are tutorials are code I can use to create a jump menu. I need one that has 2 dropdown menus to create a path to information. An example of this would be a jump menu with a list of the 50 states, then a second menu with a list of each city in that state - then maybe a submit button. I have used menus like this on websites where I would make a selection from a menu and instantly another menu would populate the area below the first one. My programming skill level is still pathetic so I would need to see examples. I borrowed one from a site but every time I modify it - it doesn't work for some reason. I am hoping to use it for navigation purposes to hel clean up a site full of text links.
Joobz is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-27-2004, 10:47 PM
steveharro's Avatar
Extreme Talker

Posts: 172
Trades: 0
Is this what you mean:
Code:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaScript">

<!-- Original: Alex Tu <boudha1@hotmail.com> -->
<!-- Web Site:  http://www.geocities.com/MadisonAvenue/4368 -->
<!-- Begin
function formHandler(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
// End -->
</SCRIPT>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="75%" cellspacing="0" cellpadding="0" height="25" align="center">
  <tr> 
    <td valign="top" width="100%"> 
      <form name="form">
        <div align="center"> 
          <select name="site" size=1 onChange="javascript:formHandler()">
            <option value="">Search By Subject</option>
            <option value="To the page.htm">This is what you see</option>
            <option value="To the page.htm">This is what you see</option>
            <option value="To the page.htm">This is what you see</option>
            <option value="To the page.htm">This is what you see</option>
          </select>
        </div>
      </form>
    </td>
  </tr>
</table>
</body>
</html>
Just make the changes in each line to suit the first one is highlighted.

Regards Steveharro Best Download Sites.com

Last edited by steveharro; 05-27-2004 at 10:50 PM..
steveharro is offline
Reply With Quote
View Public Profile
 
Old 05-28-2004, 01:40 PM Which Items to edit?
Joobz's Avatar
Extreme Talker

Posts: 208
Location: DFW Texas
Trades: 0
Aside from the option value tags, what else do I need to edit here to make this work? I don't know javascript other than inserting the code into my site. Thanks.
Joobz is offline
Reply With Quote
View Public Profile
 
Old 05-30-2004, 11:25 PM
steveharro's Avatar
Extreme Talker

Posts: 172
Trades: 0
Just copy and paste the <head> section as you see it and the same for the <body> section if you need more lines than the ones already there just repeat the code and make the changes in each line.Or have a look HERE under country it may be exactly what your after.

Regards Steveharro Best Download Sites
steveharro is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Jump menu tutorials
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23316 seconds with 12 queries