Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

Question:jQuery ul li hover effect

I have this code here and I am trying to show the nested .submenu lists on ul#menu li hover events. If you can see the ul.submenu's are inside the li's but for some reason when you drag your mouse from the actual ul#menu li a to its nested ul.submenu it disappears, as if you are moving out of it. I do not understand why that happens.

I have tried changing a bit the DOM as well as using setTimeout but with no luck.

Any ideas of how to get this done? And more importantly... why my problem occurs? I mean, since the ul.submenu is inside the li shouldn't it be considered the same hover area?

asked Sep 13, 2013 in jquery by anonymous
edited Sep 12, 2013
0 votes

Related Hot Questions

Government Jobs Opening