x sinful angel
03-09-2003, 11:34 PM
im tryin to make a drop down menu with the button to click..and have that go to a pop-up window..i did everything like i was told cause i asked for help wit this earlier..but for some reason when you go to the drop down select what you want and click the button..nothing happens..nada..even though i didnt create the pages yet..i should still come up with a 400x400 pop-up window saying the page doesnt exist right? here is the html thats in my page..it might help..thanks for readin
<html>
<scrolling="NO">
<LINK REL=stylesheet HREF="color.css" TYPE="text/css">
<script language="JavaScript">
<!--
function girl() { window.open("girl.html","girl"," height=400,width=400,dire
ctory=no,toolbar=no,scrol
lbars=yes,resizable=no,lo
cation=no"); }
function links() { window.open("links.html","links"," height=400,width=400,dire
ctory=no,toolbar=no,scrol
lbars=yes,resizable=no,lo
cation=no"); }
function friends() { window.open("friends.html","friends"," height=400,width=400,dire
ctory=no,toolbar=no,scrol
lbars=yes,resizable=no,lo
cation=no"); }
function entries() { window.open("entries.html","entries"," height=400,width=400,dire
ctory=no,toolbar=no,scrol
lbars=yes,resizable=no,lo
cation=no"); }
// -->
</script>
<div align=center>
<form name="gotolocation1" method="POST">
<select name="navigation" size=1
style="font-family: tahoma"
style="color: #f8f8ff"
style="border: none"
style="font-size: 10"
style="background: #000000">
<option value="">pick one</option>
<option value=""></option>
<option value="javascript:girl()">know me</option>
<option value="javascript:links()">leave me</option>
<option value="javascript:friends()">love me</option>
<option value="javascript:entries()">read me</option>
</select>
<input type="button" style="font-family: tahoma"
style="color: #f8f8ff"
style="font-size: 10"
style="background: #000000" onClick="location =
document.gotolocation1.navigation.options
[document.gotolocation1.navigation.selectedIndex].value;"
value="click">
</form>
<body>
</body>
</html>
<html>
<scrolling="NO">
<LINK REL=stylesheet HREF="color.css" TYPE="text/css">
<script language="JavaScript">
<!--
function girl() { window.open("girl.html","girl"," height=400,width=400,dire
ctory=no,toolbar=no,scrol
lbars=yes,resizable=no,lo
cation=no"); }
function links() { window.open("links.html","links"," height=400,width=400,dire
ctory=no,toolbar=no,scrol
lbars=yes,resizable=no,lo
cation=no"); }
function friends() { window.open("friends.html","friends"," height=400,width=400,dire
ctory=no,toolbar=no,scrol
lbars=yes,resizable=no,lo
cation=no"); }
function entries() { window.open("entries.html","entries"," height=400,width=400,dire
ctory=no,toolbar=no,scrol
lbars=yes,resizable=no,lo
cation=no"); }
// -->
</script>
<div align=center>
<form name="gotolocation1" method="POST">
<select name="navigation" size=1
style="font-family: tahoma"
style="color: #f8f8ff"
style="border: none"
style="font-size: 10"
style="background: #000000">
<option value="">pick one</option>
<option value=""></option>
<option value="javascript:girl()">know me</option>
<option value="javascript:links()">leave me</option>
<option value="javascript:friends()">love me</option>
<option value="javascript:entries()">read me</option>
</select>
<input type="button" style="font-family: tahoma"
style="color: #f8f8ff"
style="font-size: 10"
style="background: #000000" onClick="location =
document.gotolocation1.navigation.options
[document.gotolocation1.navigation.selectedIndex].value;"
value="click">
</form>
<body>
</body>
</html>