Click to See Complete Forum and Search --> : Help with popups


JVBP
01-03-2003, 02:41 PM
I'm trying to add a popup on my personal website that will show a jpg image. I used the javascript generator and it works fine except instead of the text link I'd like to use a thumbnail of the image. How do I do that? Please bear in mind that I know next to nothing about writing Javascript so please keep it simple. Thanks to all for your help

jvbp

Charles
01-03-2003, 02:50 PM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Content-Script-Type" content="text/javascript">
<title>Example</title>
<p><a href="http://www.bettiepage.com/images/photos/whip/whip7.jpg" onclick="window.open(this.href,'child', 'height=300,width=200');return false"><img alt="Bettie With a Whip" src="http://www.bettiepage.com/images/photos/whip/whip7_a.jpg"></a></p>

JVBP
01-03-2003, 09:50 PM
Hi Charles,
Thanks for the help. It works great. I have one more request -
how can I incorporate that java script with an applet I'm using to refresh my webcam image every 15 seconds?

Once again, any help would be greatly appreciated!

JVBP