我遇到了一个奇怪的问题。
我的wordpress网站上的水平导航菜单使用ddsmoothmenu。将鼠标悬停在菜单项上,下拉列表显示更多页面。这在chrome 28中工作正常。
我更新到chrome 29,这不再有效。相反,您必须单击菜单项才能看到下拉列表。
有没有人知道chrome 28>的变化? chrome 29会破坏这个功能和潜在的解决方案吗?
感谢。
答案 0 :(得分:5)
在ddsmoothmenu.js中找到
smoothmenu.detecttouch? 'toggle'
并将其替换为
smoothmenu.detecttouch? 'hover'
它会正常工作。