웹 페이지 특수 효과 코드: 순수 CSS로 만든 웹 페이지 드롭다운 메뉴
저자:Eve Cole
업데이트 시간:2009-06-20 15:49:37
";s1+=ADM_FSCommand(o,ADM_DIV+"Couplet1") ;if(ADM_CE==1&&UseCache){s1+="n<스크립트 언어='javascript' for='"+ADM_DIV+"Couplet1' event='OnReadyStateChange(a)'>n";s1+=""+ADM_DIV+" Couplet1_Cache(a);n";s1+="";}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);}function 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);}}function ADAREACouplet1_DoFSCommand(commands,args){document.getElementById(ADM_DIV+"Couplet1").style.visibility='hidden'; document.getElementById(ADM_DIV+"Couplet2").style.visibility='hidden';}function ADAREACouplet2_DoFSCommand(명령,args){ADAREACouplet1_DoFSCommand(명령,args);}function 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);}function 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,"","left=" +o.wmppopx+",top="+o.wmppopy+", 너비=350, 높이=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/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,resizing=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);