WebRoot/file/_Ads.js
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*******************************************\
广告类
\*******************************************/
JetsumFw.Class.Ads = function(){
this.collection;
this.items = [];
//对联
this.floater_addItem = function(id,content,x,y)
{
document.write('<DIV id='+id+'>'+content+'</DIV>');
var newItem = {};
newItem.object = document.getElementById(id);
newItem.x = x||0;
newItem.y = y||80;
var isIE = /msie/i.test(navigator.userAgent);
newItem.object.style.position="absolute";
newItem.object.style.display="block";
newItem.object.style.zIndex=9999;
newItem.object.style.top = newItem.y+"px";
if(newItem.x>0) newItem.object.style.left = newItem.x+"px";
if(newItem.x<0) newItem.object.style.right = Math.abs(newItem.x)+"px";
this.items[this.items.length] = newItem;
}
this.floater_play = function()
{
collection= this.items;
setInterval('JetsumFw.Class.Ads.play()',10);
}
this.source=function(file_name,url,link_text,size_width, size_height){
var sources="";
var is_swf = file_name.substring(file_name.length,file_name.length-3);
if(is_swf=="swf")
{
sources = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + size_width + "\" height=\"" + size_height + "\">";
sources += "<param name=\"movie\" value=\"" + file_name + "\">";
sources += "<param name=\"quality\" value=\"high\">";
sources += "<param name=\"wmode\" value=\"transparent\">";
sources += "<embed src=\"" + file_name + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"" + size_width + "\" height=\"" + size_height + "\"></embed></object>";
}
else if(is_swf=="gif" ||is_swf=="jpg"||is_swf=="bmp")
{
sources="<a href=\""+url+"\" title=\""+link_text+"\" target=\"_blank\"><img src=\""+file_name+"\" border=\"0\" width=\""+size_width+"\" height=\""+size_height+"\" /></a>";
}
else
alert("error");
return sources;
}
//背投广告
this.time_out = 6000;
this.bgAds=function(id,content){
//document.write("<DIV id=\""+id+"\" align=\"center\" >"+content+"</DIV>");
var obj=document.getElementById(id);
obj.innerHTML=content;
obj.style.visibility="visible";
后面还有 89 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。