|
Post by Kenshin on Apr 7, 2005 19:34:56 GMT -8
All Headers: <script type="text/javascript"> <!-- // Objection PM Bar - Zanmato Design Code Battle // Do Not Redistribute Without Permission
Object = document.getElementsByTagName('TD'); if(Object[2].innerHTML.match(/Hey, (.+?), you/i)){ ObjUser = RegExp.$1 }
if(Object[2].innerHTML.match(/action=im">(\d+) messages/i)){ ObjMsg = RegExp.$1 }
if(Object[2].innerHTML.match(/, (\d+) (\w+) new./i)){ ObjNew = RegExp.$1 }
Object[2].style.display='none'
ObjTable = document.getElementsByTagName('Table')[0].insertRow(1)
ObjCell = ObjTable.insertCell(0) ObjCell.className = 'catbg'
if(Object[2].innerHTML.match(/Guest/i)){ ObjCell.innerHTML = '<font class="1">User: Guest «-» <a href="index.cgi?action=login">Login</a> | <a href="index.cgi?action=register">Register</a></font>' }else{
ObjCell.innerHTML = '<font class="1">User: '+ObjUser+' «-» <a href="index.cgi?action=im">Messages</a>: <b>'+ObjMsg+'</b> New: <b>'+ObjNew+'</b></font>' }
//--> </script>
Enjoy and btw I only posted this code here and at ZD
|
|
|
Post by CD on Apr 8, 2005 4:15:29 GMT -8
Preview?
|
|
|
Post by Disciple on Apr 8, 2005 4:20:51 GMT -8
|
|
|
Post by Hamirick on Apr 8, 2005 9:21:35 GMT -8
NIICE!... looks a little long for what it is though...?
|
|
|
Post by KunaiFlame on Apr 8, 2005 13:48:00 GMT -8
That's pretty cool,but i agree with Hamirick.It's kind of long for a PM Bar.
|
|
|
Post by Kenshin on Apr 8, 2005 13:57:42 GMT -8
Its just cause its spaced...I made it like that so its more organized and easier to read
|
|
|
Post by CrAzY_J on Apr 8, 2005 17:31:56 GMT -8
is this the one you made in the code battle?
|
|
|
Post by Kenshin on Apr 9, 2005 6:07:37 GMT -8
Yep, just like it says in the copyright ^_~
|
|
|
Post by SonicX on Apr 13, 2005 16:58:01 GMT -8
Kool code, and nice job.
|
|