Welcome Guest [Log In] [Register]



Add Reply
Post ID
Topic Started: Sep 19 2006, 08:56 PM (219 Views)
ari_aaron
Member Avatar
1a4
Root Administrator
Code Name: Post ID
Code Description: Adds a label saying "Post: " and a number above each post.

PLEASE NOTE THAT THIS CODE COUNTS FROM THE TOP OF THE PAGE. NOT THE TOPIC!

Preview: http://z6.invisionfree.com/Public_Test_Boa...hp?showforum=18

Code:
 

<script>
/*
Add Post ID
©2006 by ari_aaron
*/
if(location.href.match("showtopic="))
{
spost=1
sps=document.getElementsByTagName('span')
for(i=0;i!=sps.length;i++)
{
if(sps[i].innerHTML.match("Posted:")&&sps[i].className=="postdetails")
{
sps[i].innerHTML+="   <u><b>Post:</b></u> "+spost
spost++
}
}
}
</script>


Original Request: http://invisionfree.com/forums/ZetaSupport...p?showtopic=811

My msn: Posted Image
Posted Image
If anyone wants GMail or Windows Live Messenger invites, PM me!
Offline Profile Quote Post Goto Top
 
fjaw

Members
nice
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · InvisionFree Scripts · Next Topic »
Add Reply


Theme designed by Sith of Outline