twisted_dolly
07-12-2003, 11:13 AM
I need a popup window on my page. I have two links, which I both want a popup window for. As far as I know I would put this code next to my <head> tag:
<script language="javascript">
//<!--
function popup()
{ window.open ("YourURLgoesHere.html","popup"," width=400,height=400,loca
tion=0,menubar=0,resizabl
e=0,scrollbars=0,status=0
,titlebar=1,toolbar=0") }
-->
</script>
And this near my link:
<a href="http://myURLhere.html" target='_blank'> Text Here </a>
Am I right(?) (Probably not). On the first code it says I need a URL for the popup window, but I have two different links on the same page for a popup window. Would I just take that part out(?) I'm no good with HTML...can someone help me(?)
<script language="javascript">
//<!--
function popup()
{ window.open ("YourURLgoesHere.html","popup"," width=400,height=400,loca
tion=0,menubar=0,resizabl
e=0,scrollbars=0,status=0
,titlebar=1,toolbar=0") }
-->
</script>
And this near my link:
<a href="http://myURLhere.html" target='_blank'> Text Here </a>
Am I right(?) (Probably not). On the first code it says I need a URL for the popup window, but I have two different links on the same page for a popup window. Would I just take that part out(?) I'm no good with HTML...can someone help me(?)