欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

新浪刚打开页面出来的全屏广告代码

程序员文章站 2023-12-15 11:20:16
<!--xad_startx-->
<table width=760 border=0 cellspacing=0 cellpadding=0><tr><td align=center><!--全屏开始-->
<!--interstitial begin-->
<script language="javascript"> 
<!--
//时间计算
syfullscreen=false;
today=new date();
function testdate()
{
    if(today.getmonth()=='3') //是否为4月
        {
            if(today.getdate()=='2') //是否为2日

            {
<!--a5745ea6e29d-->//全屏开始
if(today.gethours()>='8' && today.gethours()<'9')
{    
    adinterpath='http://ad4.sina.com.cn/sina/ae/ad_src/fullscreen/fullscreenv2.html?http://ad.cn.doubleclick.net/clk;93805227;16509919;t?http://www-900.ibm.com/lenovoinfo/cn/promotion/t60/index.shtml${}http://ad4.sina.com.cn/200704/01/86609_homepage-full-screen-750x45.jpg';syfullscreen=true                                    
}<!--$$ zhuyan/2007-4-2 8:00:01 ~ 2007-4-2 8:59:59/b $-->
<!--8285ff5c4355-->//全屏开始
if(today.gethours()>='14' && today.gethours()<'15')
{    
    adinterpath='http://ad4.sina.com.cn/sina/ae/ad_src/fullscreen/fullscreenv2.html?http://sina.allyes.com/main/adfclick?db=sina&bid=75882,108025,108145&cid=0,0,0&sid=100374&advid=3750&camid=14562&show=ignore&url=http://adclient.dentsu.com.cn/html.ng/adspec=flash&adtype=single_dui_lian&affiliate=sina&campaignid=842&channel=aoyun_page&log=0&para;ms.styles=clickcmd?${}http://ad4.sina.com.cn/200703/31/86568_750450sinashou_quanping_xtl_0402.jpg';syfullscreen=true                                    
}<!--$$ limeng/2007-4-2 14:00:01 ~ 2007-4-2 14:59:59/b $-->
<!--b84a5994bbc2-->//全屏开始
if(today.gethours()>='15' && today.gethours()<'16')
{    
    adinterpath='http://ad4.sina.com.cn/sina/ae/ad_src/fullscreen/fullscreenv2.html?http://sina.allyes.com/main/adfclick?db=sina&bid=75476,107585,107704&cid=0,0,0&sid=99961&advid=2946&camid=14496&show=ignore&url=http://ad.cn.doubleclick.net/clk;88882501;16222262;g?http://www.cadillac.com.cn/?http://www.cadillac.com.cn/adcampaign/campredirect.asp?rsid=1${}http://ad4.sina.com.cn/200703/30/86386_cadillac-hp-0402-qp.jpg';syfullscreen=true                                    
}<!--$$ laojr/2007-4-2 15:00:01 ~ 2007-4-2 15:59:59/b $-->
<!--fd003bb2c5cb-->//全屏开始
if(today.gethours()>='17' && today.gethours()<'18')
{    
    adinterpath='http://ad4.sina.com.cn/sina/ae/ad_src/fullscreen/fullscreenv2.html?http://sina.allyes.com/main/adfclick?db=sina&bid=75655,107782,107902&cid=0,0,0&sid=100144&advid=2596&camid=14536&show=ignore&url=http://ad.cn.doubleclick.net/clk;94651959;16552362;v${}http://ad4.sina.com.cn/200703/30/86488_hsbc-hp-0402-qp.jpg';syfullscreen=true                                    
}<!--$$ laojr/2007-4-2 17:00:01 ~ 2007-4-2 17:59:59/b $-->
<!--512379652c91-->//全屏开始
if(today.gethours()>='16' && today.gethours()<'17')
{    
    adinterpath='http://ad4.sina.com.cn/sina/ae/ad_src/fullscreen/fullscreenv2.html?http://sina.allyes.com/main/adfclick?db=sina&bid=76124,108286,108406&cid=0,0,0&sid=100622&advid=2546&camid=14613&show=ignore&url=http://ad.cn.doubleclick.net/clk;91875638;16432190;q${}http://ad4.sina.com.cn/200704/02/86703_junyue-hp-0402-qp.jpg';syfullscreen=true                                    
}<!--$$ laojr/2007-4-2 16:00:01 ~ 2007-4-2 16:59:59/b $-->
}}}
testdate();

var msie=navigator.useragent.indexof("msie");
var oper=navigator.useragent.indexof("opera");
if(syfullscreen==true)
{
    if (document.all && msie!=-1 && oper==-1) { 
    // this is a 4.x browser, no? 
function changediv(){
    document.getelementbyid('hiddenlayer').style.display = "block";
    document.getelementbyid('interstitialframe').src = adinterpath;
    settimeout("hidediv()",5000)
}
function hidediv(){
    document.getelementbyid('hiddenlayer').style.display="none";
    sytag=2;
}
function showfull(){
    settimeout("changediv()",2000); 
}
showfull();
    }
}
// -->
</script>
<script language="javascript"> 
<!--
if(syfullscreen==true)
{
    if (document.all && msie!=-1 && oper==-1) { 
    // this is a 4.x browser, no? 
        document.write('<div id="hiddenlayer" style="display: none; height: 450px;">');

        expandableiframe = '<iframe id="interstitialframe" width=750 height=450 noresize scrolling=no frameborder=0 marginheight=0 marginwidth=0></iframe>';
        document.write(expandableiframe);

}
document.write('</div>');
}
// -->
</script>
<!--interstitial end-->
<!--全屏结束--></td></tr></table>
<!--xad_endx-->

上一篇:

下一篇: