View Full Version : pop up help: window


sugarberrie87
07-13-2003, 01:57 AM
ok i am using image mapping so when i click to enter, it opens a new window with the width 576 and the height is 432. everything works perfectly but in the pop up window the website layout is off and not all the way in the window. what am i doing wrong? please help..thanx! site url : http://www.geocities.com/cracklecafe/rose.htm

code:

<head>
<script language="javascript">
//<!--
function popup()
{ window.open ("http://geocities.com/cracklecafe/index.htm", "popup", "width=576, height=432, location=0, menubar=0, resizable=0, scrollbars=0, status=0, titlebar=1, toolbar=0") }
-->
</script>
</head>

<body>

<IMG NAME="rose0" SRC="rose.jpeg" WIDTH="470" HEIGHT="328" BORDER="0" USEMAP="#rose">

<MAP NAME="rose">
<AREA SHAPE="rect" COORDS="234,246,338,284" HREF="javascript:popup();" ALT="Enter Paree..." TITLE="Voila! || La tres Magnefique Paris">
</MAP>

</body>

kittycat
07-13-2003, 02:13 AM
To the page inside the popup, add this to the <body> tag and see if it helps
topmargin="0" leftmargin="0"

sugarberrie87
07-13-2003, 02:19 AM
where in my body tag should i put it?

<BODY>

<IMG NAME="paris0" SRC="paris.jpeg" WIDTH="576" HEIGHT="432" BORDER="0" USEMAP="#paris">

<MAP NAME="paris">
<AREA SHAPE="rect" COORDS="17,347,48,397" HREF="http://geocities.com/cracklecafe/me.htm" TARGET="inlineframe>
<AREA SHAPE="rect" COORDS="17,283,48,338" HREF="http://geocities.com/cracklecafe/you.htm" TARGET="inlineframe">
<AREA SHAPE="rect" COORDS="12,162,50,274" HREF="http://geocities.com/cracklecafe/links.htm" TARGET="inlineframe">
</MAP>

</BODY>

kittycat
07-13-2003, 02:51 AM
In the actual tag, so it's <body topmargin="0" leftmargin="0">

sugarberrie87
07-13-2003, 02:58 AM
Ohhh ok..thanx!! it worked!! hehe ;D