target=_blank

H

Herb Mann

How do you cause a hyperlink to a web site to open a new instance of IE? I
can manually add the line "target=_blank" in html, but each time I change
the web site in publisher, I would have to manually make that change again.
So, is there a way to do this from within Publisher?
 
D

DavidF

Its pretty straight forward. Go to Insert > HTML code fragment which opens
an Edit HTML code fragment dialog. Copy the code fragment I gave you, and
use Ctrl + V to paste it into the code fragment dialog. Change the
"domain.com" to the URL of the page you want to open in the new window, and
the "link text" to what you want the link to say on your page. Drag the code
fragment box to where you want it on your page, do a web page preview and
click the link to test.

Here is reference that gets into this and other hyperlink subjects:
http://office.microsoft.com/en-us/assistance/HP030805631033.aspx

Note if you choose to use the ECMAScript code approach, there is an error in
the code. Post back and I will try to find the correction for you.

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