View Full Version : Confused(?)


twisted_dolly
07-12-2003, 09:25 AM
In the code for pop up windows (<a href="javascript:popup()"> Text Here</a>

Where do I add the URL(?) 'Cause if I have a popup window I need a page that will pop up, well where do I put the link to that page(?) Thanks.

twisted_dolly
07-12-2003, 10:00 AM
Don't worry about that (above) I've sorted that now. I have the code:
<a href="http://www.thelostchild.150m.com/about.html" target='_blank'>

Which works perfectly, however I want to resize the popup window to 400, width and height. Where would I add the code in(?) I've tried different things but nothing seems to work. Thanks.

Lemon Squash
07-12-2003, 10:01 AM
<script language="javascript">
//<!--
function popup()
{ window.open ("YourURLgoesHere.html","popup","width=400,height=400,location=0,menubar=0,resizabl e=0,scrollbars=0,status=0,titlebar=1,toolbar=0") }
-->
</script>

Put that into your <head> tags and change the width height e.g. to what you want.