View Full Version : Pop-ups


Libra
07-23-2004, 03:44 PM
For my site, I want to have all of the pictures open up in individual pop-ups, and I used the codes from this site, but the only thing is when the pics open up there's a little while border around it. It's not even around aroudn the whole picture. Anyways, I was wondering if anyone knows how I can get rid of that.

-Thanks I really appreciate it

toolman
07-23-2004, 04:06 PM
Can you give us the code?

tessa
07-23-2004, 04:39 PM
Are you linking to the images, or are the images on an HTML page?

If you are just linking to the image, then the browser has a certain margin that it inserts by default.

I would recommend putting them on an HTML page and putting topmargin="0" leftmargin="0" in the body tag, if you haven't already.

Libra
07-23-2004, 05:48 PM
I just tried that, but it takes away the margin on the page that has the thumbnails on it. this is the code that I have between the <head> </head> tags:

<script language="javascript" type="text/javascript">
//<!--
function popup()
{ window.open ("http://www.digitalupload.com/datapath/0c9e63b6cec0627182663ae8feb204cb/8408_p156935.jpg","banners","width=525,height=347,location=0,menubar=0,resizabl e=0,scrollbars=0,status=0,titlebar=1,toolbar=0") }
-->
</script>

this is in the body:
<a href="javascript:popup()"><img src="http://1uneekflava.tripod.com/uthumbnail.jpg " border=0 width="84" height="130" alt="Usher"></a>

salomeyasobko
07-23-2004, 06:19 PM
make sure the size of the popup window is the size of the image.

Libra
07-23-2004, 06:58 PM
It is the size of the image. The exact size. I even tried to make the window smaller, but that didn't do anything.