It is sometimes required to open menu link in new tab or in a new window. As of now it can achieved by overriding a menu function in template.php or by installing custom module (extlink).

I do like to have one more form element in this page admin/build/menu-customize/main-menu/add which lets the users to choose their desired target (new tab, new window) to open a menu link.

Comments

Anonymous’s picture

Does this feature really belong in core or should it stay in a custom module? I always prefer to have the option to open a link in new window/tab at the time I click it rather than have it pre-configured.

Anyway, if we were going to add this feature, we could use CSS3 target-new attribute, which allows links to also open in new tabs: http://www.w3.org/TR/2004/WD-css3-hyperlinks-20040224/#target0

amello’s picture

Version: 7.x-dev » 6.1

I believe this is an important feature to be part of the core....lots of users requests for opening hyperlink on new tab.

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.