the following should work: onmouseover="this.oldClass=this.style.className; this.style.className='over'" onmouseout="this.style.className=this.oldClass"
On 11/1/06, Nebinger, David <[EMAIL PROTECTED]> wrote:
Okay, I'm using rowClasses with two different styles for the rows. However, I'd like to implement a highlighting scheme based upon onmouseover and onmouseout. onmouseover is easy enough, simple javascript to set the class to the class that handles the highlight. The onmouseout is the tough one though. Ideally it should be as simple as using javascript to set the class to the appropriate row class. If I were generating the HTML directly I could easily determine which row I'm on and use the appropriate class for the row. Anyone have some suggestions as to how I would do that in JSF? Thanks!

