This modification is in the archives.
Sticky Background Color Change with Rollover Effect
This mod takes from the following two releases: Live Wire's Forumhome Mouseover Effect Mod. Andrew111888's Sticky Background color Mod. I've taken bits from both and combined them, and take no credit for the original idea of either, save that I'm doing them both. It's my first attempt at a release and should be considered beta until checked out by more experienced Coders than myself. What it does: Changes the background color of sticky threads, with a mouseover effect: Time to install: 5 minutes Difficulty: Easy Templates: 1 CSS Edit: 1 Demo: http://www.sevenstring.org/forum/forumdisplay.php?f=23 Tested: IE, Maxthon, Firefox Updated: 1.0.1: Fixed a bug where it wasn't showing thread preview for non-sticky threads. ACP -> Styles & Templates -> Style Manager -> Edit Templates -> Threadbit Find: Code:
<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]"> Code:
<!-- Sticky Rollover Color --> <if condition="$thread['sticky'] == 1"> <td class="stickybg" id="td_title_$thread[realthreadid]" title="$thread[preview]" onmouseover="this.className='stickyover';" onmouseout="this.className='stickybg';"> <else /> <td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]"> </if> <!-- /Sticky Rollover Color --> You will need to add these two declarations: The normal background color, change #333333 to your desired background color: Code:
.stickybg { background-color: #333333; } Code:
.stickyover { background-color: #444444; } Please Click if you're using this. Thanks! Note: This does NOT effect any ajax functionality. Download No files for download. Screenshots
|
Similar Mods
Show Thread Enhancements Sticky background color change | vBulletin 3.7 Template Modifications |