vForums Support Banner


Visit Base Classics - Gaming Chairs

 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: Mark As Read Bar - View Topic
Topic Rating: *****
Printable View
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Mark As Read Bar (17th Apr 08 at 8:36pm UTC)
This will add a 'Mark as read' bar to the last category. Edit the part in red to change the image.



<script>

var img = 'http://virtualforums.co.uk/images/home.gif';

var r = get('tr','tag'); var a = r.length; var x = document.createElement('tr'); var y = document.createElement('td'); var i = document.createElement('img'); var l = document.createElement('a');
i.src = img;
l.href = '/action/markasread/type/boards/';
l.appendChild(i);
y.align = 'right';
y.className = 'title1';
y.colSpan = '3';
y.appendChild(l);
x.appendChild(y);
while(a--){
    if(r[a].id.match(/board_(\w)/)){
        r[a].parentNode.insertBefore(x, r[a].nextSibling);
        break;
    }
}
</script>


Main Footer
ashkir
Full Member
***

[Avatar]

Posts: 1,159
Status: Offline
Gender: Male
Location: Cali!
Age: 35
Joined:  
Reputation: 42%  


pmtwitterskypemsnyahoo
Re: Mark As Read Bar (29th Jul 08 at 12:55am UTC)
Here is a mark as read image that is default themed. :] Image http://wimg.co.uk/JtR5mp.gif
 Printable View

All times are GMT+0 :: The current time is 2:53pm
Page generated in 0.3629 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums