京东的一个最新商品的跳的js 不指定

Else , 2009/10/25 13:33 , 代码片段,演示也有 , Comments(0) , Reads(756) , Via Original

$(function(){
    setTimeout("marquee(2,168,12)",2000);
    $("#NewProduct").hover(function(){
        if (Stag=="stop"){
       clearTimeout(timera);
     }
    },function(){
     if (Stag=="stop"){
      timera=setTimeout("marquee(2,168,12)",1000);
     }
   })
})
Tags:
Add a comment

Nickname

Site URI

Email

Enable HTML Enable UBB Enable Emots Hidden Remember [Login] [Register]