x
Yes
No
Do you want to visit DriveHQ English website?
Inicio
Características
Precios
Prueba gratuita
Software cliente
Acerca de nosotros
Servidor de archivos
|
Solución de copias de seguridad
|
Servidor FTP
|
Servidor de correo electrónico
|
Alojamiento web
|
Software cliente
Servidor de archivos
Solución de copia de seguridad
Servidor FTP
Servidor de correo electrónico
Alojamiento web
Software cliente
x5engine.js - Hosted on DriveHQ Cloud IT Platform
Arriba
Subir
Descargar
Compartir
Publicar
Nueva carpeta
Nuevo archivo
Copiar
Cortar
Eliminar
Pegar
Clasificación
Actualizar
Ruta de la carpeta: \\Yawben\UN Agencies in Ghana\res\x5engine.js
Girar
Efecto
Propiedad
Historial
// Incomedia WebSite X5 2007. All rights reserved. var imBrw_op=window.opera; var imBrw_ie=document.all && !imBrw_op; var imBrw_ns=document.getElementById && !imBrw_ie; var imEffectEnabled = /MSIE [678]/.test(navigator.userAgent) && navigator.platform == "Win32"; var imHoverToEnable = /MSIE (5\.5)|[6]/.test(navigator.userAgent) && navigator.platform == "Win32"; var mbTipOk = false; function imGetLayer(sName) {return document.all?document.all[sName]:document.getElementById?document.getElementById(sName) : "";} function imIEBody(){return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body} function imOpenLocation(sNewLocation){ document.location = sNewLocation; } function imGetParameter(sParamName) { var sQueryString = ""; var iStart = 0; var iEnd = 0; if (window.top.location.search != 0) sQueryString = unescape(window.top.location.search); sParamName = sParamName + "="; if (sQueryString.length > 0) { iStart = sQueryString.indexOf(sParamName); if ( iStart != -1 ) { iStart += sParamName.length; iEnd = sQueryString.indexOf("&",iStart); if (iEnd == -1) iEnd = sQueryString.length; return sQueryString.substring(iStart,iEnd); } return null; } } document.onmouseover=imTipMove; function imTipShow(oLink,sTitle,iWidth,sImage,sBackColor,sForeColor,sBorderdColor,iTextSize,bDoFade) { if (imBrw_ns||imBrw_ie){ var oTip=imGetLayer("imToolTip"); oLink.title = ''; if (sImage != "") sImage = "
"; sStyle = (sImage == "") ? "text-align: left; white-space: nowrap;": "text-align: center; width: "+iWidth+"px;"; oTip.innerHTML = "
" + sImage + sTitle +"
"; mbTipOk=true; if (imBrw_ie || imBrw_ns || imBrw_op) { iFadeStep=0; if (bDoFade) imTipDoFade(); } } return false; } function imTipHide(){ if (imBrw_ns||imBrw_ie){ var oTip=imGetLayer("imToolTip"); mbTipOk=false; oTip.style.visibility='hidden'; oTip.style.left='-1000px'; } } function imTipMove(e){ if (mbTipOk) { var oTip=imGetLayer("imToolTip"); var offsetxpoint=-60; var offsetypoint=20; var curX=(imBrw_ns)? e.pageX : event.clientX + imIEBody().scrollLeft; var curY=(imBrw_ns)? e.pageY : event.clientY + imIEBody().scrollTop; var rightedge=imBrw_ie&&!imBrw_op? imIEBody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20; var bottomedge=imBrw_ie&&!imBrw_op? imIEBody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20; var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000; if (rightedge
iMMHeaderSize ? document.documentElement.scrollTop - iMMHeaderSize : 0; else if (document.body && document.body.scrollTop) iMMEnd = document.body.scrollTop > iMMHeaderSize ? document.body.scrollTop - iMMHeaderSize : 0; else iMMEnd = 0; if(iMMCurPos > iMMEnd) iMMEndDisplace = -(imMMVel-1); else if (iMMCurPos < iMMEnd) iMMEndDisplace = (imMMVel-1); iMMCurPos += ((iMMEnd - iMMCurPos + iMMEndDisplace)/imMMVel); iMMCurPos = parseInt(iMMCurPos); imGetLayer("imMnMn").style.paddingTop = iMMCurPos + 'px'; if (iMMCurPos == iMMEnd){ clearTimeout(oMMTime); oMMTime = null; } else{ clearTimeout(oMMTime); oMMTime = setTimeout("imMMScrollMenu()", iMMTimerInt); } } function imMMMenu(){ if(!oMMTime) oMMTime = setTimeout("imMMScrollMenu()", iMMTimerInt); } function imMMInit(iMMVel){ iMMHeaderSize = imGetLayer("imMenuMain").offsetTop; iMMFooterSize = imGetLayer("imFooter").offsetTop; imMMVel = iMMVel; iTimerInt = 5; iMMCurPos = 0; imGetLayer("imMnMn").style.paddingTop = iMMCurPos + 'px'; window.onscroll = imMMMenu; } function imZIZoom(sImage,iHeight,iWidth,sDescr) { var imZIdiv_Backg = imGetLayer("imZIBackg"); var imZIdiv_Image = imGetLayer("imZIImage"); var imZIyScroll; var imZIwindowHeight; if (window.innerHeight && window.scrollMaxY) imZIyScroll = window.innerHeight + window.scrollMaxY; else if (document.body.scrollHeight > document.body.offsetHeight) imZIyScroll = document.body.scrollHeight; else imZIyScroll = document.body.offsetHeight; if (self.innerHeight) imZIwindowHeight = self.innerHeight; else if (document.documentElement && document.documentElement.clientHeight) imZIwindowHeight = document.documentElement.clientHeight; else if (document.body) imZIwindowHeight = document.body.clientHeight; imZIpageHeight = imZIyScroll < imZIwindowHeight ? imZIwindowHeight : imZIyScroll; if (self.pageYOffset) imZIyScroll = self.pageYOffset; else if (document.documentElement && document.documentElement.scrollTop) imZIyScroll = document.documentElement.scrollTop; else if (document.body) imZIyScroll = document.body.scrollTop; imZIdiv_Backg.style.top = '0px'; imZIdiv_Backg.style.height = (imZIpageHeight + 'px'); imZIdiv_Backg.style.zIndex = '2000'; var imZIImageTop = imZIyScroll + ((imZIwindowHeight - 35 - iHeight) / 2); var div_Descr = ""; if (sDescr!="") div_Descr = "
" + sDescr + "
"; imZIdiv_Backg.innerHTML = "
" + div_Descr + "
"; imZIdiv_Backg.style.display = "block"; } function imZIHide(){ imGetLayer("imZIBackg").style.display = "none"; imGetLayer("imZIImage").innerHtml = ""; } var moFGTime = null; var mFGMoving = new Array(); function imFGClickLR(iFGIndex,iFGBkSize,iFGEndBlock,iFGMaxBlock,iFGSpeed,iFGDir){ var oFGObj = imGetLayer("imFGImgList_" + iFGIndex); var imiLeft = parseInt(oFGObj.style.left); iFGEndBlock = iFGEndBlock <= iFGMaxBlock ? iFGEndBlock < 0 ? 0 : iFGEndBlock : iFGMaxBlock; if(Math.abs(imiLeft) == iFGEndBlock*iFGBkSize){ mFGMoving[iFGIndex] = null; return; } if(mFGMoving[iFGIndex] && mFGMoving[iFGIndex] != iFGDir) return; else mFGMoving[iFGIndex] = iFGDir; if(Math.abs(imiLeft) < iFGEndBlock*iFGBkSize && iFGDir==1){ if(Math.abs(imiLeft - iFGSpeed) > iFGEndBlock*iFGBkSize ) iFGSpeed = imiLeft+iFGEndBlock*iFGBkSize; oFGObj.style.left = imiLeft - iFGSpeed + "px"; setTimeout("imFGClickLR(" + iFGIndex + "," + iFGBkSize + "," + iFGEndBlock + "," + iFGMaxBlock + "," + iFGSpeed + "," + iFGDir + ")",40); } else if(Math.abs(imiLeft) > iFGEndBlock*iFGBkSize && imiLeft <= 0 && iFGDir==2){ if(Math.abs(imiLeft + iFGSpeed) < iFGEndBlock*iFGBkSize || (imiLeft + iFGSpeed) > iFGEndBlock*iFGBkSize) iFGSpeed = Math.abs(imiLeft)-iFGEndBlock*iFGBkSize; oFGObj.style.left = imiLeft + iFGSpeed + "px"; setTimeout("imFGClickLR(" + iFGIndex + "," + iFGBkSize + "," + iFGEndBlock + "," + iFGMaxBlock + "," + iFGSpeed + "," + iFGDir + ")",40); } } function imFGClickUD(iFGIndex,iFGBkSize,iFGEndBlock,iFGMaxBlock,iFGSpeed,iFGDir){ var oFGObj = imGetLayer("imFGImgList_" + iFGIndex); var imiTop = parseInt(oFGObj.style.top); //set bound iFGEndBlock = iFGEndBlock <= iFGMaxBlock ? iFGEndBlock < 0 ? 0 : iFGEndBlock : iFGMaxBlock; if(Math.abs(imiTop) == iFGEndBlock*iFGBkSize){ mFGMoving[iFGIndex] = null; return; } if(mFGMoving[iFGIndex] && mFGMoving[iFGIndex] != iFGDir) return; else mFGMoving[iFGIndex] = iFGDir; if(Math.abs(imiTop) < iFGEndBlock*iFGBkSize && iFGDir==2){ if(Math.abs(imiTop - iFGSpeed) > iFGEndBlock*iFGBkSize ) iFGSpeed = parseInt((imiTop+iFGEndBlock*iFGBkSize)); oFGObj.style.top = imiTop - iFGSpeed + "px"; setTimeout("imFGClickUD(" + iFGIndex + "," + iFGBkSize + "," + iFGEndBlock + "," + iFGMaxBlock + "," + iFGSpeed + "," + iFGDir + ")",40); } else if(Math.abs(imiTop) > iFGEndBlock*iFGBkSize && imiTop <= 0 && iFGDir==1){ if(Math.abs(imiTop + iFGSpeed) < iFGEndBlock*iFGBkSize || (imiTop + iFGSpeed) > iFGEndBlock*iFGBkSize) iFGSpeed = parseInt((Math.abs(imiTop)-iFGEndBlock*iFGBkSize)); oFGObj.style.top = imiTop + iFGSpeed + "px"; setTimeout("imFGClickUD(" + iFGIndex + "," + iFGBkSize + "," + iFGEndBlock + "," + iFGMaxBlock + "," + iFGSpeed + "," + iFGDir + ")",40); } } function imFGMove(iFGIndex,iFGSpeed,iFGType,iFGCmd){ clearTimeout(moFGTime); if(iFGType < 1 || iFGType > 4) return; var imDataObj = imGetLayer("imFGImgList_" + iFGIndex); var imDataCont = imGetLayer("imFGImgCont_" + iFGIndex); var imiLeft = parseInt(imDataObj.style.left); var imiTop = parseInt(imDataObj.style.top); var imiSize = imGetLayer("imFGItem_" + iFGIndex + "_" + 1 ).offsetHeight; var imiTWBlock = parseInt(imDataObj.offsetWidth/imiSize); var imiTHBlock = parseInt(imDataObj.offsetHeight/imiSize); switch(iFGType){ case 1:{ if (imiLeft - iFGSpeed >= imDataCont.offsetWidth - imDataObj.offsetWidth) switch(iFGCmd){ case 0: if(mFGMoving[iFGIndex]) return; imDataObj.style.left = imiLeft - iFGSpeed + "px"; break; case 1: imFGClickLR(iFGIndex,imiSize,parseInt(Math.abs(imiLeft/imiSize)+1), imiTWBlock-parseInt(imDataCont.offsetWidth/imiSize), iFGSpeed,1); return; default: imFGClickLR(iFGIndex,imiSize, parseInt(Math.abs(imiLeft/imiSize)+parseInt(imDataCont.offsetWidth/imiSize)), imiTWBlock-parseInt(imDataCont.offsetWidth/imiSize), iFGSpeed, 1); return; } break; } case 2 :{ if (imiLeft + iFGSpeed < 0) switch(iFGCmd){ case 0: if(mFGMoving[iFGIndex]) return; imDataObj.style.left = imiLeft + iFGSpeed + "px"; break; case 1 : imFGClickLR(iFGIndex,imiSize,parseInt(Math.abs(imiLeft/imiSize)), imiTWBlock-parseInt(imDataCont.offsetWidth/imiSize), iFGSpeed,2); return; default: imFGClickLR(iFGIndex,imiSize, parseInt(Math.abs(imiLeft/imiSize)-parseInt(imDataCont.offsetWidth/imiSize)), imiTWBlock-parseInt(imDataCont.offsetWidth/imiSize), iFGSpeed, 2); return; } else imDataObj.style.left = 0; break; } case 3 :{ if (imiTop + iFGSpeed < 0) switch(iFGCmd){ case 0 : if(mFGMoving[iFGIndex]) return; imDataObj.style.top = imiTop + iFGSpeed + "px"; break; case 1 : imFGClickUD(iFGIndex,imiSize,parseInt(Math.abs(imiTop/imiSize)), imiTHBlock-parseInt(imDataCont.offsetHeight/imiSize), iFGSpeed,1); return; default : imFGClickUD(iFGIndex,imiSize, parseInt(Math.abs(imiTop/imiSize)-parseInt(imDataCont.offsetHeight/imiSize)), imiTHBlock-parseInt(imDataCont.offsetHeight/imiSize), iFGSpeed, 1); return; } else{ imDataObj.style.top = 0; return; } break; } case 4 :{ if (imiTop - iFGSpeed >= imDataCont.offsetHeight - imDataObj.offsetHeight) switch(iFGCmd){ case 0 : if(mFGMoving[iFGIndex]) return; imDataObj.style.top = imiTop - iFGSpeed + "px"; break; case 1 : imFGClickUD(iFGIndex,imiSize,parseInt(Math.abs(imiTop/imiSize))+1, imiTHBlock-parseInt(imDataCont.offsetHeight/imiSize), iFGSpeed,2); return; default: imFGClickUD(iFGIndex,imiSize, parseInt(Math.abs(imiTop/imiSize)+parseInt(imDataCont.offsetHeight/imiSize))+1, imiTHBlock-parseInt(imDataCont.offsetHeight/imiSize), iFGSpeed, 2); return; } } } moFGTime = setTimeout("imFGMove(" + iFGIndex + "," + iFGSpeed + "," + iFGType + "," + iFGCmd + ")", 50); } function imFGShow(iIndex,sImageSrc,iImageH,iDescH,sDescr,sLink,iEffect){ var div_FGMain = imGetLayer("imFGMain_" + iIndex); if (imEffectEnabled && iEffect != 0) { if (iEffect == 1) iEffect = Math.floor(Math.random()*73) + 2; div_FGMain.style.filter="progid:DXImageTransform.Microsoft."+msSSTrans[iEffect]; div_FGMain.filters.item(0).Apply(); } var iTop = parseInt((div_FGMain.offsetHeight-iImageH-iDescH)/2); var div_Descr = (iDescH == 0) ? "" : "
" + sDescr + "
"; div_FGMain.innerHTML = "
" + div_Descr; if (sLink!="#") { div_FGMain.onclick= function onclick(event) {location = sLink}; div_FGMain.style.cursor="pointer"; } else { div_FGMain.onclick=""; div_FGMain.style.cursor="default"; } if (imEffectEnabled && iEffect != 0) div_FGMain.filters.item(0).Play(); } function imMapSwap(oLI) { if(oLI.className == 'imMap_closed') oLI.className = 'imMap_open'; else oLI.className = 'imMap_closed'; } function imMapExpAll() { var a = document.getElementsByTagName('li'); for(var i = 0; i < a.length; i++) if(a[i].className == 'imMap_closed') a[i].className = 'imMap_open'; } function imMapCmpAll() { var a = document.getElementsByTagName('li'); for(var i = 0; i < a.length; i++) if(a[i].className == 'imMap_open') a[i].className = 'imMap_closed'; }
x5engine.js
Dirección de la página
Dirección del archivo
Anterior
109/109 Siguiente
Descargar
( 23 KB )
Comments
Total ratings:
0
Average rating:
No clasificado
of 10