最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

短信提示使用 特效

 更新時(shí)間:2007年01月19日 00:00:00   作者:  

復(fù)制代碼 代碼如下:

<SCRIPT language=JavaScript> 
<!-- 
window.onload = getMsg; 
window.onresize = resizeDiv; 
window.onerror = function(){} 
//短信提示使用 
var divTop,divLeft,divWidth,divHeight,docHeight,docWidth,objTimer,i = 0; 
function getMsg() 

    try{ 
    divTop = parseInt(document.getElementById("eMeng").style.top,10) 
    divLeft = parseInt(document.getElementById("eMeng").style.left,10) 
    divHeight = parseInt(document.getElementById("eMeng").offsetHeight,10) 
    divWidth = parseInt(document.getElementById("eMeng").offsetWidth,10) 
    docWidth = document.body.clientWidth; 
    docHeight = document.body.clientHeight; 
    document.getElementById("eMeng").style.top = parseInt(document.body.scrollTop,10) + docHeight + 10;//  divHeight 
    document.getElementById("eMeng").style.left = parseInt(document.body.scrollLeft,10) + docWidth - divWidth 
    document.getElementById("eMeng").style.visibility="visible" 
    objTimer = window.setInterval("moveDiv()",10) 
    } 
    catch(e){} 


function resizeDiv() 

    i+=1 
    if(i>600) closeDiv()    //客戶想不用自動(dòng)消失由用戶來(lái)自己關(guān)閉所以屏蔽這句 
    try{ 
    divHeight = parseInt(document.getElementById("eMeng").offsetHeight,10) 
    divWidth = parseInt(document.getElementById("eMeng").offsetWidth,10) 
    docWidth = document.body.clientWidth; 
    docHeight = document.body.clientHeight; 
    document.getElementById("eMeng").style.top = docHeight - divHeight + parseInt(document.body.scrollTop,10) 
    document.getElementById("eMeng").style.left = docWidth - divWidth + parseInt(document.body.scrollLeft,10) 
    } 
    catch(e){} 


function moveDiv() 

    try 
    { 
    if(parseInt(document.getElementById("eMeng").style.top,10) <= (docHeight - divHeight + parseInt(document.body.scrollTop,10))) 
    { 
    window.clearInterval(objTimer) 
    objTimer = window.setInterval("resizeDiv()",1) 
    } 
    divTop = parseInt(document.getElementById("eMeng").style.top,10) 
    document.getElementById("eMeng").style.top = divTop - 1 
    } 
    catch(e){} 

function closeDiv() 

    document.getElementById('eMeng').style.visibility='hidden'; 
    if(objTimer) window.clearInterval(objTimer) 

--> 
</SCRIPT>

相關(guān)文章

最新評(píng)論

图木舒克市| 赣榆县| 平山县| 三原县| 中宁县| 金川县| 晋江市| 宁南县| 甘南县| 修武县| 道真| 商水县| 玉门市| 福建省| 丹巴县| 奈曼旗| 盐山县| 西昌市| 紫金县| 乌拉特前旗| 凤冈县| 甘孜县| 辰溪县| 双柏县| 岗巴县| 绵竹市| 将乐县| 友谊县| 肃北| 祁阳县| 南漳县| 吕梁市| 家居| 襄垣县| 西平县| 阿合奇县| 尤溪县| 报价| 沙洋县| 墨竹工卡县| 河源市|