The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
New Window
I need help with this.
https://vborg.vbsupport.ru/showthrea...ht=navbar+tabs It seem unsupported and hopefully someone can help me with this. Objective: Make it open a new window. PHP Code:
|
#2
|
||||
|
||||
just add target="_blank" to the <a> tags, like:
Code:
<a href="'. $vbulletin->options['ctab_redirect_url'] .'" class="navtab" target="_blank">'. $vbulletin->options['ctab_name'] .'</a> |
#3
|
|||
|
|||
Imma try that. I kept adding a target"_blank after the $vbulletin->options['ctab_name']
This is how the code is suppose to be written just to get it working or else..it creates duplicate or it doesn't work at all. PHP Code:
|
#4
|
||||
|
||||
They can be anywhere in the opening <a> tag but they MUST be within it, not outside the tag:
<a href="'. $vbulletin->options['ctab_redirect_url'] .'" class="navtab" target="_blank"> <a href="'. $vbulletin->options['ctab_redirect_url'] .'" target="_blank" class="navtab"> <a target="_blank" href="'. $vbulletin->options['ctab_redirect_url'] .'" class="navtab"> any of these would work. |
#5
|
|||
|
|||
Ah, understandable. I thought it can be placed before the </a>
Thanks. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|