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


Posted in Javascript onApril 02, 2007

<!--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¶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-->

Javascript 相关文章推荐
jscript之List Excel Color Values
Jun 13 Javascript
jQuery的slideToggle方法实例
May 07 Javascript
使用 Node.js 做 Function Test实现方法
Oct 25 Javascript
node.js中的url.format方法使用说明
Dec 10 Javascript
jQuery实现在新增加的元素上添加事件方法案例分析
Feb 09 Javascript
canvas简单快速的实现知乎登录页背景效果
May 08 Javascript
bootstrap table单元格新增行并编辑
May 19 Javascript
webpack配置打包后图片路径出错的解决
Apr 26 Javascript
vue列表单项展开收缩功能之this.$refs的详解
May 05 Javascript
记录一次开发微信网页分享的步骤
May 07 Javascript
js实现整体缩放页面适配移动端
Mar 31 Javascript
解决vue使用vant下拉框van-dropdown-item 绑定title值不变问题
Aug 05 Javascript
js prototype 格式化数字 By shawl.qiu
Apr 02 #Javascript
JXTree对象,读取外部xml文件数据,生成树的函数
Apr 02 #Javascript
新浪中用来显示flash的函数
Apr 02 #Javascript
我也种棵OO树JXTree[js+css+xml]
Apr 02 #Javascript
javascript中获取选中对象的类型
Apr 02 #Javascript
javascript实现动态增加删除表格行(兼容IE/FF)
Apr 02 #Javascript
在IE中调用javascript打开Excel的代码(downmoon原作)
Apr 02 #Javascript
You might like
PHP聊天室技术
2006/10/09 PHP
PHP开发过程中常用函数收藏
2009/12/14 PHP
PHP strtok()函数的优点分析
2010/03/02 PHP
php防止sql注入简单分析
2015/03/18 PHP
php计算税后工资的方法
2015/07/28 PHP
php创建桌面快捷方式实现方法
2015/12/31 PHP
Thinkphp微信公众号支付接口
2016/08/04 PHP
PHP的mysqli_set_charset()函数讲解
2019/01/23 PHP
extjs fckeditor集成代码
2009/05/10 Javascript
使用javascript实现ListBox左右全选,单选,多选,全请
2013/11/07 Javascript
jQuery实现的五子棋游戏实例
2015/06/13 Javascript
JQuery工具函数汇总
2015/06/15 Javascript
基于javascript实现页面加载loading效果
2020/09/15 Javascript
javascript实现电脑和手机版样式切换
2017/11/10 Javascript
vue 弹框产生的滚动穿透问题的解决
2018/09/21 Javascript
Vue 实现从小到大的横向滑动效果详解
2019/10/16 Javascript
bootstrap-table后端分页功能完整实例
2020/06/01 Javascript
javascript实现打砖块小游戏(附完整源码)
2020/09/18 Javascript
[03:45]Newbee战队出征西雅图 决战2016国际邀请赛
2016/08/02 DOTA
Python Mysql自动备份脚本
2008/07/14 Python
Python使用Beautiful Soup包编写爬虫时的一些关键点
2016/01/20 Python
Python while 循环使用的简单实例
2016/06/08 Python
Python数据类型中的“冒号“[::]——分片与步长操作示例
2018/01/24 Python
对python实时得到鼠标位置的示例讲解
2018/10/14 Python
python 构造三维全零数组的方法
2018/11/12 Python
python flask搭建web应用教程
2019/11/19 Python
详解Python修复遥感影像条带的两种方式
2020/02/23 Python
在spyder IPython console中,运行代码加入参数的实例
2020/04/20 Python
python代码如何注释
2020/06/01 Python
使用CSS3制作饼状旋转载入效果的实例
2015/06/23 HTML / CSS
匡威西班牙官网:Converse西班牙
2019/10/01 全球购物
会计实习生工作总结的自我评价
2013/10/07 职场文书
优秀实习自我鉴定
2013/12/04 职场文书
600字作文之感受大自然
2019/11/27 职场文书
基于HTML十秒做出淘宝页面
2021/10/24 HTML / CSS
mysql timestamp比较查询遇到的坑及解决
2021/11/27 MySQL