Thread: I need a pull down menu
Results 1 to 2 of 2
Related
-
pull down menu issue Forum: HTML Forum
Replies: 0 -
Pull down (jump) menu width/display issue (revisited) Forum: CSS Forum
Replies: 0 -
Pulldown menu blocks my popup menu Forum: HTML Forum
Replies: 9 -
Pull down (jump) menu width/display issue.. Forum: CSS Forum
Replies: 3 -
pull down menu Forum: HTML Forum
Replies: 15
-
08-01-2001, 05:00 PM #1
Hallo. Welcome to the forum.
Heres what you need, this first bit goes between your <HEAD> and </HEAD> tags :
<script language="JavaScript">
<!--
function go(what) {
value = what.options[what.selectedIndex].value;
if (value == "") return;
window.location.href = value;
}
//--></script>
And this is the actual pull-down code:
<form name="form1">
<select name="linkslist" onChange="go(this)">
<option value="Page1.htmm">Click for page 1 3659.jpg</option>
<option value="Page2.html">click for page two</option>
</select>
</form>
You can put as many options in as you like.
Hope that helps.
------------------
QuietDean-
-
08-02-2001, 01:37 AM #2
I need a pull down menu
I read on a tutorial on this site that you need a program for any type of form, in my case a pull down menu. How would I go about writing a program for a simple pull down menu that has six entries and when you click one of them, it goes straight to the page it refers to? Is there any source code for this out on the web? Thanks to anyone who can help me out
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum