liuzhaoqin
$(".menu").live("click",function(){
for(var j=0;j<menu.length;j++){
menu[j].style.backgroundColor="#2B3642";
}
$(this).css("background-color","#3c6c90");
var menuIdx=$(".menu").index($(this));//获得下标

分类:

技术点:

相关文章:

  • 2021-12-04
  • 2021-12-04
  • 2021-12-18
  • 2021-05-25
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
猜你喜欢
  • 2021-10-07
  • 2021-06-24
  • 2022-12-23
  • 2021-06-17
  • 2021-12-04
  • 2021-12-04
相关资源
相似解决方案