Re: open new page hyperlink picture

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Its still there. Here is a copy...and the poster said the fix worked.

DavidF


"DavidF" <Nope@xxxxxxxxxx> wrote in message
news:OaddAvUzGHA.4308@xxxxxxxxxxxxxxxxxxxxxxx
I would like to know if the "fix" I posted from the other user works, so
let me know. However, if you can't get it to work, here is an alternative.

Here is the code snippet I use, that you can possibly adapt to your site:

--------

<A target="_blank"
HREF="http://www.yoursite.com/images/yourfullsizeimage.jpg";><IMG
SRC=http://www.yoursite/images/yourthumbnailsizeimage.jpg"; ALT="what ever
you want text" border="0" width="120" height="60"></A>


---------------

You would have to create a subfolder on your site called "images" and move
your images there, or rewrite the links to where you want to keep the
images. Then upload both yourfullsizeimage.jpg and
yourthumbnailsizeimage.jpg to that folder. Change the names of the jpg
files to the name of your jpg and the file path. The Alt tag is optional,
and you can change the border, width and height etc. Copy and paste the
code snippet into the code fragment box using Ctrl + V to paste, and put
the code fragment box where you originally had the thumbnail on your Pub
page. Delete the original thumbnail, as it will now be imported.

I also use this approach to run the whole slide show. I create a separate
Publisher document, with custom sized pages just large enough for me to
insert the full size images and enough pages for all the images, then add
arrows or text with hyperlinks to the next picture, or last picture etc. I
upload the HTML to another folder on my site and create links to the
images as above, from my main page.

Its probably easier to understand this if you understand how to build a
site with multiple Publisher documents. For example I would not put your
Recent_Commercial folder within your index_files folder. I would create
the folder at the same level...but perhaps this is just confusing. Read
David Bartosik's article, and perhaps you will understand what I am trying
to say:
http://msmvps.com/blogs/dbartosik/archive/2006/01/16/81264.aspx

DavidF

"Mbraid96" <Mbraid96@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E916845D-B2E4-4ED5-861A-178769FEE455@xxxxxxxxxxxxxxxx
I've got my site up using Pub03 and I have my photo gallery all set up on
the
page but when I click on the thumbnail the picture opens in the same
(main)
IE browser window. I'd like to make the pictures open in a new window so
viewers don't have to click the back button to navigate to another
picture.
I've tried searching google for help with this and the only help I've
been
able to find was the following link:
http://office.microsoft.com/en-us/assistance/HA011587451033.aspx

I tried to use the ECMA Script code snipet from the link listed above to
get
my hyperlinks to open in the new window, but after updating my page all I
get
is the 'Error on Page' exclamation mark in Internet Explorer and nothing
opens. I can revert my site to the old style and the picture will open
fine
in the same window. This leads me to belive its a possible problem with
the
following code I've inserted in the HTML fragment box?
<script language="JavaScript" type="text/javascript"> <!-- function
Show(Url, Name, Features) { window.open(Url, Name, Features); } // -->
</script>


When hyperlinking my picture I use the following path and the
coresponding
image files are on my hosting server:

javascript:Show('http://www.dominionpools.com/index_files/Recent_Commercial/KB.jpg',
'newwindow',
'toolbar=no,scrollbars=yes,resizable=yes,height=250,width=250')


Thanks in advance to anyone that can help!




"Pratik" <Pratik@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DAEAA5FE-3A18-4541-9130-19E8F70F6568@xxxxxxxxxxxxxxxx
I think the post you're referring to got taken down or something. I
searched
for it and I can't find it.

"DavidF" wrote:

Ok, then the other post I referenced is more appropriate, because that is
what Mbraid96 is trying to do.

DavidF

"Pratik" <Pratik@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C4EF67A3-5140-4F42-99F2-DDC5EDE8142A@xxxxxxxxxxxxxxxx
No. I'm trying to make it so that if I click on a picture, it will open
up
a
new pageand link to a website I'm trying to link too. If I make sure
the
html
code doesn't overlap, then how will clicking on the picture open up the
new
page. Sorry for being unclear before
"DavidF" wrote:

You can not overlap your code fragment box with any other elements on
you
page. Resize or move it, and try it again.

You might also look at "Photo's won't open in a new browser window" by
Mbraid96, 8/30/06 and follow the link in that post.

DavidF

"Pratik" <Pratik@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3004E7AA-813F-42B9-B52C-81707546D6C9@xxxxxxxxxxxxxxxx
I tried David's way for pictures that I want to be linked, but it's
giving
me
an error when I try to preview the page. It says that I have
overlapping
objects that include an HTML code fragment. If it helps, I have
Publisher
2000. Any help would be very appreciated.








.


Quantcast