Problem with drop down Menu form

liunx

Guest
Hello everyone,<br />
<br />
I have a simple problem that I'm not sure enough how to fix. The code below is for a drop down menu that consists of links used to navigate the webpage. <br />
<br />
Two main problems are occuring; the first simply is that the "go" button is no longer functioning, instead as soon as the name is clicked the page changes. While this is fine, it seems the first on the list "humans" doesn't want to open at all upon clicking it. I would be happy with a solution where the go button is functionable again, or is all together taken out. <br />
<br />
The second problem is my target tag. The page this code is on consists of a inline frame in which I'd like all the subpages to appear, however upon clicking the link it takes you to the page itself, and does not call it into the frame! <br />
<br />
Below this code I'll add the entire page's code so you may see the inline frame other other Html set up. <br />
<br />
<br />
<form><select name=select size="1" <br />
style="background-color:000000;<br />
font size:9pt; font-family:arial;<br />
color:ffffff"<br />
onchange="location.href=http://www.webdeveloper.com/forum/archive/index.php/<br />
(form.select.options[form.select.selectedIndex].value)"><br />
<option value="humans.htm" target="A">Humans</option><br />
<option value="gargoyles.htm" target="A">Gargoyles</option><br />
<option value="lycanthropes.htm" target="A">Lycanthropes</option><br />
<option value="shades.htm" target="A">Shades</option><br />
<option value="vampires.htm" target="A">Vampires</option><br />
<option value="rules.htm" target="A">SL Rules</option><br />
<option value="application.htm" target="A">Application</option><br />
<option value="formgroup.htm" target="A">Group Form</option><br />
<option value="roster.htm" target="A">Roster</option><br />
<option value="MemberRooms.htm" target="A">Public Rooms</option><br />
</select><br />
<input type="button" onClick="location =<br />
document.gotolocation1.lissamenu1.options<br />
[document.gotolocation1.lissamenu1.selectedIndex].value;"<br />
value="Go"><br />
</form></div><br />
<br />
_____________________________<br />
<br />
Entire Page:<br />
<br />
<title>World Domination // v. 2.o</title><br />
<br />
<META http-equiv="Page-Enter" CONTENT="RevealTrans(Duration=4,Transition=12)"><br />
<br />
<body bgcolor=#000000 background="bg1.jpg"><br />
<style><br />
a:link{color:#FFFFFF; font-size: 11px; font-family: arial;}<br />
a:visited{color:#FFFFFF; font-size: 11px; font-family: arial;}<br />
a:active{color:#808080; font-size: 11px; font-family: arial;}<br />
a:hover{color:#808080; font-size: 11px; font-family: arial; filter: fade;}<br />
</style><br />
<br />
<center><br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"banner.jpg"><br><br />
<iframe src=http://www.webdeveloper.com/forum/archive/index.php/"intro.htm" width="60%" height="60%" name="A" frameborder="0"></iframe><br />
<br />
<br />
<DIV align=center><br />
<br />
<form><select name=select size="1" <br />
style="background-color:000000;<br />
font size:9pt; font-family:arial;<br />
color:ffffff"<br />
onchange="location.href=http://www.webdeveloper.com/forum/archive/index.php/<br />
(form.select.options[form.select.selectedIndex].value)"><br />
<option value="humans.htm" target="A">Humans</option><br />
<option value="gargoyles.htm" target="A">Gargoyles</option><br />
<option value="lycanthropes.htm" target="A">Lycanthropes</option><br />
<option value="shades.htm" target="A">Shades</option><br />
<option value="vampires.htm" target="A">Vampires</option><br />
<option value="rules.htm" target="A">SL Rules</option><br />
<option value="application.htm" target="A">Application</option><br />
<option value="formgroup.htm" target="A">Group Form</option><br />
<option value="roster.htm" target="A">Roster</option><br />
<option value="MemberRooms.htm" target="A">Public Rooms</option><br />
</select><br />
<input type="button" onClick="location =<br />
document.gotolocation1.lissamenu1.options<br />
[document.gotolocation1.lissamenu1.selectedIndex].value;"<br />
value="Go"><br />
</form></div><br />
<br />
<br />
<embed src=http://www.webdeveloper.com/forum/archive/index.php/"ghost.mid" width=25 height=25 autostart=true repeat=true loop=true><br><br />
<font color="black"><br />
<B>I</b><i> n c a r n a </i> <b>W </b><i>o r k s</i><BR><br />
<i>s i n c e </i> <b>2 0 0 0</b></div></font></body><br />
<br />
If you'd like to look at the page itself the URL is below<br />
<br />
<!-- m --><a class="postlink" href="http://www.freewebs.com/emmster/testing.htm">http://www.freewebs.com/emmster/testing.htm</a><!-- m --><br />
<br />
please note that its still under construction >.< obviously! <br />
<br />
Thank you for your time in reviewing this, its greatly appreciated.<br />
<br />
Sincerely,<br />
Fading Image<!--content-->I've eliminated the "Go" button within the code, and found a trick way to ensure that each link is click-able. Mainly I just put a false first option that isn't needed for the purpose of the webpage! So now only one problem remains for this code (at least to make it functionable the way I'd like) and that is for the Target command to work! The pages are still not being called within the frame. The new code is below:<br />
<br />
<DIV align=center><br />
<br />
<form><select name=select size="1" <br />
style="background-color:000000;<br />
font size:9pt; font-family:arial;<br />
color:ff0000"<br />
onchange="location.href =http://www.webdeveloper.com/forum/archive/index.php/<br />
(form.select.options[form.select.selectedIndex].value)" ><br />
<option class="highlight" value="" Target="A">Select Page</option><br />
<option class="highlight" value="intro.htm" Target="A">Introduction</option><br />
<option class="highlight" value="humans.htm" Target="A">Humans</option><br />
<option class="highlight" value="gargoyles.htm" Target="A">Gargoyles</option><br />
<option class="highlight" value="lycanthropes.htm" Target="A">Lycanthropes</option><br />
<option class="highlight" value="shades.htm" Target="A">Shades</option><br />
<option class="highlight" value="vampires.htm" Target="A">Vampires</option><br />
<option class="highlight" value="rules.htm" Target="A">SL Rules</option><br />
<option class="highlight" value="application.htm" Target="A">Application</option><br />
<option class="highlight" value="formgroup.htm" Target="A">Group Form</option><br />
<option class="highlight" value="roster.htm" Target="A">Roster</option><br />
<option class="highlight" value="MemberRooms.htm" target="A">Public Rooms</option><br />
</select><br />
<br />
</form></div><br />
<br />
I've tried to move the "Target="A" tag to other places within the code >.>;; but so far its either had no affect, or its disabled the code all together. The places I attempted were:<br />
<br />
<form><select name=select size="1" <br />
style="background-color:000000;<br />
font size:9pt; font-family:arial;<br />
color:ff0000"<br />
onchange="location.href =http://www.webdeveloper.com/forum/archive/index.php/<br />
(form.select.options[form.select.selectedIndex].value)" Target="A" ><br />
<br />
and <br />
<br />
<form><select name=select size="1" <br />
style="background-color:000000;<br />
font size:9pt; font-family:arial;<br />
color:ff0000"<br />
onchange="location.href Target="A"=<br />
(form.select.options[form.select.selectedIndex].value)" ><br />
<br />
Thanks for looking! hope to hear something possitive soon >.<<br />
<br />
Merci!<br />
<br />
Fading Image<!--content-->
 
Back
Top