手机
当前位置:查字典教程网 >编程开发 >Javascript教程 >新浪刚打开页面出来的全屏广告代码
新浪刚打开页面出来的全屏广告代码
摘要://全屏开始if(today.getHours()>='8'&&today.getHours()='14'&&today.getHours(...

<>

<tablewidth=760border=0cellspacing=0cellpadding=0><tr><tdalign=center><>

<>

<scriptlanguage="JavaScript">

<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

}<>

<>//全屏开始

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

}<>

<>//全屏开始

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

}<>

<>//全屏开始

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

}<>

<>//全屏开始

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

}<>

}}}

testdate();

varMSIE=navigator.userAgent.indexOf("MSIE");

varOPER=navigator.userAgent.indexOf("Opera");

if(SYfullscreen==true)

{

if(document.all&&MSIE!=-1&&OPER==-1){

//thisisa4.xbrowser,no?

functionchangediv(){

document.getElementById('hiddenLayer').style.display="block";

document.getElementById('interstitialFrame').src=adInterPath;

setTimeout("hidediv()",5000)

}

functionhidediv(){

document.getElementById('hiddenLayer').style.display="none";

SYtag=2;

}

functionshowfull(){

setTimeout("changediv()",2000);

}

showfull();

}

}

//-->

</script>

<scriptlanguage="JavaScript">

<>

</script>

<>

<></td></tr></table>

<>

【新浪刚打开页面出来的全屏广告代码】相关文章:

网页里控制图片大小的相关代码

js实现从右向左缓缓浮出网页浮动层广告的方法

JavaScript数组去重的3种方法和代码实例

EasyUI闪屏EasyUI页面加载提示(原理+代码+效果图)

必须点击广告才能进入的代码

jQuery插件支持同一页面被多次调用

设为首页 加入收藏的js代码

Javascript实现广告页面的定时关闭

让文字在页面上90度,180度翻转

jquery右下角自动弹出可关闭的广告层

精品推荐
分类导航