Is there a way to make all hyperlinks to external sites open in a

G

Guest

I'd like to have external links open in a new window. I'm using FP 2003.

I've tried setting the whole page (of external inks) to "targetframe=new
window" but then my regular nav links launch in a new window tool. (And
those regular nav links are in a .dwt so I'd rather not change them to force
opening in the same frame.


Or, is there a way to select several hyperlinks and modify them all at the
same time.
 
R

Ronx

Assuming the navigation is in a non-editable region of the page, use
search and replace in Code view:
Search for <a href=
Replace with <a target="_blank" href=

Then Replace All

Since the Navigation comes from a DWT, when you move into Design View,
or save the page, FrontPage will check that you really want to change
the non-editable areas from the DWT: do not change. The navigation
should revert to how it was.

If the navigation is in an editable region, then use Find Next and
Replace buttons to change the links that need to be changed.

Do not forget to remove the <base target="_blank"> tag from the page
<head> section in Code view.
 
G

Guest

Thanks.

That gave me an idea for a way to make it work only for External links:

FIND: <a href="http:
REPLACE WITH: <a target="_blank" href="http:

Mr A
 

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