Hi, imagine table with 15 rows and 3 columns. If I move mouse over any cell I want some other specific cells to change their borders like with pseudo-class :hover.
I have tried many combinations and I am still having problems, so if you see, where am I making a mistake, please reply.
<style>
.boryellow {border: 3px solid yellow}
.borblue {border: 3px solid black}
</style>
this will work, a cell can change itself
<td name="third" class="boryellow" onmouseover="this.className='borblue'" onmouseout="this.className='boryellow'">cell</td>
even when dealing with empty images - click on link will change border of different element - imgs, but not span or td ...
<a href="#" onclick="document.all.xxx.className='borblue'; document.all['name'].className='borblue'; document['abc'].className='borblue';">click me</a><br>
<img name="xxx" class="boryellow">
<span name="spanx" class="boryellow">text in span</span>
<br>
<img name="name">
<img name="abc" border="0">
(see different ways to get at an element)
Replacing any element link by "third" or "spanx" will cause stuck ant not executing other actions.