Back to vBulletin 3.5 Template Modifications

Sticky Background Color Change with Rollover Effect
Mod Version: 1.00, by ()

This modification is in the archives.
vB Version: 3.5.3 Rating: (1 vote - 5.00 average) Installs: 35
Released: 18 Jan 2006 Last Update: Never Downloads: 4
Not Supported Template Edits  

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]">
Replace with:
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 -->
ACP -> Styles & Templates -> Style Manager -> Style Name -> Main CSS -> Additional CSS Definitions

You will need to add these two declarations:

The normal background color, change #333333 to your desired background color:

Code:
.stickybg
{
	background-color: #333333;
}
And the mouseover color, change #444444 to your desired highlight color:

Code:
.stickyover
{
         background-color: #444444;
}
Screenshot attached.

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

vblts.ru supports vBulletin®, 2022-2024