![]() |
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:
|
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> |
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:
|
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. |
Ah, understandable. I thought it can be placed before the </a>
Thanks. |
All times are GMT. The time now is 03:07 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|