IE 8 says: it doesn't support this property or method:
Code is here (Error in coming in this whole part):
$('li').has('ul').mouseover(function(){
$(this).children('ul').css('visibility','visible');
}).mouseout(function(){
$(this).children('ul').css('visibility','hidden');
})
This code is a part of this function:
if ($.browser.msie && $.browser.version.substr(0,1) < 7) {
$('li').has('ul').mouseover(function(){
$(this).children('ul').css('visibility','visible');
}).mouseout(function(){
$(this).children('ul').css('visibility','hidden');
})
}
What is wrong with this.. please help.
我不确定,但是小的修正使用$('li ul')
而不是$('li').has('ul')
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.