$.each($("#top2>ul>li>a"),function(){
                $(this).css({
                background:function() {
                var j=$("#top2>ul>li>a").index(this);
                var temp="url(img/nav"+(j+1)+".jpg) no-repeat center top";
                return  temp;
                }
                });
            });

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-08
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
  • 2022-12-23
  • 2021-12-27
  • 2021-10-07
相关资源
相似解决方案