HighDots Forums  

HELP: Open images in Pop-up

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss HELP: Open images in Pop-up in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Joker
 
Posts: n/a

Default HELP: Open images in Pop-up - 07-05-2004 , 11:33 AM






Hello,

I'm buidling a friends-website. I have bunch of pictures. I used the
javascript to open the images in real size in a pop-up.


<script language="JavaScript">
<!--
function nph_open_window(url, name, feature)
{
window.open(url, name, feature);
}
// -->
</script>


And I call it with:
<a href="javascript:nph_open_window('Foto/heid/heid10.jpg', 'heid10',
'width=550,height=400,toolbar=no,menubar=no,status =no,scrollbars=no,resizabl
e=no')"> <img src="Foto/heid/heid10l.jpg" width="102" height="72"
border="0"></a>


BUT when the pop-up opens, I see the LEFT and TOP border/margin. So it
doesn't fit exactly in the pop-up.

Can someone help me to fix it ?


Thanks !




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.