Click to See Complete Forum and Search --> : pull-down menu help


dutchie15
04-25-2004, 08:31 AM
hi,

I need help with my pull down menu:


<FORM name="guideform">
<SELECT name="guidelinks" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<OPTION SELECTED value="javascript:void(0)">--Choose--
<OPTION value="/info/info.html">Info
<OPTION value="http://place.com/page2.htm">Page 2
</SELECT>
</FORM>


how can I make it open the link in another frame (it's now in the iframe at the bottom of my page and I want to open the link in the iframe in the middle of the screen, the iframe in the middle of the screen is named: "frame".

can anyone help me with this problem?

Pittimann
04-25-2004, 08:44 AM
Hi!

Just change your select tag to something like this:
<SELECT name="guidelinks" onChange="parent.frames.frame.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">

Cheers - Pit