How to open a photo-gallery in a new window?

  • Thread starter Thread starter yksnirk
  • Start date Start date
Y

yksnirk

I'm updating my site using Frontpage 2002 (www.g4glass.com.au), and have
added a couple of photo-galleries. How can I get the photo's to open in a new
window when a viewer clicks on them, instead of them having to click back
after viewing each picture?

Thanks
 
Hi
If you cannot edit this within the setup parameters of the gallery script
you used, or if you created the gallery manually then you will have to edit
each picture <a> tag as follows

In frontpage
right click the image and select "hyperlink properties" then select "target
properties" and choose "new window" click ok. repeat this for all your
gallery links.

Or manually
add this code to the a tags for each image as follows
target="_blank">



<a href="images/Broadline.jpg" target="_blank">
<img width="100" vspace="10" hspace="10" height="99" border="0"
title="Broadline" src="photogallery/photo1728/Broadline.jpg"/>
</a>

Paul M
 
Back
Top