Customizing SMF > Graphics and Templates
Table Cell Highlight
Justyne:
I was actually wondering if anyone had written a piece of code to highlight the table cell of the board description on mouseover.
If you are not sure what I mean look at
http://dumbledore13.conforums.com/
I used to have it when my board was still at conforums and later on with YABB.
Somehow I do not get anything to work with SMF
Thanks,
Justyne
Owdy:
http://www.phpfreaks.com/quickcode/Table_Background_Hover_Colors_With_CSS/33.php
Justyne:
thanks... but somehow this just creates an error
when I change the cells in the boardindex to
<td class="test" onmouseover="this.className='test2'"
onmouseout="this.className='test'">
It gives me a php error pretty much when the first ' appears I assume. How do I avoid that?
Owdy:
I have no idea, sorry :( Try it without JS http://www.apptools.com/examples/tdcolor.php
Acf:
class="onout" onmouseover="this.className=\'onover\'" onmouseout="this.className = \'onout\'"'
using these \
Navigation
[0] Message Index
[#] Next page
Go to full version