Make All external Links on Site Pop-Up Windows
by Austin Zago
on
Jul 3, 2009 at 8:37:11 pm
Hello,
I have a site that needs Pop-Up windows on every external link. Unfortunately I have a lot of external links and it would be a pain to manually set all of them, is there a more efficient way to do this with JavaScript or such? Thanks
Re: Make All external Links on Site Pop-Up Windows by Fernando Mol on Jul 4, 2009 at 3:09:34 am
All I can think is using the Find and Replace tool.
Replace this code:
">
for this:
" target="_blank">
But you'll need to look at each change so you don't accidentally mess with a named div or class.
Anyway, it's better than hand code all the links. The find and replace tool is very powerful, you can use it in a selection, all your document or all of your site. Are you familiar with this tool? Look for it in the Edit menu.