加入收藏 | 设为首页 | 会员中心 | 我要投稿 源码网 (https://www.900php.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 运营中心 > 产品 > 正文

超完美弹窗代码 5小时弹一次+背后弹出+自动适应不同分辩率+准全屏显示

发布时间:2018-08-19 13:07:52 所属栏目:产品 来源:站长网
导读:副标题#e# 超完美弹窗代码 功能:5小时弹一次+背后弹出+自动适应不同分辩率+准全屏显示 代码: 运行代码 复制代码 另存代码 收藏本页 【1、最基本的弹出窗口代码】 其实代码非常简单: script language=#106avascript !-- window.open ('page.html') -- /sc

通过下面的例子,你可以在一个页面内完成上面的效果。
<html>
<head>
<script language="&#106avascript">
function openwin()
{openwindow=window.open("", "newwin", "height=250, width=250,toolbar=no,scrollbars="+scroll+",menubar=no";
//写成一行
openwindow.document.write("<title>例子</title>"
openwindow.document.write("<body bgcolor=#ffffff>"
openwindow.document.write("<h1>hello!</h1>"
openwindow.document.write("new window opened!"
openwindow.document.write("</body>"
openwindow.document.write("</html>"
openwindow.document.close()}

(编辑:源码网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

热点阅读