case "gif":
var tmpAdContent = document.createElement("a");
tmpAdContent.id = theAdId;
tmpAdContent.href = theAdUrl;
tmpAdContent.frameBorder = 0;
tmpAdContent.scrolling = "no";
tmpAdContent.menubar = "no";
tmpAdContent.toolbar = "no";
tmpAdContent.location="no";
tmpAdContent.target = "_blank";
tmpAdContent.style.width = theAdWidth + "px";
tmpAdContent.style.height = theAdHeight + "px";
tmpAdContent.style.margin = "0 auto";
tmpAdContent.style.display = "block";
var ImageObj = new Image();
ImageObj.id = theAdId + "_img";
ImageObj.style.width = theAdWidth + "px";
ImageObj.style.height = theAdHeight + "px";
ImageObj.style.border = "none";
ImageObj.src = theAdSrc;
tmpAdContent.appendChild(ImageObj);
break;
var tmpAdContent = document.createElement("a");
tmpAdContent.id = theAdId;
tmpAdContent.href = theAdUrl;
tmpAdContent.frameBorder = 0;
tmpAdContent.scrolling = "no";
tmpAdContent.menubar = "no";
tmpAdContent.toolbar = "no";
tmpAdContent.location="no";
tmpAdContent.target = "_blank";
tmpAdContent.style.width = theAdWidth + "px";
tmpAdContent.style.height = theAdHeight + "px";
tmpAdContent.style.margin = "0 auto";
tmpAdContent.style.display = "block";
var ImageObj = new Image();
ImageObj.id = theAdId + "_img";
ImageObj.style.width = theAdWidth + "px";
ImageObj.style.height = theAdHeight + "px";
ImageObj.style.border = "none";
ImageObj.src = theAdSrc;
tmpAdContent.appendChild(ImageObj);
break;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货