Hi, I need some help on this, I saw a piece of code of javascript and i was confused on this,can you help me please or enlighten my mind,what does this javascript mean or how this behave.Thank you in advance.
This code adds :hover functionality to IE6 and below (as IE6 only supports the :hover pseudo-class on anchor tags).
In the line you ask about, “this” refers to a <li> element of an unordered list with the id “nav”.
The script will apply a class of “over” to the <li> element in question when you mouse over it.
It will then remove the class as soon as you move your mouse away.