This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft Publisher > January 2007 > RE: How do I create a hyperlink that opens in a different window?





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 RE: How do I create a hyperlink that opens in a different window?
feskridge

2007-01-27, 10:40 pm

"Joe" wrote:

> <a href="url" target="window_name" onclick="function(url, window_name,
> parameters)" onkeypress="function(url, window_name, parameters)">New page</a>
>


Thank you for the reply. I'm afraid I'm not sure how I would include that
code (or any code) in Publisher.

Perhaps I can restate the question in a concrete manner. I want to apply a
hyperlink to text or a graphic. I select said object and then click Insert >
Hyperlink. The Insert Hyperlink dialog box appears. I can type the
destination of the link in the field at the bottom, but I don't seem to have
a way to specify that the link should open in a new window. Normally, I would
add target="_blank" to the address, but that does not work in the resulting
document from Publisher. So the question is, how do I enter a hyperlink
address and specify that it should open a new window?

Thanks so much.

Frank Eskridge
Marietta, GA
DavidF

2007-01-27, 10:40 pm

You can reference the section about opening your page in a new window down
the page: Troubleshoot hyperlinks in Publisher:
http://office.microsoft.com/en-us/p...0805631033.aspx

It sounds like using the ECMAScript code method would work best for you. If
the code doesn't work corrrectly for you, then I would suggest changing the
first code snippet from:

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

To:

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

I also would suggest that you write the hyperlinks in NotePad, copy and use
Ctrl V to paste in the address field of the hyperlink dialog.

DavidF

"feskridge" <feskridge@discussions.microsoft.com> wrote in message
news:CB61F8CB-70BE-44F4-9186-5B7353F4364F@microsoft.com...
> "Joe" wrote:
>
>
> Thank you for the reply. I'm afraid I'm not sure how I would include that
> code (or any code) in Publisher.
>
> Perhaps I can restate the question in a concrete manner. I want to apply a
> hyperlink to text or a graphic. I select said object and then click Insert
> Hyperlink. The Insert Hyperlink dialog box appears. I can type the
> destination of the link in the field at the bottom, but I don't seem to
> have
> a way to specify that the link should open in a new window. Normally, I
> would
> add target="_blank" to the address, but that does not work in the
> resulting
> document from Publisher. So the question is, how do I enter a hyperlink
> address and specify that it should open a new window?
>
> Thanks so much.
>
> Frank Eskridge
> Marietta, GA



Sponsored Links


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