/*
修改:解密clearbox.js文件(解密:https://www.jsjiami.com/jiemi.html)
功能:去掉弹窗底部的文本退出信息,把div id="CB_Text" 隐藏即可
*/
var CB_HideColor='#000';
var CB_HideOpacity=45;
var CB_OpacityStep=25;
var CB_WinBaseW=120;
var CB_WinBaseH=110;
var CB_WinPadd=1;
var CB_RoundPix=12;
var CB_Animation='double';
var CB_Jump_X= 60;
var CB_Jump_Y= 60;
var CB_AnimTimeout=5;
var CB_ImgBorder=2;
var CB_ImgBorderColor='#007DAD';
var CB_Padd=1;
var CB_ShowImgURL='no be';
var CB_ImgNum='be';
var CB_ImgNumBracket='[]';
var CB_SlShowTime=3;
var CB_PadT=10;
var CB_TextH=40;
var CB_Font='arial';
var CB_FontSize=12;
var CB_FontColor='#ff0000';
var CB_FontWeigth='normal';
var CB_CheckDuplicates='ki';
var CB_LoadingText='加载中...';
var CB_PicDir='clearbox/pic';
var CB_BodyMarginLeft=0;
var CB_BodyMarginRight=0;
var CB_BodyMarginTop=0;
var CB_BodyMarginBottom=0;
var CB_Preload='be';
var CB_TextNav='no be';
var CB_NavTextPrv='上一页';
var CB_NavTextNxt='下一页';
var CB_NavTextCls='退出';
var CB_PictureStart='start.png';
var CB_PicturePause='pause.png';
var CB_PictureClose='close.png';
var CB_PictureLoading='loading.gif';
/* 解密部分 */
var CB_version = '2.0';
var CB_Show = 1;
function CB_KeyPress(a) {
var b;
if (!a) var a = window.event;
if (a.keyCode) b = a.keyCode;
else if (a.which) b = a.which;
var c = String.fromCharCode(b);
if (CB_ClearBox == 'be') {
if (CB_ActImgId > 1 && (c == "%" || b == 37 || b == 52)) {
if (CB_SSTimer) {
CB_SlideShowJump()
}
CB_LoadImage(CB_ActImgId - 1);
return false
}
if (CB_ActImgId < CB_Gallery.length - 1 && (c == "'" || b == 39 || b == 54)) {
if (CB_SSTimer) {
CB_SlideShowJump()
}
CB_LoadImage(CB_ActImgId + 1);
return false
}
if ((c == " " || b == 32) && CB_IsAnimating == 0) {
if (CB_Gallery.length < 3) {
return false
}
if (CB_SS == 'start') {
CB_SSStart();
return false
} else {
CB_SSPause();
return false
}
}
if (c == "" || b == 27) {
CB_Close();
return false
}
if (b == 13) {
return false
}
} else {
if (CB_IsAnimating == 1 && (c == " " || b == 32 || b == 13)) {
return false
}
}
}
function CB_SSStart() {
CB_SlideS.style.display = 'none';
CB_SlideP.style.display = 'block';
CB_SS = 'pause';
CB_SlideB.style.display = 'block';
CB_SlideShow()
}
function CB_SSPause() {
CB_SlideP.style.display = 'none';
CB_SlideS.style.display = 'block';
CB_SlideShowStop()
}
CB_AnimTimeout = parseInt(CB_AnimTimeout);
if (CB_AnimTimeout < 5) {
CB_AnimTimeout = 5
}
CB_BodyMarginLeft = parseInt(CB_BodyMarginLeft);
if (CB_BodyMarginLeft < 0) {
CB_BodyMarginLeft = 0
}
CB_BodyMarginRight = parseInt(CB_BodyMarginRight);
if (CB_BodyMarginRight < 0) {
CB_BodyMarginRight = 0
}
CB_BodyMarginTop = parseInt(CB_BodyMarginTop);
if (CB_BodyMarginTop < 0) {
CB_BodyMarginTop = 0
}
CB_BodyMarginBottom = parseInt(CB_BodyMarginBottom);
if (CB_BodyMarginBottom < 0) {
CB_BodyMarginBottom = 0
}
CB_HideOpacity = parseInt(CB_HideOpacity);
if (CB_HideOpacity < 0 || CB_HideOpacity > 100) {
CB_HideOpacity = 70
}
CB_OpacityStep = parseInt(CB_OpacityStep);
if (CB_OpacityStep < 1 || CB_OpacityStep > CB_HideOpacity) {
CB_OpacityStep = 10
}
CB_WinBaseW = parseInt(CB_WinBaseW);
if (CB_WinBaseW < 25 || CB_WinBaseW > 1000) {
CB_WinBaseW = 120
}
CB_WinBaseH = parseInt(CB_WinBaseH);
if (CB_WinBaseH < 50 || CB_WinBaseH > 1000) {
CB_WinBaseH = 110
}
CB_WinPadd = parseInt(CB_WinPadd);
if (CB_WinPadd < 0) {
CB_WinPadd = 5
}
if (CB_Animation != 'ki' && CB_Animation != 'normal' && CB_Animation != 'double' && CB_Animation != 'warp') {
CB_Animation = 'double'
}
CB_Jump_X = parseInt(CB_Jump_X);
if (CB_Jump_X < 1 || CB_Jump_X > 99) {
CB_Jump_X = 50
}
CB_Jump_Y = parseInt(CB_Jump_Y);
if (CB_Jump_Y < 1 || CB_Jump_Y > 99) {
CB_Jump_Y = 50
}
CB_ImgBorder = parseInt(CB_ImgBorder);
if (CB_ImgBorder < 0) {
CB_ImgBorder = 1
}
CB_Padd = parseInt(CB_Padd);
if (CB_Padd < 0) {
CB_Padd = 2
}
if (CB_ShowImgURL != 'be' && CB_ShowImgURL != 'ki') {
CB_ShowImgURL = 'ki'
}
CB_PadT = parseInt(CB_PadT);
if (CB_PadT < 0) {
CB_PadT = 10
}
CB_RoundPix = parseInt(CB_RoundPix);
if (CB_RoundPix < 0) {
CB_RoundPix = 12
}
CB_TextH = parseInt(CB_TextH);
if (CB_TextH < 25) {
CB_TextH = 40
}
CB_FontSize = parseInt(CB_FontSize);
if (CB_FontSize < 6) {
CB_FontSize = 13
}
if (CB_ImgNum != 'be' && CB_ImgNum != 'ki') {
CB_ImgNum = 'be'
}
CB_SlShowTime = parseInt(CB_SlShowTime);
if (CB_SlShowTime < 1) {
CB_SlShowTime = 5
}
CB_SlShowTime *= 1000;
if (CB_CheckDuplicates != 'be' && CB_CheckDuplicates != 'ki') {
CB_CheckDuplicates = 'ki'
}
if (CB_Preload != 'be' && CB_Preload != 'ki') {
CB_Preload = 'be'
}
var CB_ActThumbSrc, CB_IEShowBug = '',
CB_pngie = 0,
CB_AllThumbsWidth, CB_ResizeTimer, CB_IsAnimating, CB_ImgWidthOrig, CB_ImgHeightOrig, CB_ieRPBug = 0,
CB_ie6RPBug = '',
CB_ClearBox, CB_AnimX, CB_AnimY, CB_BodyMarginX = CB_BodyMarginLeft + CB_BodyMarginRight,
CB_BodyMarginY = CB_BodyMarginTop + CB_BodyMarginBottom,
FF_ScrollbarBug, CB_Links, CB_SlideBW = 0,
CB_SSTimer, CB_SS = 'start',
CB_ii = 0,
CB_jj = 0,
CB_Hide, CB_LoadingImg, CB_JumpX, CB_JumpY, CB_MarginL, CB_MarginT, CB_Content, CB_ImgWidth = CB_WinBaseW,
CB_ImgHeight = CB_WinBaseH - CB_TextH,
CB_ImgRate, CB_Win, CB_Txt, CB_Img, CB_Prv, CB_Nxt, CB_ImgWidthOld, CB_ImgHeightOld, CB_ActImgId, CB_Gallery, CB_Count, CB_preImages, CB_Loaded, CB_Header, CB_Footer, CB_Left, CB_Right;
CB_PicDir += '/';
var IE = document.all ? true : false;
if (!IE) document.captureEvents(Event.MOUSEMOVE);
var CB_PrePictures = new Array();
CB_PrePictures[0] = new Image();
CB_PrePictures[0].src = CB_PicDir + 'noprv.gif';
CB_PrePictures[1] = new Image();
CB_PrePictures[1].src = CB_PicDir + 'loading.gif';
function OnLoad(a, b) {
if (typeof window.addEventListener != 'undefined') {
window.addEventListener(a, b, false)
} else if (typeof document.addEventListener != 'undefined') {
document.addEventListener(a, b, false)
} else if (typeof window.attachEvent != 'undefined') {
window.attachEvent("on" + a, b)
}
}
OnLoad('load', CB_Init);
function CB_Init() {
document.onkeypress = CB_KeyPress;
if (!document.getElementById('CB_All') && CB_Show != 0) {
document.body.style.position = "static";
var a = '<div class="CB_RoundPixBugFix" style="width: ' + CB_RoundPix + 'px; height: ' + CB_RoundPix + 'px;"></div>';
if (navigator.userAgent.indexOf("MSIE") != -1) {
CB_IEShowBug = '<img id="CB_ShowEtc" alt="" src="' + CB_PicDir + 'blank.gif" /><img id="CB_ShowTh" alt="" src="' + CB_PicDir + 'blank.gif" />'
} else {
CB_IEShowBug = '<div id="CB_ShowTh"></div><div id="CB_ShowEtc"></div>'
}
var b = document.getElementsByTagName("body").item(0);
var c = document.createElement("div");
c.setAttribute('id', 'CB_All');
b.appendChild(c);
document.getElementById('CB_All').innerHTML = '<table cellspacing="0" cellpadding="0" id="CB_Window"><tr id="CB_Header"><td id="CB_TopLeft">' + a + '</td><td id="CB_Top"></td><td id="CB_TopRight">' + a + '</td></tr><tr id="CB_Body"><td id="CB_Left"></td><td id="CB_Con
仰望星空77
- 粉丝: 2
- 资源: 5
最新资源
- iPicker-javascript
- 十字形声子晶体能带及传输特性
- comfyui-comfyui
- JeeSite Vue3-vue
- gitschool-linux常用命令大全
- cdroid-android
- PrimiHub-git命令
- dynamic-tp-can
- rubygem-rbvmomi-vmware
- gtmsAutoTestProject-conda创建新环境
- PhalApi-sql server
- 分布式驱动电动汽车十四自由度动力学模型综合了车辆的操纵模型和平顺模型,自由度包括四个车轮的垂向跳动和四个车轮绕旋转轴线的滚动,车体的六个自由度,包括在车体坐标系内的x,y,z的平动和绕x、y、z轴的翻
- ansys钢管混凝土拱桥建模教程 视频共计200分钟,纯干建模教程,值得科研迷途中的你入手学习 模型介绍:本实例为一下承式钢管混凝土系杆拱桥,跨度125m,拱矢高25m,拱轴系数1.1,拱肋为一哑铃型
- Comsol等离子体仿真,空气棒板电晕放电,23种精简空气反应
- Comsol等离子体仿真,Ar棒板粗通道流注放电 电子密度,电子温度,三维视图,电场强度等 5.5,6.0版本
- 太阳能光伏并网逆变器系统设计,输出与电网同相,输出380v50hz,并网效果良好 最大功率追踪采用电导增量法,前极采用双向boost升压电路,后极三相桥式逆变 控制环采用双环PI调节 逆变器采用三相
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈