How do I make my links in my website open a new window instead of.

C

Campground

My website has many links to other sites. I want to have those links open a
new window instead of leaving my site. How do I do that?
 
R

Ronx

Right-click the link and in hyperlink properties set the target frame to
"New Page" (_blank)
 
R

Ravi Anguluri

If you are familiar HTML and javascript you would also use like

<a href="pr01.htm" onclick="javascript:
window.open('pr01.htm','windowname','toolbar=yes,status=yes,menubar=yes,scro
llbars=yes,resizable=yes')">press release</a>

Hope this Information helps.
Regards
Ravi
MSFT

This posting is provided "as is" with no warranties and confers no rights

--------------------
 
R

Ronx

That would not only open the page in a pop-up window, it would
simultaneously open the same page in the original browser.

<a href="pr01.htm" target="_blank" onclick="javascript:
window.open('pr01.htm','windowname','toolbar=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
return false">press release</a>

(all on one line) is better.
 

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