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
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