vForums Support Banner


Visit Base Classics - Gaming Chairs

 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: Change Sticky Splitter Class - 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
Change Sticky Splitter Class (31st Mar 08 at 8:08pm UTC)
This code should only really be used if you have split your stickies from normal posts in the admin panel.

[To do this: Image => Forum Settings]

Use the CSS at the top to style the new bar! {Smile}



<style>
.ann_sep {
    background-color: #FF0000;
}
</style>

<script>
/*Change Sticky Splitter Class
Created By Wrighty
No: Rip, Repost or Claim */

var d= get('td','tag');
var x = '&nb'+'sp;';
for(i=0;i<d.length;i++){
    if(d[i].innerHTML == x && d[i].className == 'window1' && d[i].colSpan == '5'){
        d[i].className = 'ann_sep';
        break;
    }
}
</script>


Global Footer
 Printable View

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