drop down menu

windows

Guest
Hi people, first post here, <br />
<br />
I have 2 drop down menu's that are placed in an iframe (workiframe.html) which is placed on the main page (work.html) on the work page there is an additional iframe (workiframe2.html) which i want to use as the window for loading the links from the drop down menu (workiiframe2.html)<br />
<br />
I know this sounds confusing but when select a link from the drop down menu, it loads within the iframe it is in, but i want it to load into a different one. i think it has something to do with the select onchange="window.location.href = <!-- m --><a class="postlink" href="http://www.htmlforums.com/archive/index.php/this.options">http://www.htmlforums.com/archive/index ... is.options</a><!-- m -->[this.selectedIndex] tag here's the code for the menu:<br />
<br />
<br />
<FORM action="http://www.clearworld.co.uk/" METHOD=GET><br />
<br />
<div align="left"><br />
<br />
<SELECT name=select onchange="window.location.href = <!-- m --><a class="postlink" href="http://www.htmlforums.com/archive/index.php/this.options">http://www.htmlforums.com/archive/index ... is.options</a><!-- m -->[this.selectedIndex].value" select style="color:#666666; background-color:#ffffff"><br />
<br />
<OPTION VALUE="home.html">screen <br />
<br />
<option value="portfolio/touch/touch.html" target="workframe2">coming soon</option><br />
</select><br />
<br />
<NOSCRIPT><br />
<br />
<input name="submit" type=submit value="Go"><br />
<br />
</NOSCRIPT><br />
<br />
</div><br />
<br />
</FORM><br />
<br />
<br />
Thanks People<br />
<br />
Lee<!--content-->SELECT name=select onchange="document.frames.iframe1.location.href = <!-- m --><a class="postlink" href="http://www.htmlforums.com/archive/index.php/this.options">http://www.htmlforums.com/archive/index ... is.options</a><!-- m --><br />
<br />
But don't forget to give your iframes a name.<br />
Then call that name, in the example iframe1<br />
<br />
:rocker:<!--content-->
 
Back
Top