可学答题网 > 问答 > MCTS(70-515)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You create a Web 


You create a Web page that contains drop-down menus that are defined by using div tags in the following code.  You need to write a JavaScript function that will enable the drop-down menus to activate when the user positions the mouse over the menu title. Which code segment should you use?()

  • 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); } );
参考答案
参考解析:
分类:MCTS(70-515)题库
相关推荐

1、You create a Microsoft

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. T...

2、You create a Microsoft

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. Y...

3、You create a Microsoft

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. Y...

4、You create a Microsoft

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. Y...

5、You create a Microsoft

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. &...

6、You create a Web 

You create a Web page that contains the following two XML fragments. (Line numbers are inc...