PDA


View Full Version : Mouseover hack works with CMPS latest threads


trana
02-24-2006, 04:32 PM
There is a cool hack at VB.org that does a nice mouseover effect on cells in the forumdisplay and forumhome. I made two changes to it and it works with the CMPS latest threads module. It looks pretty good so I figured some of you might want to give it a shot.

It requires a simple template change (adv_portal_latesttopicbits). Find this at the top of the template:

</div>

</if></td>
</if>

<td class="alt1">
<if condition="$thread['subscribed']">

Replace only the <td class="alt1"> in the above with this:

<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]" style="cursor:hand;" onmouseover="this.className='alt2Active';" onmouseout="this.className='alt1Active';" onclick="window.location.href='$vboptions[bburl]/showthread.php?t=$thread[threadid]';">

You can checkout the original thread here:
http://www.vbulletin.org/forum/showthread.php?t=92600

Patrick Murphy
04-16-2006, 08:05 PM
Thanks. :)

cheesegrits
06-01-2006, 01:40 AM
Works like a charm. Thank you!

sublimevb
06-18-2006, 07:38 AM
Thanks, works great.

kamil5
07-28-2006, 06:18 AM
thanx good sharing

LoNeLY
11-11-2006, 11:59 AM
thanks very nice :)

dart vader
01-28-2007, 08:13 PM
nice one