AllPower.WEB/SysAdmin/副本 Model/Advertisement/js/Template_Move.js
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
function ObjectAD() {
/* Define Variables*/
this.ADID = 0;
this.ADType = 0;
this.ADName = "";
this.ImgUrl = "";
this.ImgWidth = 0;
this.ImgHeight = 0;
this.FlashWmode = 0;
this.LinkUrl = "";
this.LinkTarget = 0;
this.LinkAlt = "";
this.Priority = 0;
this.CountView = 0;
this.CountClick = 0;
this.InstallDir = "";
this.ADDIR = "";
this.OverdueDate = "";
}
function MoveZoneAD(_id) {
/* Define Common Variables*/
this.ID = _id;
this.ZoneID = 0;
this.ZoneName = "";
this.ZoneWidth = 0;
this.ZoneHeight = 0;
this.ShowType = 1;
this.DivName = "";
this.Div = null;
/* Define Unique Variables*/
this.LocalityType= 1;
this.Left = 0;
this.Top = 0;
this.Delta = 0.15;
this.ShowCloseAD = false;
this.CloseFontColor = "#FFFFFF";
/* Define Objects */
this.AllAD = new Array();
this.ShowAD = null;
/* Define Functions */
this.AddAD = MoveZoneAD_AddAD;
this.GetShowAD = MoveZoneAD_GetShowAD;
this.Show = MoveZoneAD_Show;
this.Move = MoveZoneAD_Move;
this.GetRight = MoveZoneAD_GetRight;
this.GetTail = MoveZoneAD_GetTail;
}
function MoveZoneAD_AddAD(_AD) {
var date = new Date();
var getdate = date.getFullYear() + "/" + (date.getMonth() + 1) + "/" + date.getDate();
var today = new Date(getdate);
var overdueDate = new Date(_AD.OverdueDate);
if(today <= overdueDate) {
this.AllAD[this.AllAD.length] = _AD;
}
后面还有 153 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
