I figured using Javascript to change classes using onmouseover and onmouseoff would be a reliable way that works in IE5,6 as well. My JS isn't that great, though, so I'm having trouble expressing '<div class="widcontent">' under 'this', where 'this' is '<div class="widtitle">'.
Code: Select all
<?php
if ( function_exists('register_sidebar') )
register_sidebar(array(
'before_widget'=>'<div class="indwiget">',
'after_widget'=>'</div></div>',
'before_title'=>'<div class="widtitle" onmouseover="widcontent?.className=\'widcontentv\'">',
'after_title'=>'</div><div class="widcontent">',
));
?>
Help? Thanks!