• λ我爱Aspx >> Asp.Net >> JS类:实现对联式广告
  • JS类:实现对联式广告

  • :未知  Դ:internet  :2007-5-20 16:44:37  ؼ:
  • if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x))

    {

    var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;

    dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));

    followObj.style.left=followObj.offsetLeft+dx;

    }

    if(followObj.offsetTop!=(document.body.scrollTop+followObj_y))

    {

    var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;

    dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));

    followObj.style.top=followObj.offsetTop+dy;

    }

    }

    }

    function FloaterItem(id,x,y,width,height,title,content,hasTitle)

    {

    //class floater,for single floater object

    this.id=id;

    this.x=x;

    this.y=y;

    this.width=width;

    this.height=height;

    this.content=content;

    this.title=title;

    this.status=true;

    this.hasTitle=hasTitle;

    Ҷƪл˵?
  • һƪ透明FLASH
    һƪ网页间非常规方法传递值的方法