How do I create a hyperlink that opens in a different window?

L

LBV

I am creating a web site with Microsoft Publisher and I need to include
hyperlinks (to other web sites) that open up in a different window. I want my
users to be able to browse the recommended web sites as they please, without
having to use the "Back" button to get back to my web site. How do I do that?
 
J

Joe

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

Remco / webdesign4all.nl

Are there any posts without david popping up with a faq.html here or there?

http://www.webdesign4all.nl

David Bartosik said:
Read the thread that preceded yours.

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

LBV said:
I am creating a web site with Microsoft Publisher and I need to include
hyperlinks (to other web sites) that open up in a different window. I want
my
users to be able to browse the recommended web sites as they please,
without
having to use the "Back" button to get back to my web site. How do I do
that?
 
D

DavidF

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/publisher/HP030805631033.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
 
Top