โค้ดเอฟเฟกต์พิเศษของหน้าเว็บ: เมนูแบบเลื่อนลงของหน้าเว็บที่สร้างด้วย CSS ล้วนๆ
ผู้เขียน:Eve Cole
เวลาอัปเดต:2009-06-20 15:49:37
";s1+=ADM_FSCommand(o,ADM_DIV+"Couplet1") ;if(ADM_CE==1&&UseCache){s1+="n";}WriteAd(ADM_DIV+"Couplet",s1);if(ADM_CE==1&&UseCache&&document.getElementById(ADM_DIV+"Couplet1").PercentLoaded()== 100)ADAREACouplet1_Cache(4);else if(ADM_CE==0&&UseCache)ADAREACouplet1_Check();if(o.timeout)setTimeout("ADAREACouplet1_DoFSCommand()",o.timeout);}os=2;}ฟังก์ชัน ADAREACouplet1_Check(){if (document.getElementById(ADM_DIV+"Couplet1").PercentLoaded()==100){ADAREACouplet1_Cache(4);return;}setTimeout("ADAREACouplet1_Check()",100);}ฟังก์ชัน ADAREACouplet1_Cache(a){if(a== 4){var OBJ=document.getElementById(ADM_DIV+"CoupletCache");var o=ADM_S[parseInt(OBJ.innerHTML)];OBJ.innerHTML=ADM_Media(o.src,120,270,o,ADM_DIV+"Couplet2")+ADM_FSCommand (o,ADM_DIV+"Couplet2");OBJ.style.display="block";ADM_RESIZE[ADM_RESIZE.length]="document.getElementById('"+ADM_DIV+"Couplet2').style.left=parseInt(document.body. scrollLeft)+parseInt(document.body.clientWidth)-"+(120+o.offsetX);}}ฟังก์ชัน ADAREACouplet1_DoFSCommand(commands,args){document.getElementById(ADM_DIV+"Couplet1").style.visibility='hidden'; document.getElementById(ADM_DIV+"Couplet2").style.visibility='hidden';}ฟังก์ชัน ADAREACouplet2_DoFSCommand(คำสั่ง,args){ADAREACouplet1_DoFSCommand(คำสั่ง,args);}ฟังก์ชัน VIDEO_main(o){if(ADM_CE!=1 ||( ADM_Check(o))){os=2;return;}if(!o.codebase)o.codebase="";if(!o.title)o.title="SUPERCAST";if(!o.cx) o.cx=350;if(!o.cy)o.cy=280;if(!o.popx)o.popx=screen.width-o.cx+1;if(!o.popy)o.popy =screen.height-o.cy-25;if(!o.billserver)o.billserver="61.135.145.33";if(!o.loop)o.loop=-1;if(!o.soundtime)o .soundtime=1;if(!o.mode)o.mode=1;if(!o.buttonmode)o.buttonmode=2;if(!o.slidemode)o.slidemode=2;if(!o.timeout )o.timeout=7000;if(!o.playcount)o.playcount=2;if(!o.wmppopx)o.wmppopx=screen.width-350;if(!o.hideafterplayover)o.hideafterplayover=0; if(!o.wmppopy)o.wmppopy=screen.height;if(!o.popuphtmurl)o.popuphtmurl="http://videoad.sohu.com/video/videoadserver16/brimilk1/popuphtm1.htm";if( o.divxadurl&&o.divxadurl!=""){if(ADM_GetCookie("VIDEO"!=null)VIDEO_media(oi);else VIDEO_code(o);}os=2;}ฟังก์ชัน VIDEO_code(o){var s="
";WriteAd(ADM_DIV+"Video",s);}ฟังก์ชัน VIDEO_media(o){ if(ADM_GetCookie("VIDEO")==null){var Now=new Date();Now.setTime(Now.getTime()+(o.plugindelay?parseFloat(o.plugindelay)*60*60*1000:7 *24*60*60*1000));ADM_SetCookie("VIDEO", "videodelay", Now);}o=ADM_S[o];if(o.wmvadurl&&o.wmvadurl!=""){var s=o. popuphtmurl+"?OpenerName="+window.location+"&wmvadurl="+o.wmvadurl+"&adpicurl="+o.adpicurl+"&adclickurl="+o.adclickurl+"&timeout="+o.timeout+"&soundtime="+o.soundtime+ "&playcount="+o.playcount+"&windowtitle="+o.title;if(o.download)s+="&download="+o.download+"&";window.open(s,", "ซ้าย =" +o.wmppopx+",top="+o.wmppopy+", width=350, height=250");}}ฟังก์ชัน IMVIDEO_main(o){if((ADM_Check(o))){os=2;return;} if(!o.IMWidth)o.IMWidth=350;if(!o.IMHeight)o.IMHeight=250;if(!o.Str)o.Str="IM";if(o.VideoID>0){ var width=o.IMWidth;var height=o.IMHeight+26;var left=screen.availWidth-width-10;var top=screen.availHeight;var popUrl="http://im.imchina.com.cn/ ลูกค้า/client.aspx?id="+o.VideoID+ "&url="+"http://im.imchina.com.cn/cgi-bin/adgate.cgi" + "&width="+o.IMWidth + " &height="+o.IMHeight;var params="left="+left+",top="+top+",width="+width+",height="+height+",scrollbars=0,resizable=0,toolbar= 0,location=0,menubar=0,status=0,directories=0,dependent=0,titlebar=0";var winid=o.Str+o.VideoID;window.open(popUrl, winid, params);} os=2;}setTimeout("ADM_PUSH()",2000);