Page 1 of 1

Bugfix: NAV_TABLE_COLUMN rollover colour/transparent change

Posted: Sat 28. Jan 2006, 00:29
by thoblerone
Hello, ye users of a great board about the greates cms!

If you use the nav_table_coloumn and choose to have no background color (i.e. transparency) but choose to have a rollover colour, the rolled-over color is not restored when the mouse leaves the table cell.

I was able to fix it inside /include/inc_front/front.func.inc.php. Line 1198 and 1201 should be corrected with the code in red as follows:

Line 1198:
if($nav_table_struct["row_over_bgcolor"] || $nav_table_struct["row_norm_bgcolor"]) $js .= "this.bgColor='".$nav_table_struct["row_over_bgcolor"]."';";

Line 1201:
if($nav_table_struct["row_norm_bgcolor"] || $nav_table_struct["row_over_bgcolor"]) $js .= "this.bgColor='".$nav_table_struct["row_norm_bgcolor"]."';";

Since I'm using phpwcms v1.2.5-DEV the line number may differ slightly in the current version.

Regards
Thomas

Posted: Sat 28. Jan 2006, 07:08
by Pappnase
hello

i have forward this to oliver ;-)