|
Post by Nightwalker on Aug 22, 2010 12:00:22 GMT -6
Crossbrowser: YES Location: GLOBAL Headers
GLOBAL Headers:
<!-- Click-It PM Bar v2 (Beta) by Smangii http://forum.smangii.com //-->
<table align="center" class="bordercolor" width="92%" cellpadding="4" cellspacing="1"> <tr> <td align="center" class="titlebg"><a href="javascript:hideshow('myPM')">+/- Messages ยป</a> </td> <td id="myPM" align="center" class="windowbg" height="10px" style="display: none;">Please <a href="/index.cgi?action=login">Login</a> or <a href="/index.cgi?action=register">Register</a> to use this feature. </td> </tr> </table>
<script type="text/javascript"> <!- function hideshow(id) { if(document.getElementById(id).style.display==""){ document.getElementById(id).style.display="none"; } else { document.getElementById(id).style.display=""; }}
var TD = document.getElementsByTagName("td"); var myPM = document.getElementById("myPM");
if(TD[2].innerHTML.match(/you have <.+?>(.+?) (message|messages)<.+?>/i)){ myPM.innerHTML = '<div style="float:left">Hi, ' + pb_displayname + '! Your Inbox: <a href="/index.cgi?action=pm">' + RegExp.$3 +' New</a> | ' + RegExp.$1 + ' Old.</div> <div style="float:right">[ <a href="/index.cgi?action=pmsend">Compose</a> ] [ <a href="/index.cgi?action=pmmarkasread">Mark All Read</a> ] [ <a href="/index.cgi?action=pmprefs">Prefs</a> ]</div>'; } // --> </script>
|
|
Ajay
Daywalker
[M:0]
Posts: 31
|
Post by Ajay on Aug 22, 2010 15:27:57 GMT -6
Did smangii give you permission to repost?
|
|
|
Post by Nightwalker on Aug 22, 2010 15:35:12 GMT -6
Read the thread in the announcement board
|
|
Ajay
Daywalker
[M:0]
Posts: 31
|
Post by Ajay on Aug 22, 2010 16:45:44 GMT -6
Read the thread in the announcement board Yup yup.
|
|
Flame
Daywalker
[M:0]
Posts: 6
|
Post by Flame on Sept 15, 2010 4:49:55 GMT -6
What is the purpose of this code?
|
|
allan
Duskwalker
[AWD:030601][M:70]
It's all good
Posts: 71
|
Post by allan on Sept 15, 2010 7:45:10 GMT -6
if i remember right puts a bar under the welcome table for your pm's
|
|
Flame
Daywalker
[M:0]
Posts: 6
|
Post by Flame on Sept 17, 2010 3:13:16 GMT -6
Oh I see
|
|