强制弹出showModelessDialog
首页 Digg类文学 成语 历史 歇后语 诗歌论坛
强制弹出showModelessDialog
作者不详摘自网上收集人气

设置时间:Then.setTime(Then.getTime() 1*60*60*1000)

mylove/ttan.htm(过渡网页)
ttan.htm中的 http://弹出网页/ 是要弹出的网页

scroll:1(滚动条)
status:1(状态栏)
help:1(帮助按钮)
toolbar=1(工具栏)
resizable:1(是否可以用鼠标拖动改变大小)
dialogWidth:800px(宽度)
dialogHeight:600px(高度)
3000(延迟弹出的时间,单位:毫秒。1秒=1000毫秒)

<!--弹出广告-->
<script language="javascript">
function Get(){
var Then = new Date()
Then.setTime(Then.getTime() 1*60*60*1000)
var cookieString = new String(documents.cookie)
var cookieHeader = "Cookie1="
var beginPosition = cookieString.indexOf(cookieHeader)
if (beginPosition != -1){
} else
{ documents.cookie = "Cookie1=POPWIN;expires=" Then.toGMTString()
focusid=setTimeout("focus();window.showModelessDialog('ttan.htm','','scroll:0;status:0;help:0;resizable:0;d
ialogWidth:0px;dialogHeight:0px')",3000)
window.focus();
}
}Get();
</script>
<!--弹出结束-->

  ttan.htm的内容:

<script language="javascript">
<!--
window.open("http://弹出网页/");
//-->
</script>
<script LANGUAGE="javascript">
<!--
setTimeout('window.close();', 0)
//-->
</script>


  • 在rm文件中增加弹窗
  • flash强制弹出窗口
  • 不被拦截的弹窗代码
  • 中国最新县及县以上行政区划代码
  • asp生成html文件!
  • ASP采集函数
  • 杭州十景介绍及解说!
  • 哪些it项目适合外包?
  • 项目外包完整流程详解!
  • 网络基础知识解读!
  • 分站点: 社会百态 文学艺术 品位生活 业精于勤  成语 历史 歇后语 诗歌┊ 游戏┊

    http://www.haijiaoclub.com 浙ICP备06007887

    Powered by:haijiaoclub.com