Change the colour of 1 or more cells

From: Date: Wed, 23 Apr 2003 13:14:36 +0000
Subject: Change the colour of 1 or more cells
Groups: php.general 
Request: Send a blank email to php-general+get-145003@lists.php.net to get a copy of this message
hi, is it possible to modify cells of a table with javascript so that a group of them that link to the same page change background colour if a mouse hovers over one of them? The table is built dynamically and there will be many groups of cells with links to different pages. The links would be edit_booking.php?booking_id=12 or edit_booking.php?booking_id=164 etc. So for all cells that link to edit_booking.php?booking_id=12 i would like the background to change colour when i hover over one of them, and the same for edit_booking.php?booking_id=164 etc. I know how to do the CSS but am not sure about making a group of cells that link to a page change colour... Thanks for your help

« previous php.general (#145003) next »