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
Re: Hyperlink is TOO Long for Image Hyperlink Field
David
Bartosik
[MSFT MVP]
  12-15-05 - 12:54 AM
> 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.comwww.davidbartosik.com
Re: Hyperlink is TOO Long for Image Hyperlink Field
judy
  12-15-05 - 11: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 you
r
> server. this is completely independent of Publisher.
>
>
> David Bartosik - [MSFT MVP]
> www.publishermvps.com
> www.davidbartosik.com
>
>
>
>