PDA

View Full Version : Limit Javascript to just ONE table?


sinder112
01-07-2006, 11:45 PM
Can anyone tell me how to limit a piece of javascript code to just one table? Here is the link to what I am discussing:

http://www.pier74.com/new/inventory_power.htm

I want to be able to highlight the rows of the main table and this is working correctly. The problem I am having is that when you move your mouse over the very top/bottom/right/left borders, it highlights the entire table blue. I believe this is because the main table is nested in another table which contains the background image for the page. This secondary background table is necessary because I need that image to expand/contract with the size of the main table. If anyone could help me out, that would be great!

Bob

Kor
01-08-2006, 11:20 AM
I want to be able to highlight the rows of the main table and this is working correctly.

No, it does not work correctly, as long as it does not work for Mozilla as well... Do you need just a piece of code (CSS or CSS+javascript) to highlite the rows of a table when mouse over them?