Is possible to target two separate tables that are displayed inline on the same time? I want to have a hover effect on both table at the same time when cursor pass over tr td of first or second table.
Here is a small example: http://jsfiddle.net/Ksb2W/17/
(now is working separately)
You can sort of emulate this behaviour, in that hovering over the first
divwill trigger a response in thetablecontained in the siblingdiv:JS Fiddle demo.
But you can’t hover over the first
tableto trigger a response in the second, as that would require travelling to thetable‘s parentdivthen to the sibling and then to the child-table.Similarly, without JavaScript, you can’t trigger a a response in a specific row, or cell, based on the currently-hovered element in the first table. Nor, on hovering the second
table(ordiv) can you trigger a response in the first.