hi
i have this code (Latest Threads IN Marquee
) and want when click on any link that open in new tab .

global $db, $vbulletin;
   
if($vbulletin->options['latest_Threads_order']==1){
$latest_Threads_order="order by thread.dateline Desc";
}elseif($vbulletin->options['latest_Threads_order']==2){
$latest_Threads_order="order by thread.views Desc";
}elseif($vbulletin->options['latest_Threads_order']==3){
$latest_Threads_order="order by thread.replycount Desc";
}elseif($vbulletin->options['latest_Threads_order']==4){
$latest_Threads_order="order by thread.lastpost Desc";
}elseif($vbulletin->options['latest_Threads_order']==5){
$latest_Threads_order="order by thread.dateline Asc";
}elseif($vbulletin->options['latest_Threads_order']==6){
$latest_Threads_order="order by thread.views Asc";
}elseif($vbulletin->options['latest_Threads_order']==7){
$latest_Threads_order="order by thread.replycount Asc";
}elseif($vbulletin->options['latest_Threads_order']==8){
$latest_Threads_order="order by thread.lastpost Asc";
}

$latest_Threads_exfor = $vbulletin->options['latest_Threads_exfor'];
$latest_Threads_exth = $vbulletin->options['latest_Threads_exth'];
$latest_Threads_limit = $vbulletin->options['latest_Threads_limit'];

$latest_Threadss = $db->query_read("
     SELECT thread.threadid,
            thread.title AS tht,
            thread.postusername,
            thread.replycount,
            thread.lastposter,
            thread.views,
            thread.attach,
            forum.title AS fot
     FROM " . TABLE_PREFIX . "thread AS thread, " . TABLE_PREFIX . "forum AS forum
     WHERE thread.forumid = forum.forumid
     AND thread.forumid NOT IN ($latest_Threads_exfor)
     AND thread.threadid NOT IN ($latest_Threads_exth)
     $latest_Threads_order
     LIMIT $latest_Threads_limit
     ");

while ($latest_threadt = $db->fetch_array($latest_Threadss))
{
$latest_Threads.="
<br>
<table width='100%'>
<tr>
<td style='width:15px;'>
</td>
<td style='text-align:right;width:650px;font-family:B Koodak;font-size:16px;font-weight:bold;color:#CC0000;'>

<a 
    target='_blank'><a title='
$vbphrase[latest_Threads_redevel]$latest_threadt[replycount] | $vbphrase[latest_Threads_viewdevel]$latest_threadt[views]' 
    href='showthread.php?t=$latest_threadt[threadid]&goto=newpost '>
    
    <font color='{$vbulletin->options['latest_Threads_color']}'>$latest_threadt[tht] </font></a>
</td>
</tr><tr><td style='font-family:tahoma;font-size:11px;'>
</td><td style='font-family:tahoma;font-size:12px;color:#157DEC;'>
$vbphrase[latest_Threads_pobydevel]$latest_threadt[postusername]   |$vbphrase[latest_Threads_forum]$latest_threadt[fot] | $vbphrase[latest_Threads_lasdevel]$latest_threadt[lastposter]   </td>
<td></td>
</tr></table>
";
}
eval('$latestthreadsd = "' . fetch_template('developer-threads') . '";');

thanks for help me
best regards

Not all browsers have Tabs, so forcing your link to open in a tab is not a good idea, if it is even possible.

Your best option would be to use target=_blank as you already do, this is the closest you will get.

AFAIK _blank will open a new tab in most tabbed browsers by default, but will open a new window in non tabbed browsers.