css javascript仿百度空間,新浪部落格右下角浮動對話方塊

來源:互聯網
上載者:User
提示:您可以先修改部分代碼再運行

css javascript仿百度空間,新浪部落格右下角浮動對話方塊<html xmlns="http://www.111cn.net/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>css javascript仿百度空間,新浪部落格右下角浮動對話方塊</title><style type="text/css">#haoetv{position:fixed!important;position:absolute;right:10px;bottom:10px;top:expression(offsetParent.scrollTop+offsetParent.clientHeight-250);cursor:pointer;width:285px;*height:450px;z-index:99;text-align:left;padding-bottom:10px;/*border:2px solid #A5D1D1;*/padding:45px 10px 10px 5px;background:url(yun_qi_img/a.gif) no-repeat;}#haoetv ul{margin:0px;padding-left:10px;}#haoetv ul li{line-height:18px;list-style:none;padding:0px;margin:0px;list-style-position:outside;padding-left:1px;}#haoetv ul li a{font-size:12px;text-decoration:none;color:#000000;}#close{position:fixed!important;position:absolute;right:15px;bottom:0;top:expression(offsetParent.scrollTop+offsetParent.clientHeight-255);cursor:pointer;z-index:999;float:right;height:275px;*height:450px;margin:15px 10px 0 20px;}#close img{border:0px;}</style></head><body><div class="divShow" id="divShow"><ul><li>新浪部落格右下角提示視窗代碼</li><li>javascript無法屏蔽的網頁右下角浮動視窗效果</li><li>新浪部落格右下角廣告代碼</li><li>新浪部落格的提示視窗</li><li>兼職多瀏覽器右下角浮動效果</li><li>仿百度空間右下角懸浮視窗代碼</li><li>javascript仿window多視窗案頭效果(附類比alert()提示.及confirm())</li><li>js右下角浮動視窗代碼</li><li>右下角pop視窗代碼</li><li>新浪女性頻道圖片輪換效果</li></ul></div><script language="javascript">function getElementByClass(){ var aboutCn = document.getElementById('divShow').innerHTML;if( aboutCn !='' || aboutCn.length>10 ){document.getElementById('haoetv').innerHTML =aboutCn;}else{hidejs();}}function hidejs(){ document.getElementById('haoetv').style.display='none'; document.getElementById('close').style.display='none';}document.write('<div id="haoetv"></div><div id="close" ></div></div>');getElementByClass();</script>本站原創教程,轉哉註明來源www.111cn.net/js_a/js.html</body></html>
提示:您可以先修改部分代碼再運行
相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.