Post: #1
18-01-2009 00:57 AM (This post was last modified: 22-01-2009 09:55 AM by barryg)
|
||
barryg Joined: 29-10-2008 Posts: 9 Country: |
Suggestion: Sticky Cells Hey guys,
Just a simple suggestion really, I find it hard to tell the difference between stickies in forums and normal posts, and thought it'd be useful if you could distinguish by having a different cell background color, like most popular forum software does. I've written a greasemonkey mod for forums I visit, but it'd be great if it was implemented at source! CODE: // ==UserScript== // @name Change Sticky Style // @namespace http://TS_StickyStyle/stickystyle // @description Colours in Stickies so they're easier to see // @include http://templateshares.net/tsf_forums/forumdisplay.php* // ==/UserScript== function changeStickyStyle() { var iTD=document.getElementsByTagName('TD'); for(i=0;i<iTD.length;i ) if(iTD[i].className=="trow1" && iTD[i].innerHTML.match(/important thread/i) ){ for (u=0;u<4;u ) iTD[i u].style.backgroundColor='#C4C4C4'; } } changeStickyStyle(); To see what i'm getting at, change the include to your own site |
|
|
||
Post: #2
|
|
barryg Joined: 29-10-2008 Posts: 9 Country: |
Suggestion: Sticky Cells Any thoughts on this one?
|
|
|
Post: #3
|
|
parallaxz71 Joined: 11-01-2007 Posts: 5,336 Country: Awards: |
Suggestion: Sticky Cells its user preference but a nice idea.....
|
|
|
Post: #4
|
|
barryg Joined: 29-10-2008 Posts: 9 Country: |
Suggestion: Sticky Cells Thanks for the response. A different class name for stickied cells would be lovely, it'd then be easier to implement at CSS level
|
|
|
Post: #5
|
|
aladdin56789 Joined: 29-01-2008 Posts: 181 Country: |
Suggestion: Sticky Cells but where to add this Code .. and thanks for your suggestion
|
|
|
Post: #6
|
|
barryg Joined: 29-10-2008 Posts: 9 Country: |
Suggestion: Sticky Cells That piece of code is just a greasemonkey script for firefox. If you have the greasemonkey addon, you can install it from that, and edit it to include your site name. The forum edits out a few of the plus signs, so if you would like to try it, i'll have to attach it as a .txt
|
|
|
Post: #7
|
|
aladdin56789 Joined: 29-01-2008 Posts: 181 Country: |
Suggestion: Sticky Cells thank you
|
|
|
«
Previous Thread
|
Next Thread
»
|