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

📄 fly_popup3.js

📁 机票预定系统 各个模块的设计-ticket reservation systems detailed design system modules of the design
💻 JS
字号:
try{
	aryADSeq.push("doCouplet()");
}catch(e){
	doCouplet();
}	
	var iAdTimerID = 0;
	
	function trigerAD(){
		iAdTimerID = setTimeout(startAD,10);
	}
	
	function startAD(){
	
			clearTimeout(iAdTimerID);		
			var oFunAD = aryADSeq.shift();
			
			if (oFunAD != null){
				eval(oFunAD.sFuncName);
				if (!oFunAD.bWaitTriger){					
					iAdTimerID = setTimeout(startAD, oFunAD.lDelay);		
				}
			}	
	
	}

	try{
	
		var haveFullScreen = false;
		try{
			haveFullScreen = SYfullscreen;
		}catch(e){}
		
		if (haveFullScreen){
			iAdTimerID = setTimeout(startAD, 6000);
		}else{
			startAD();
		}
	}catch(e){}
document.write("<div id=floatAD style='LEFT: 883px; WIDTH: 112px; POSITION: absolute; TOP: 564px; HEIGHT: 38px'><a href='ktzj.htm' target='_blank'><img src='images/ktzj.gif' width=128 height=128 border=0></a></div>");                                                                            
var xPos = 520;                                          
var yPos = document.body.clientHeight;                                          
var step = 1;                                          
var delay = 30;                                         
var height = 0;                                          
var Hoffset = 0;                                          
var Woffset = 0;                                          
var yon = 0;                                          
var xon = 0;                                          
var pause = true;                                          
var interval;                                          
floatAD.style.top = yPos;                                          
function changePos() {                                          
width = document.body.clientWidth;                                          
height = document.body.clientHeight;                                          
Hoffset = floatAD.offsetHeight;                                          
Woffset = floatAD.offsetWidth;                                          
floatAD.style.left = xPos + document.body.scrollLeft;                                          
floatAD.style.top = yPos + document.body.scrollTop;                                          
if (yon) {                                          
yPos = yPos + step;                                          
}                                          
else {                                          
yPos = yPos - step;                                          
}                                          
if (yPos < 0) {                                          
yon = 1;                                          
yPos = 0;                                          
}                                          
if (yPos >= (height - Hoffset)) {                                          
yon = 0;                                          
yPos = (height - Hoffset);                                          
}                                          
if (xon) {                                          
xPos = xPos + step;                                          
}                                          
else {                                          
xPos = xPos - step;                                          
}                                          
if (xPos < 0) {                                          
xon = 1;                                          
xPos = 0;                                          
}                                          
if (xPos >= (width - Woffset)) {                                          
xon = 0;                                          
xPos = (width - Woffset);                                          
}                                          
}                                          
function start() {                                          
floatAD.visibility = "visible";                                          
interval = setInterval('changePos()', delay);                                          
}                                          
start();                                          
// End -->                                          

⌨️ 快捷键说明

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