Thumbnail opening to image in popup screen

L

LG

I just successfully followed the instructions given by Trevor Lawrence to
Lisa A in her question entitled "Image Galleries" dated 11/21/2007... thanks,
Trevor! Now I'm wondering if it is possible to get around the popup blocker
problem - without getting too complicated. Is it possible to reprogram the
thumbnail feature to have the image open in a smaller new window rather than
a full page new window without having the popup blocker enter into it?
Thanks,
Lynda
 
T

Thomas A. Rowe

In general, popup blockers by default only block popups the open without a user having to click a
link.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
T

Trevor Lawrence

Thomas A. Rowe said:
In general, popup blockers by default only block popups the open without a
user having to click a link.

Thankfully I haven't deleted the code I set up for Lisa.

This is the important bit
<p align="center">
<a href='' target="_self"
onmouseover="spawnJimcoPopup
( 'http://www.gocafeconcepts.com/mascotmolds/mold1b.jpg', '_blank',
'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no'
, 300, 375, 'center', '0', 'pixel') ;return false;">
<img border="0" src="mascotmolds/mold1a.jpg" width="200" height="155">
</a></p>

As you can see it uses spawnJimcoPopup invoked by "onmouseover=" When I
tested it just now, it opens a smaller window (300*375). If this window is
changed to a smaller size, the image is smaller, but if it is made larger
than the image, there is white space around the image.

I have pop-up blocker turned on in IE7 and the window does still open But
this code also works with "onclick=" so if the problem is that pop-up
blockers block "onmouseover=", using onclick=" should resolve the problem
 
L

LG

Trevor Lawrence said:
this code also works with "onclick=" so if the problem is that pop-up
blockers block "onmouseover=", using onclick=" should resolve the problem

Thanks Trevor - that worked. You make it so easy!
Lynda
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top