Enlarge image in to a new window

B

brelade

Please can you help. (Mike Koewler) http://www.valleycat.net/kelsey/

Found your site, which does exactly what i wish to acheive.

I would like to enlarge an image in to a new window with no scroll bars or
nav bars etc from an inserted photo as you have.

I have created a folder on my server where i have placed all my enlarged
photo's an made an absolute link, for the life of me i can not get either
links below to work from an inserted photo.

web address: http://breladecockerspaniels.co.uk/index.htm

Currently using code: Below an image.

<a target="_blank"
href="http://www.breladecockerspaniels.co.uk/images/cocker_spaniel_dogs/morg1.jpg">Enlarge image</a>

Currently using code: Below in an image, (not a photo).

javascript:Show('http://www.breladecockerspaniels.co.uk/','newwindow','')

If you can tell me how i can achieve what you have achieved.

Many thanks
 
D

DavidF

Mike is using Serif Web Plus so the way he does it might not work in
Publisher.

There are several ways you can do it with Publisher. Assuming that you don't
want to import your smaller images along with the code that would open a
window with the larger image, then you can apply the link to the smaller
image using the hotspot hyperlink.

Reference:
http://office.microsoft.com/en-us/publisher/HA011587451033.aspx

The first javascript code snippet is incorrect on the website. Use this
instead:

<script language="JavaScript" type="text/javascript">function Show(Url,
Name, Features) { window.open(Url, Name, Features); }</script>

Once you insert that into your page via the code fragment tool, you can
build your hyperlink. Click the Hotspot icon, and copy and paste the
following in the address:

javascript:Show('http://www.breladecockerspaniels.co.uk/images/cocker_spaniel_dogs/morg1.jpg','newwindow','')

Move the hotspot over the small image, and resize it accordingly. Do a web
page preview and click the image, and it should open "morg1.jpg' in a new
window.

Go back to the reference page and add the attributes you want to the basic
code snippet I provided to get a window sized and formatted as you prefer. I
would suggest building your links in NotePad or a separate text box in the
scratch area using Courier font. You are less likely to make errors than if
you try to edit the code in the address field of the hyperlink dialog.

DavidF
 

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