下面的代码是点击滑动按钮弹出新页面,我想弹出的新页面没有toolbar,location等,和window.open一样

伊凡yifan 2009-08-05 05:10:13
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;
...全文
66 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
vvviop 2009-08-05
  • 打赏
  • 举报
回复
不可能。
伊凡yifan 2009-08-05
  • 打赏
  • 举报
回复
我顶顶顶
伊凡yifan 2009-08-05
  • 打赏
  • 举报
回复
我顶

87,902

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧