此题为判断题(对,错)。
第1题:
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);});
第2题:
在Bootstrap中,按钮添加默认/标准按钮样式的类是()
A..btn类
B..btn-primary类
C..btn-info类
D..btn-default类
第3题:
下拉菜单中符号“…”和“▶”分别表示什么意义?
第4题:
在Bootstrap中,按钮添加原始按钮样式(未被操作)的类是()
A..btn-default类
B..btn-info类
C..btn-primary类
D..btn类
第5题:
在Bootstrap中,用于表示一个禁用按钮的类是()
A..active类
B..disabled类
C..btn-block类
D..btn-close类