MyOAExx/Scripts/js/Dialog.js
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
var Dialog = function()
{
var me = this;
this.MaskImage = null;
this.Content = null;
this.Text = null;
this.Container = null;
this.ImagePath = "images/dialog/";
this.posX = 0;
this.posY = 0;
this.IsDown = false;
this.Width = 300;
this.Height = 0;
this.DocVisibleWidth = 0;
this.DocVisibleHeight = 0;
this.DocMaxWidth = 0;
this.DocMaxHeight = 0;
this.ImgZIndex = 101;
this.DialogZIndex = 102;
this.ButtonOK = null;
this.ButtonCancel = null;
this.ButtonRetry = null;
this.Icon =
{
Close_Normal: this.ImagePath + "close_normal.png",
Close_Higthlight: this.ImagePath + "close_highlight.png",
Mask_Image: this.ImagePath + "mask.png",
Dialog_Icon: this.ImagePath + "icon.png"
};
this.Remove = function()
{
document.body.removeChild(this.Container);
document.body.removeChild(this.MaskImage);
}
this.OK = function()
{
me.Close();
}
this.Retry = function()
{
}
this.Close = function()
{
this.Hide();
}
this.Hide = function()
{
this.Container.style.display = "none";
this.MaskImage.style.display = "none";
}
this.MaskImage = document.createElement("img");
后面还有 256 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。