Posted: Sun 30. May 2004, 05:15
The code you're going to need to modify is in /phpwcms/include/inc_front/front.func.php around line 900 or so. That's the code that generates the nav menus.
You need to find this line: (it's line 898 in my copy of the file but that may be different on yours)
and change it to:
then replace the line two below it:
with
then you need to make a class "navtableover" and give it whatever attributes you want the mouseover'd menu to have.
You need to find this line: (it's line 898 in my copy of the file but that may be different on yours)
Code: Select all
$js .= ($nav_table_struct["row_over_bgcolor"]) ? "this.bgColor='".$nav_table_struct["row_over_bgcolor"]."';\"" : '"';
Code: Select all
$js .= "this.className='navtableover';"
Code: Select all
$js .= ($nav_table_struct["row_norm_bgcolor"]) ? "this.bgColor='".$nav_table_struct["row_norm_bgcolor"]."';\"" : '"';
Code: Select all
$js .= "this.className=' *** WHATEVER THE NORMAL CELL CLASS IS *** ';"