![]() |
Hover effect on forums!
<a href="http://www.realitymod.com/forum/" target="_blank">http://www.realitymod.com/forum/</a>
what mod is that^ ? |
Probably just a change to the template. Look at the source code for that column:
HTML Code:
<td id="f380" class="alt1Active" align="left" onclick="window.location.href='forumdisplay.php?f=380';" onmouseout="this.className='alt1Active';" onmouseover="this.className='alt2Active';" style=""> To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. |
This looks like it uses the alt1Active class that is pre-defined with the code required for the hover effect.
This is probably possible with CSS.. |
Quote:
All you need is a css td:hover class. |
Quote:
--------------- Added [DATE]1252077189[/DATE] at [TIME]1252077189[/TIME] --------------- anyone? |
Actually, now that I think about it, td:hover isn't supported in some browsers. However, what will work with any browser is onmouseover and onmouseoff.
ex: HTML Code:
<style> |
That's the method.
Onmouseover defines a class (which highlights it) and onmouseout removes the class (unhighlighting it) |
where do i put this code?
|
All times are GMT. The time now is 10:45 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|