Open one link of Primary Links in new window?

rubaff - June 10, 2008 - 09:25

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!

Open http:// in new window?

rubaff - June 10, 2008 - 09:54

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

alihammad - June 10, 2008 - 10:22

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

rubaff - June 10, 2008 - 11:04

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?

rubaff - June 11, 2008 - 12:46

Nobody who can help me out?

Did nobody ever have that

rubaff - June 12, 2008 - 11:23

Did nobody ever have that problem?

Push!

rubaff - June 14, 2008 - 17:16

Push!

External Links or CSS?

Drupalace - June 16, 2008 - 15:21

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

rubaff - June 18, 2008 - 17:42

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

Drupalace - June 19, 2008 - 02:22

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

 
 

Drupal is a registered trademark of Dries Buytaert.