View Full Version : Popup Images


GaLxEdAnCr
03-01-2003, 12:01 AM
How do you make a link popup with just an image? What I mean is, I don't want the white margins and stuff. I just want the image. And I would rather not create a separate page for each image and position it in the top left. That'd be too tedious. Any suggestions? Thanks. =)

joshg678
03-01-2003, 01:51 AM
Below is a good code for useing what you need. I hope


<a href="#1" name="1" onclick="window.open( 'turnover_1.jpg', 'X', 'width=500,height=390');"><img src="turnover_1.jpg" height=210 width=280 align=left></a>

GaLxEdAnCr
03-01-2003, 03:01 AM
Still seeing the little white margins... =/

joshg678
03-01-2003, 03:13 AM
Here is another one

<HEAD>

<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>

</head>

<BODY>
<a href="javascript:popup()"><img src="blah.gif" border=0 width="40" height="40" alt="your image description here"></a>
</body>



an other one


<a href="javascript:;" onclick='window.open("/blah.gif","blah.gif","width=693,height=500,menubar=no,resizable=no,scrol lbars=no,toolbar=no,top=100,left=100");'>img src="blah.gif" border=0 width="40" height="40" alt="your image description here"></a>

Hope this helps

Alcy
03-01-2003, 04:18 AM
http://www.lissaexplains.com/forum/showthread.php?s=&threadid=30340