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

  • :未知  Դ:internet  :2007-5-20 16:44:37  ؼ:
  • this.show=function()

    {

    if(this.status)

    this.object.style.display="block";

    else

    this.object.style.display="none";

    }

    }

    function FloaterCollection(controlId)

    {

    //class floaterCollection,muitil floater object

    this.items=[];

    this.control=document.getElementById(controlId);

    this.control.onclick=switchFloater;

    this.control.FloaterCollectionObj=this;

    this.addItem=function(obj)

    {

    var strHtml;

    strHtml="<div id='"+obj.id+"' style='text-align:left;z-index:10;position:absolute;width:"+obj.width+"px;height:"+obj.height+"px;left:"+(typeof(obj.x)=="string"?eval(obj.x):obj.x)+";top:"+(typeof(obj.y)=="string"?eval(obj.y):obj.y)+"'><table";

    if(obj.hasTitle)

    {

    strHtml+=" border=1 "

    }

    else

    {

    strHtml+=" border=0 style='border:1px solid #cccccc'"

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