Click to See Complete Forum and Search --> : jump menus
Maneesha99
12-19-2003, 10:13 PM
Hey everyone. This is my first post, and I'm hoping someone out there will help me out!
Anyways, I'm developing an academic/fun website for my class using frames. I'd like the capacity to have a drop down menu in one frame that controls the content in another frame. I think is sometimes called a jump menu. I know that there are scripts that would allow me to have the form open up new pages in a new window altogether, but that's not what I want. Any ideas?
Maneesha99
12-19-2003, 10:15 PM
Oh yeah, I forgot to add that this is also my first time using forms. I'm pretty good with HTML (w/o WYSIWYG) and CSS, but a novice to forms.
Paul Jr
12-19-2003, 10:15 PM
I actually ran into this today while searching for something else. See if it helps.
http://www.pageresource.com/jscript/jdropbox.htm
fredmv
12-20-2003, 12:08 AM
We would first need to see the structure of your frameset to accurately help you out with this. Do you have a link to the page you're working on possibly?
Khalid Ali
12-20-2003, 12:50 AM
here is how you can point to a document in a frame from another frame
parent.frameName.document.formName.fieldName.value
Maneesha99
12-20-2003, 07:19 PM
Hey there. The website is http://www.med.unc.edu/wrkunits/orgs/lab502/2007/
I'm hoping to have the jump menu in the top frame and have it control the content in the bottom window. Thanks!
Originally posted by fredmv
We would first need to see the structure of your frameset to accurately help you out with this. Do you have a link to the page you're working on possibly?
fredmv
12-20-2003, 09:25 PM
<select onchange="if(selectedIndex != 0) parent.frames[1].location = options[selectedIndex].value;">
<option>< select an option ></option>
<option value="http://www.google.com/">Google</option>
<option value="http://www.hotbot.com/">Hotbot</option>
<option value="http://www.yahoo.com/">Yahoo</option>
</select>