原創(chuàng)" />

欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

站長必須要知道的javascript廣告代碼 原創(chuàng)

原創(chuàng)  更新時間:2007年05月30日 00:00:00   原創(chuàng) 作者:  
參考了sina的代碼,想出來的一個代碼,請大家使用,不要傳播,轉(zhuǎn)載請注明:來自腳本之家
<!--
//時間計算
var showit=false;
var today=new Date();
var urlpath;
function testdate()
{
urlpath='http://www.scripthome.net/bbs';showit=true
if(today.getHours()>='10' && today.getHours()<'12')
{    
urlpath='http://www.dbjr.com.cn';showit=true
}
}
testdate();

var MSIE=navigator.userAgent.indexOf("MSIE");
var OPER=navigator.userAgent.indexOf("Opera");
if(showit==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 = urlpath;
    setTimeout("hidediv()",5000)
}
function hidediv(){
    document.getElementById('hiddenLayer').style.display="none";
    SYtag=2;
}
function showfull(){
    setTimeout("changediv()",2000); 
}
showfull();
}}
if(showit==true)
{
    if (document.all && MSIE!=-1 && OPER==-1) { 
    // this is a 4.x browser, no? 
        document.write('<DIV ID="hiddenLayer" style="display: none; height: 0">');

        expandableIframe = '<IFRAME id="interstitialframe" width=0 HEIGHT=0 NORESIZE SCROLLING=No FRAMEBORDER=0 MARGINHEIGHT=0 MARGINWIDTH=0></IFRAME>';
        document.write(expandableIframe);
}
document.write('</div>');
}
// -->

相關文章

最新評論