Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE DREAMWEAVER: HomeDreamweaver ForumDreamweaver TutorialsFAQAdobe FlashWeb Design

Make All external Links on Site Pop-Up Windows

Cow Forums : Adobe Dreamweaver

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>
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

Respond to this post   •   Return to posts index

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.

Respond to this post   •   Return to posts index

Re: Make All external Links on Site Pop-Up Windows
by Austin Zago on Jul 5, 2009 at 5:46:11 am

Thanks! This worked great

Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]