jQuery

Using jQuery we can highlight a complete row as well as the HTML table column when the mouse moves over a particular cell i.e. .

Senario:  Accoridan effect basically is an idea where we have multiple paragraphs and their heading. Idea is to show a paragraph when the respective heading is clicked and all other paragraphs should be collapsed.

n one of the previous posts I had discusses about this interesting Drupal module - Asset Injector which allows us to easily add CSS and JavaScript to our Drupal setup.
This post discusses about how you can add jQuery code to the same.

Senario:  To be able to access a particular cell <td></td> on one of the rows in HTML table. Using jQuery we can easily access a particular row and then target a cell of a HTML table easily by using the eq() traversal filter method and the :nt-child() pseudo-class  methods available.

Address

OpenSourceCook.in
"Natraj"  Bungalow,
Colony No.7,  Sr.No. 38.
(Lane Behind Sai Baba Mandir)
Kale Borate Nagar, Hadapsar,
Pune - 411028.
Get Directions