The Arcive of vBulletin Modifications Site. |
|
Sticky Background Color Change with Rollover Effect Details »»
|
|||||||||||||||||||||||||||
|
Sticky Background Color Change with Rollover Effect
Developer Last Online:
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: Here 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 Note: This does NOT effect any ajax functionality. Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
how would i change this to make all posts do this, not just stickies
|
|
#3
|
|||
|
|||
|
Quote:
Of note, that mod worked for my forumhome, but for some reason, viewing the forum lists via category view broke the mouseout, so when I rolled the mouse off, the background of the cell would turn black. I seem to be the only person noticing the behavior however. |
|
#4
|
||||
|
||||
|
Hey thanks for the mod.
|
|
#5
|
||||
|
||||
|
installed thanks
|
|
#6
|
|||
|
|||
|
does this affect the ajax function, where moderator can doubleclick to edit titles? the other thread mentions that this is the case. and i don't like missing that feature.
|
|
#7
|
|||
|
|||
|
okie doke, confirmed that this does not affect ajax
![]() cool thanks installed |
|
#8
|
|||
|
|||
|
Thanks.
I'll edit the original post to reflect it - apologies for not answering the question sooner. |
|
#9
|
|||
|
|||
|
Is there a way to make this go across all the columns instead of just the thread title column?
|
|
#10
|
|||
|
|||
|
Not that I'm aware of, at least not with my method, since I'm doing it within the cell.
|
![]() |
|
|