jquery menu hovering

前端 未结 5 1879
猫巷女王i
猫巷女王i 2021-01-13 03:24

i have a menu that when i mouse over a div it will show and on mouse out it will fade out. the problem is that if you roll over any of the menu\'s children the menu will dis

5条回答
  •  情话喂你
    2021-01-13 04:12

    You need to contain the menu div inside of the hover div. See http://jsfiddle.net/T72jm/2/ .

    You'll notice (at least in Chrome) that if you hover over your hover div and don't do anything, the menu div will fade out.

提交回复
热议问题