⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 100-300.js

📁 再做嵌入式开发的时候
💻 JS
字号:
document.ns = navigator.appName == "Microsoft Internet Explorer" 
var imgheight
var adid=1469
window.screen.width>800 ? imgheight=80:imgheight=80
 function myload()
{
myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
myright.style.left=document.body.offsetWidth-100;
mymove();
}
 function mymove()
 {
 myright.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight-460;
 myright.style.left=document.body.scrollLeft+document.body.offsetWidth-142;
 setTimeout("mymove();",50)
 }
 
var imgleft
window.screen.width>800 ? imgheight=120:imgheight=120
window.screen.width>800 ? imgleft=2:imgleft=0
function myleftload()
{
myleft.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight
myleft.style.left=imgleft;
leftmove();
}
function leftmove()
 { 
 myleft.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight-460
 myleft.style.left=imgleft;
 setTimeout("leftmove();",50)
 }
 function closeDiv(direct) {
	 if(direct=="right") {
		 document.all.myright.style.display='none';
	 }
	 else if(direct=="left") {
		 myleft.style.display='none';
	 }
 }
 
if(document.ns){ 

	document.write("<div id=myright style='position: absolute;width:80;top:0;left:578;visibility: visible;z-index: 1'>");	
	document.write("<table width='100' border='0' cellspacing='4' cellpadding='0'>");
	document.write("  <tr>");
	document.write("    <td align='center' height='300'>");
	
	document.write("<iframe src=http://smsad.hexun.com/adcc/adview.aspx?user=0|"+adid+"|"+hexunsmsid+"|23430|0&url=&exp=&border=0&local=yes&temp1=&temp2=&dest width='100' height='300' marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>");
		
	/*document.write("  <tr>");
	document.write("    <td align='center'><a href='javascript:' onclick=closeDiv('left')>关闭</a></td>");
	document.write("  </tr>");*/
	document.write("</td></tr></table>");
	document.write("</div>");
	myload() 
}
 
if(document.ns){

	document.write("<div id=myleft style='position: absolute;width:80;top:0;left:5;visibility: visible;z-index: 1'>");
	document.write("<table width='106' border='0' cellspacing='4' cellpadding='0'>");
	document.write("  <tr>");
	document.write("    <td align='center' height='300'>");
	
	document.write("<iframe src=http://smsad.hexun.com/adcc/adview.aspx?user=0|"+adid+"|"+hexunsmsid+"|23430|0&url=&exp=&border=0&local=yes&temp1=&temp2=&dest width='100' height='300' marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>");
	/*document.write("  <tr>");
	document.write("    <td align='center'><a href='javascript:' onclick=closeDiv('right')>关闭</a></td>");
	document.write("  </tr>");*/
	document.write("</td></tr></table>");
	document.write("</div>");
	myleftload()
}
//}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -