Click to See Complete Forum and Search --> : dropdown meny problem


pebj
03-13-2004, 01:36 PM
I've made a mainframe with 3 iframes. top, left and right iframe.

I put in a dropdown meny in the left iframe and I wan't the links to open up in the right iframe. But it does'nt work. When I try any of the links in the meny a square pops up that says that there is something wrong with the page.

I can get the links open up in the same iframe as the dropdown meny, left iframe.

I don't know what to do so that the links would open up in the right frame.

I would appreciate if someone could help me out :)

(I'm using Microsoft Frontpage to make the webpage)

Here is the javascript I'm using.

<SELECT NAME="meny" onChange="self.location.href=this.options[this.selectedIndex].value;">
<OPTION VALUE="page1.htm">page 1
<OPTION VALUE="page2.htm">page 2
<OPTION VALUE="page4.htm">page 4
<OPTION VALUE="page5.htm">page 5
<OPTION VALUE="page6.htm">page 6
</SELECT>
</FORM>



I hope this makes sense:)

pebj
03-14-2004, 09:00 AM
anyone that knows what I should do?

steelersfan88
03-14-2004, 09:02 AM
Not sure if this will work, but you could try changing:onChange="self.location.href=this.options[this.selectedIndex].value;">toonChange="parent.frames['frame name or number'].location.href=this.options[this.selectedIndex].value;">Something like that should do!

pebj
03-14-2004, 09:10 AM
thanks but it doesn't work =(