--------------- Added [DATE]1365474629[/DATE] at [TIME]1365474629[/TIME] ---------------
Ok.
Got the plugin working right with below
Code:
if (!defined('VB_AREA') OR VB_AREA != 'AdminCP')
{
if (is_array($navdata['tab_oda5_837']))
{
$navdata['tab_oda5_837']['text'] .= '<script language="javascript" src="http://www.talkjesus.com:35555/online.js?group=default"></script>
<script language="javascript">
document.write(""+ online.ln+"");
</script>';
}
}
But, now I want to apply some styles to the number output which is the "+ online.ln+" portion. I tried <span style="float:right">"+ online.ln+"</span> but that caused it to disappear.
I want the number output floating right with a custom background color too while the word "chat" remains floating left.