Open a new window when clicking on a link

S

Sheila

Is there any way i can set up a pubisher web link to open in a different
window? (pub 2007)

Right now it opens in the same window and I have to press the back arrow to
get back to the my web page.
 
S

Spike

Sheila

Using the insert html code fragment feature, insert the following snippet
somewhere on your page where it won't be in the way:

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

(above code is all on one line)

Then insert text or image into your page, right click, insert hyperlink, and
paste the following in the hyperlink dialog:

javascript:Show('http://www.mydomain.com/','')

Spike
 

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