HTML Code for a FORM help please

B

BORG

OK its late and I probably can't see the bindingly obvious, but why
wont this work, its in a menu bar on the left panel of a frame set,
the main page is called 'main' I want the pages it links to to appear
in the 'main' frame but it wont work ???

<form name="form1">
<select name="menu1">
<option value="intro.htm" selected>MAIN PAGE</option>
<option value="Images/tattoo/tatpics.html"target="main">TATTOOs
1</option>
<option value="Images/tattoo/0002.html"target="main">TATTOOs
2</option>
<option value="Images/tattoo/0003.html"target="main">TATTOOs
3</option>
<option value="pool/pool.html"target="main">POOL ROOM</option>
</select>
<input type="button" name="Button1" value="Go"

onClick="MM_jumpMenuGo('menu1','parent',0)">
</form>
 
D

Disco

BORG said:
OK its late and I probably can't see the bindingly obvious, but why
wont this work, its in a menu bar on the left panel of a frame set,
the main page is called 'main' I want the pages it links to to appear
in the 'main' frame but it wont work ???

<form name="form1">

Just a guess, but do you need the target="main" as an attribute of the
<form> element??
<form name="form1" target="main">
 
B

BORG

Just a guess, but do you need the target="main" as an attribute of the
<form> element??
<form name="form1" target="main">


told you it was late :) the mistake was 'parent.frames[\'main\']',1)"



<form name="form1">
<select name="menu1">
<option value="intro.htm">MAIN PAGE</option>
<option value="Images/tattoo/tatpics.html">TATTOOs 1</option>
<option value="Images/tattoo/0002.html">TATTOOs 2</option>
<option value="Images/tattoo/0003.html">TATTOOs 3</option>
<option value="pool/pool.html">POOL HALL</option>
</select>
<input type="button" name="Button1" value="Go"
onClick="MM_jumpMenuGo('menu1','parent.frames[\'main\']',1)">
</form>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top