Bugfix: NAV_TABLE_COLUMN rollover colour/transparent change

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
thoblerone
Posts: 110
Joined: Fri 27. Jan 2006, 23:34
Location: Essen, Germany
Contact:

Bugfix: NAV_TABLE_COLUMN rollover colour/transparent change

Post 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
Pappnase

Post by Pappnase »

hello

i have forward this to oliver ;-)
Locked