754 snippets from 1516 members, and growing!
|
login
|
join
about
bytebin
members
tags
snippets
join
Snippets
Submit a Snippet
Search Snippets
New Snippets
Top Snippets
Top Tags
PHP
(135)
JavaScript
(123)
Java
(65)
VBSCRIPT
(58)
String
(44)
CSS
(31)
CSharp
(28)
File
(28)
HTML
(27)
C
(24)
mysql
(24)
VB.NET
(24)
CPlusPlus
(23)
groovy
(23)
Random
(20)
New Snippets
Removing doubles ...
IE Explorer Proxy...
calculating md5 i...
tabless form usin...
find if array con...
Rapleaf Address B...
Javascript port o...
hash sha1
URL Regular Expre...
Email address val...
Venture Capital Jobs
New Members
Kelmi
ysg
dannymo2
chorny
wallie
Hackdemian
impomatic
cyberhitesh
omarabid
richard123
Top Members
dannyboy
sundaramkumar
mattrmiller
Pio
i_kenneth
ASmith
ctiggerf
bertheymans
SCoon
wiz1705
Home
/
Snippets
/
Highlight Row on Rollover
/
Comments
Highlight Row on Rollover
Snippet Menu
Revisions
Comments
Related Snippets
Add to Favorites
Email Snippet
Download Snippet
Print Snippet
Blog Snippet
snippet
|
revisions
|
comments
|
related
|
Add to Favorites
|
email
download
|
print
|
blog it
New Comment
Beautiful
Sat. May. 12th, 2007 7:44 AM
albud
Clean code. I've seen some pretty hideous hacks that do the same thing.
Reply
Nice, but...
Wed. Nov. 28th, 2007 7:57 AM
HRCerqueira
Have you consider the fact that you may want to have just one table to be highlighted? Maybe the entire page layout is based on a table.
Do something like passing the table id as an argument, and then calling:
document.getElementById(id).getElementsByTagName('tr');
instead of just
document.getElementsByTagName('tr');
Reply
New Comment
Do something like passing the table id as an argument, and then calling:
document.getElementById(id).getElementsByTagName('tr');
instead of just
document.getElementsByTagName('tr');