$(function(){ ???$(".classify dl dd").mouseover(function(){ ??? $(this).addClass("on"); ?? $(this).children("ul").show(); })})// 关键二:正确使用jQuey的语法完成行为。$(function(){ ??$(".classify dl dd") .mouseout(function(){ ?? $(this).removeClass(‘on‘); ?? $(this).children("ul").hide(); })})
二级导航 js
原文地址:https://www.cnblogs.com/qing1304197382/p/10188776.html