Forum Moderators: open
The navigation on the site uses an OnClick event on a <TD> tag to call a JavaScript function. We want the whole cell to be the active link.
Of course this doesn't work in NN4.x and the only thing I can find that OnClick works with is an <a> tag. But the <a> tag causes issues with the visuals in modern browsers.
Are there any other tags or work arounds to call this JavaScript function in NN4.x? I don't care if the event is only on the text in NN4.x.
Thanks,
Nick
There are also OnMouseOver and OnMouseOut events on the same <TD> tag which call JS to change the styles of the cell and the text in the cell.
If the text is in the <a> tag then it needs a style of its own and then the roll over scripts don't effect it. So now when you roll over the cell and the cell changes color and then when the cursor hits the text it changes color. Not the desired effect.
Hope that makes sense.