YoucreateaWebpagethatcontainsdrop-downmenusthataredefinedbyusingdivtagsinthefollowingcode.YouneedtowriteaJavaScriptfunctionthatwillenablethedrop-downmenustoactivatewhentheuserpositionsthemouseoverthemenutitle.Whichcodesegmentshouldyouuse?()A.$(.dropdown-menu).hover(function(){$(.menu-items).slideDown(100);},function(){ $(.menu-items).slideUp(100);});B.$(.dropdown-menu).hover(function(){$(.menu-items,this).slideDown(100);},function(){$(.menu-items,this).slideUp(100);});C.$(.dropdown-menu).hover(function(){$(this).slideDown(100);},function(){$(this).slideUp(100);});D.$(.dropdown-menu).hover(function(){$(this.menu-title,).slideDown(100);},function(){$(this.menu-title,).slideUp(100);});
YoucreateaWebpagethatcontainsdrop-downmenusthataredefinedbyusingdivtagsinthefollowingcode.YouneedtowriteaJavaScriptfunctionthatwillenablethedrop-downmenustoactivatewhentheuserpositionsthemouseoverthemenutitle.Whichcodesegmentshouldyouuse?()
A.$(".dropdown-menu").hover(function(){$(".menu-items").slideDown(100);},function(){ $(".menu-items").slideUp(100);});
B.$(".dropdown-menu").hover(function(){$(".menu-items",this).slideDown(100);},function(){$(".menu-items",this).slideUp(100);});
C.$(".dropdown-menu").hover(function(){$(this)".slideDown(100);},function(){$(this).slideUp(100);});
D.$(".dropdown-menu").hover(function(){$("this.menu-title",).slideDown(100);},function(){$("this.menu-title",).slideUp(100);});
相关考题:
根据我国‘通讯天线行业标准’规定,移动通信系统基站天线分为()三类。 A.全向天线B.定向单极化天线C.定向45双极化天线D.定向90双极化天线