this is the online offline code i am using. i don't think css is hiding it.
code:
<script language="javascript" type="text/javascript">
<!-- Online Status Indicator for Forumer
onlineStatus = "<p style='color:green;font-weight:bold'><img src='http://img86.exs.cx/img86/6840/useronline6oh.gif' alt='Online'> Online</p>"
offlineStatus = "<p style='color:red;font-weight:bold'><img src='http://img91.exs.cx/img91/5369/useroffline9qd.gif' alt='Offline'> Offline</p>"
document.write("<iframe name='index' src='{ibf.script_url}act=Online&CODE=listall&sort_key=click' style='display:none' onload='harvest()'></iframe>")
function harvest()
{
var td = window.frames["index"].document.getElementsByTagName("td")
for(var i = 0; i < td.length; i++){
if(td[i].className == "row1" && td[i].parentNode.parentNode.parentNode.parentNode.innerHTML.match("Online Users")){
var tdi = td[i]
harvestLinks(tdi);
}
}
}
function harvestLinks(tdi){
var a = tdi.getElementsByTagName("A")
var names = new Array(a.length)
for(i = 0; i < a.length; i++){
if(a[i].href.match("showuser=")){
names[i] = a[i].innerHTML.replace(/<[^>]+>/g, "")
updateStatus(names);
}
}
}
function updateStatus(names)
{
td=document.body.getElementsByTagName("TD")
for(s=0;s<td.length;s++) {
if((td[s].className=="post1"||td[s].className=="post2")&&td[s].innerHTML.match("Posts: ")&&td[s].width!="100%") {
var poste=td[s].getElementsByTagName("SPAN")[0]
var postName=td[s].parentNode.parentNode.getElementsByTagName("SPAN")[0].getElementsByTagName("A")[0];
for(j = 0; j < names.length; j++){
if(postName.innerHTML==names[j])
{
var replacoo=poste.getElementsByTagName("DIV");
for(p=0;p<replacoo.length;p++){
if(replacoo[p].className=="ShowOn"){
replacoo[p].innerHTML=onlineStatus;
}
else{
//good is sin
}
}
}
}
}
}
}
function OfflineWhen(){
td=document.body.getElementsByTagName("TD")
for(s=0;s<td.length;s++) {
if((td[s].className=="post1"||td[s].className=="post2")&&td[s].innerHTML.match("Posts: ")&&td[s].width!="100%") {
var poste=td[s].getElementsByTagName("SPAN")[0]
if(! poste.innerHTML.match("ShowOn")){
poste.innerHTML += "<br /><div class='ShowOn'>"+offlineStatus+"</div>"
}
}
}
}
OfflineWhen()
// -->
</script>