News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

menu button to target blank?

Started by Zirc, September 13, 2010, 04:52:26 PM

Previous topic - Next topic

Zirc

Okay I'm having a mental block here, I've got a menu subbutton that I want to target a new page/tab how would I go about doing that?

Here's what I have

'sub_buttons' => array(
'darthhater' => array(
'title' => $txt['hater'],
'href' => 'http://www.darthhater.com',
'show' => true,
'is_last' => true,
),
),


Zirc

NVM figured it out lol
needed to add the target in there


'darthhater' => array(
'title' => $txt['hater'],
'href' => 'http://www.darthhater.com',
'show' => true,
'is_last' => true,
'target' => '_blank',
),



Advertisement: