js/openpopups.js
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
// more javascript from http://www.smallrain.net
// openPopUps v1.0 Copyright (c) 2006 openWebWare.com
// This copyright notice MUST stay intact for use.
//
// The perfect pop up window replacement for your advertisements and web
// applications. Pop up blockers will fail to prevent an openPopUp window
// from opening.
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published
// by the Free Software Foundation; either version 2.1 of the License, or
// (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
// License for more details.
//
// You should have received a copy of the GNU Lesser General Public License along
// with this library; if not, write to the Free Software Foundation, Inc., 59
// Temple Place, Suite 330, Boston, MA 02111-1307 USA
// CSS Diretory
cssDir = "jsimg/openpopups/styles/";
// Images Directory
imageDir = "jsimg/openpopups/images/";
// Include Style Sheet
document.write('<link rel="stylesheet" type="text/css" href="' +cssDir+ 'styles.css">\n');
/* ---------------------------------------------------------------------- *\
Function : JSWindow()
Description : creates a new window
Usage : JSWindow("title", oContent, [x], [y], [id], [width])
Arguments : title - The title of the window as displayed in the titlebar
oContent - The content of the Div called using getElementbyID
x - The number of pixels from the left the window appears when first open
y - The number of pixels from the top the window appears when first open
id - The <div> this window will use for its content
width - The default width of the window
\* ---------------------------------------------------------------------- */
function JSWindow(title, oContent, x, y, id, width, popupColor, minimizeIcon)
{
// define variables
this.title = title;
this.oContent = oContent;
this.width = width;
this.x = x;
this.y = y;
this.id = id;
this.bgcolor = popupColor;
// create the table window and define CSS properties
this.oTable = document.createElement("table");
this.oTable.id = "Window " + this.id;
this.oTable.style.width = this.width + "px";
后面还有 283 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
