By quotientix on
Hi there,
I have one external link in my D6 Primary Links. How do I open it in a new window, or in other words: where to put the target="_blank"?
Many thanks!
Hi there,
I have one external link in my D6 Primary Links. How do I open it in a new window, or in other words: where to put the target="_blank"?
Many thanks!
Comments
Open http:// in new window?
Or maybe there's a possibility to open all links in drupal that begin with "http://" in new windows?
I am not sure how you could
I am not sure how you could do it using the drupal menu system. Maybe theres a module. But for a quick fix I would suggest you to make a block with the menu items instead. Then place the block where you like.
Ali Hammad Raza
WordsValley
The problem is, that I'm
The problem is, that I'm using the module nice-menu for my primary links. So I need a kind of generic solution.
The best possible solution would be to open all http://-links in new windows... Any ideas? thx!
Nobody who can help me out?
Nobody who can help me out?
Did nobody ever have that
Did nobody ever have that problem?
Push!
Push!
External Links or CSS?
The External Links module will make external links open in new windows. That'll do you, unless you don't want ALL external menus opening in new windows. (And I don't know whether the module plays nicely with your Nice Menus.)
If that's no good: Hmm, does CSS have any feature to make links open in new windows?
--------
Easy Drupal Admin Manual, Drupal questions, other stuff for the newbie: http://www.drupalace.com
Worked out fine
Drupalace, many thanks for your help, external Links Module worked perfectly and opens the external link in a new window now (even in nice menus).
CSS will support the feature in CSS3, but not yet!
Glad it worked! And thanks
Glad it worked! And thanks for the tip about CSS3.
--------
Easy Drupal Admin Manual, Drupal questions, other stuff for the newbie: http://www.drupalace.com
external icons?
rubaff - I have the same issue to solve and see that you got this module to fly for you. however, the notes say that it applies icons to external links. Is there a control to prevent that happening? Since my scenario is like yours - one primary link that goes offsite (to a blog), I don't want any icons to appear.
Yes, displaying an external
Yes, displaying an external link icon is purely optional when using the External Links module. You can set the option at admin/settings/extlink .
Yep!
The module worked perfectly. I just didn't want to go through the install motions if it didn't have the controls. But, it did. THanks for your input.
Excellent module. For this
Excellent module. For this requirement this module extlink is sufficient. Thanks a lot for the help.
bump
Okay, anyone know how I'd do this if the link is considered internal? For instance if I want the classifieds section of the site to open in a new window, on the same domain? It would seem like the "Include links matching the pattern:" option would work but I can't seem to figure it out.
CSS3
A little Googling turns up info on how to do so using CSS3, but I understand that CSS3 still isn't released. I don't offhand know of another way...
Anyone?