Javascript Issue - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Javascript Issue

Flightfanatic1Flightfanatic1 Posts: 2Member
Hello, I am working on a website, which I want to have a table like the one in the link below:

http://centricle.com/lab/dom/col/

When I put it into the page, it wont work for the table that I am trying to add it into. I dont know much about javascript, so I apologize for not being real descriptive :/

I am using a css style sheet for the desing of the page, so I had to name the tags in the table as a class. Is this enough information? Thanks alot for any help!

Heres the code for the table effect:

Javascript Code -
[code]
[/code]

[hr]

CSS for the table effect -
[code]
tbody tr:hover {background:#ccc}
[/code]

[hr]

My HTML Table - (notice the class name, next to the tags and , how can I change it in the javascript portion to only look at those two classes?

[code]


















































































 
Month Fee

Month Fee

Month Fee

Month Fee

Iten

price here

price here

price here

price here

Iten
price here price here price here price here

Iten

price here

price here

price here

price here

Iten

price here

price here

price here

price here

Iten

price here

price here
price here price here

Iten

price here
price here price here price here

Iten
price here price here price here price here

Iten

price here

price here
price here price here
[/code]
Sign In or Register to comment.