vForums Support Banner



 

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: 16th Dec 2007

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Mark As Read Bar (Thu 17th Apr 2008 at 8:36pm)
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: 5th Jan 2008
Reputation: 42%  


pmtwitterskypemsnyahoo
Re: Mark As Read Bar (Tue 29th Jul 2008 at 12:55am)
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 6:28am
Page generated in 0.7533 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums