This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft Publisher > December 2005 > Hyperlink is TOO Long for Image Hyperlink Field





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Hyperlink is TOO Long for Image Hyperlink Field
judy

2005-12-14, 7:54 pm

Hi!

I am a new user of Publisher for creating a small website for our Training
Department.

Currently, I have an HTML Code Fragment in one of my Publisher Web Pages
with a VERY long "mailto" line that will send an e-mail to an address with a
predefined e-mail title and text fields in the message body. All of this is
in HTML and works fine.

Instead of clicking hyperlinked text, however, I want the users to click a
"Sign Me Up" button that I have created. I have inserted the image and
copied/pasted the long mailto into the hyperlink field (in Image Properties)
and the line is truncated and cut off because there is a maximum text
allowance in that field.

How can I do this? Can I somehow link the image and my complete HTML code
fragment?

Thanks for your help in advance, I am very new at this.
judy
David Bartosik [MSFT MVP]

2005-12-14, 7:54 pm

> Currently, I have an HTML Code Fragment in one of my Publisher Web Pages
> with a VERY long "mailto" line that will send an e-mail to an address with
> a
> predefined e-mail title and text fields in the message body. All of this
> is
> in HTML and works fine.
>



good, sounds like you coded it right.


> Instead of clicking hyperlinked text, however, I want the users to click a
> "Sign Me Up" button that I have created. I have inserted the image and
> copied/pasted the long mailto into the hyperlink field (in Image
> Properties)
> and the line is truncated and cut off because there is a maximum text
> allowance in that field.
>



oops, wrong, wrong, wrong. can't do that.


> How can I do this? Can I somehow link the image and my complete HTML code
> fragment?
>



you still have to use your custom html code snippet. you replace the text in
the link with the image tag - <img src="http://blahblahblah"/>
the string in the image tag is the url to the image you've uploaded to your
server. this is completely independent of Publisher.


David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com



judy

2005-12-15, 6:37 pm

It works! I am very unfamiliar with HTML, so it took some figuring out as to
where it should go in the long string. I had to do an img border = 0 because
I was getting a weird blue box on the outside but everything looks terrific
now.

Thanks for the helpful information!
judy

"David Bartosik [MSFT MVP]" wrote:

>
>
> good, sounds like you coded it right.
>
>
>
>
> oops, wrong, wrong, wrong. can't do that.
>
>
>
>
> you still have to use your custom html code snippet. you replace the text in
> the link with the image tag - <img src="http://blahblahblah"/>
> the string in the image tag is the url to the image you've uploaded to your
> server. this is completely independent of Publisher.
>
>
> David Bartosik - [MSFT MVP]
> www.publishermvps.com
> www.davidbartosik.com
>
>
>
>

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews