Digital Concepts
« Clik-It PM Bar »

Welcome Guest. Please Login or Register.
Dec 30, 2009, 5:27pm





Digital Concepts :: Coding :: Code Database :: Code Submission :: Clik-It PM Bar
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Clik-It PM Bar (Read 11 times)
Smangii
Texture
**
member is offline




[homepage]

Joined: Apr 2006
Posts: 88
 Clik-It PM Bar
« Thread Started on May 21, 2006, 6:37am »

Wee...in a coding mood ;D
More practicing with PMing!

Location: Global Headers
CrossBrowser: Yes
Editing: NONE
Repostable: Yes, with header intact
Previews: Closed Preview | Open Preview | Live Preview
Code:
Code:
<div id="PM_BAR">
<!-- Smangii's Clik-It PM Bar
[url]http://smangii.proboards78.com[/url]
May be reposted as long as this header remains intact
No editing required -->

<table align="center" class="bordercolor" width="420" cellpadding="3" cellspacing="1">
<tr><td width="18%" align="center" height="20" class="windowbg">
<a href="javascript:void(0);" onClick="document.getElementById('pm_apple').style.display='';">Check PMs »</a></td>
<td id="pm_apple" align="center" border="1" class="windowbg" height="20" style="display: none;">
Please <a href="/index.cgi?action=login">Login</a> or
<a href="/index.cgi?action=register">Register</a></td></tr></table>
<script>
var tdid = document.getElementsByTagName("td");
var pm_apple= document.getElementById("pm_apple");
if(tdid[2].innerHTML.match(/you have <.+?>(.+?) (message|messages)<.+?>, (\d+) (are|is) new./i)){
var new_inbox = RegExp.$3;
var old_inbox = RegExp.$1;
var user_name = pb_displayname;
pm_apple.innerHTML = 'Hello '+user_name+'! You have <a href="/index.cgi?action=pm">'+new_inbox+'</a> new and <a href="/index.cgi?action=pm">'+old_inbox+'</a> old PMs';}
</script></div><script type="text/javascript">
document.getElementsByTagName("td")[1].parentNode.insertBefore(
if(td[i].className=="titlebg" && td[i].innerHTML.match(/Forum Name/i)){
document.getElementById("PM_BAR"),
document.getElementsByTagName("td")[1].nextSibling);
</script>
Link to Post - Back to Top  IP: Logged

Slightly Insane Graphics & Codes »

[image]
   [Search This Thread][Send Topic To Friend] [Print]

Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!