How to get Pub 2007 to mimic the TARGET="_BLANK"

P

pc

How do I get a link inside Publisher 2007 to mimic the TARGET=â€_BLANKâ€
functionality when Publishing to the Web? I need a link to open in a new
browser window. I’ve seen MS Doc HA011587451033.aspx but wonder if there’s
an easier solution.
 
D

DavidF

There is no built-in ability to do this in Publisher. That article:
http://office.microsoft.com/en-us/publisher/HA011587451033.aspx
describes two ways, that aren't that hard once you actually play with the
methods. I found it easier to use the html method at first, but eventually
found the ECMAScript code approach more versatile, as I could insert that
hyperlink into a normal text box with other text.

And if you choose to use the ECMAScript code approach note that the first
javascript code snippet is incorrect on the website. Use this instead:

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

Then if I were you, I would create the hyperlinks that you are going to
insert in NotePad, and copy and paste when you insert in the hyperlink
address field (use Ctrl + V). Once you get one link to work correctly, then
you have a "template" in the NotePad text file that you can just copy and
paste other URLs into, and paste the javascript into Pub.

Part of the fun of web design is learning how to do different things. Just
jump in and do it, and you will gain some satisfaction when you are
successful. Its always hardest the first time...

DavidF
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top