Erina
04-09-2003, 11:02 PM
Hey! I was wondering, is it possible to combine two codes? Like, what I think would be neat is a drop down menu, that when you click on one of the options, the link shows up in a pop-up window, or possibly a chrom-less window?
PikaBean32
04-10-2003, 12:23 AM
if your asking for the code to a drop down menu with targeting, its here:
http://www.lissaexplains.com/fun.shtml
if you make the target="_top" it will pop up in a new window, however if you want like an exact size pop im not sure if you can do that
Yup, you can do it. Something like this....
<script language="javascript">
//<!--
function popup()
{ window.open ("http://google.ca","popup","width=400, height=400, location=0, menubar=0, resizable=0, scrollbars=0, status=0, titlebar=1, toolbar=0") }
-->
</script>
<form name="gotolocation1" method="POST">
<select name="lissamenu1" size=1>
<option value="javascript:popup()">Google</option>
</select>
<input type="button" onClick="location = document.gotolocation1.lissamenu1.options [document.gotolocation1.lissamenu1.selectedIndex].value;" value="Go">
</form>