bccsergio
Joined: Tue May 03, 2011 2:46 pm Posts: 4
|
 [SOLVED] Table TR implementation
Hi there, first, thanks for this wonderful script, it really helps a lot...
well, i have a table with gradient to differ lines (even lines with a color, odd lines with another), to use that with PIE, i just have to add the class to every TD tag in the table and it´s done... so far, so good.
but i have a little problem, i need to have a mouseover event in the table lines (also, gradient in mouseover) (in the full line, not only in the specific TD field of the table), to achieve that, i need to put the class name in TR tag of the table, so when i pass the mouse over any TD of this specific line, the whole line gets highlighted, and it works quite well in modern browsers: <tr class='theClass' onmouseover="this.className='theClassOver';" onmouseout="this.className='theClass';">
but PIE does not work wih TR tag, it works only with TABLE, TH and TD tags...
so, the question... is there a way to work with PIE in TR tag? (something i can change in PIE.htc?)
thanks in advance for any help...
[EDIT - BEGIN] Well, it was quite easy to do that, just open PIE.htc, find: Jb:{TD:1,TH:1} and replace with: Jb:{TR:1,TD:1,TH:1}
sorry to bother with a silly question... hope this helps anyone... [EDIT - END]
cheers bccsergio
|