Using a FORM MENU to target to another frame?

Soldato
Joined
18 Oct 2002
Posts
10,448
Location
Behind you... Naked!
I am gettign a little annoyed at this one.

I have a multiple framed webpage, and in one frame is a menu, in another is the main stuff right... Nothing special there!

Now, using standard HREFs, I can TARGET the HTML to go to any frame I want... Nothing special there either

Like this :-

<A HREF="http://www.forums.overclockers.co.uk" TARGET="FRAME">
OCUK
</A>

So, nice and simple


Now, what I want is a FORM MENU to do it instead

This is along the lines of what I am doing with this..


<form name="Pageselector" TARGET="_MAINFRAME">
<select size="1" name="FC" onchange="location.href=Pageselector.FC.options[selectedIndex].value" TARGET="_MAINFRAME">
<OPTION>MENU LIST</OPTION>
<option TARGET="_MAINFRAME" value="http://www.overclockers.co.uk/">OCUK</option>
<option TARGET="_MAINFRAME" value="http://www.anywhereelse.com">HELLOMUM</option>
<option target="_MAINFRAME" value="http://www.fatrakoon.co.uk/">FREE BEER</option>
</SELECT>
</FORM>

Can you see where I am at?



Another thought on this, is that I have links on my Desktop for my most used WebSites, and clicking on these links bring up FF as it should, and if I click on more, then new tabs open up which is just perfect!

Now, if I used this same type of code as a DesktopHTML, then the form brings up a webpage as my desktop, and really I want it to open up a fresh window instead!

I think that curing one of these issues will in fact cure the other??? Or at least thats my hope?

Anyone offer anythign on this?

By the way, I want to stick with frames as I find them easy to work with as I do my stuff in HTML code rather than use any programs, plus I need it to be compatible with as many browsers as possible, including ones from 20 year old computers.
 
Back
Top Bottom