Scripts/artDialog4.1.7/_doc/iframeTop.html

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>artDialog</title>
<script src="../artDialog.source.js?skin=default"></script>
<script src="../plugins/iframeTools.source.js"></script>
<style>
html, body {
	height:100%;
	margin:0;
	padding:0;
	font-size:14px;
	font-family:'Microsoft Yahei', Tahoma, Arial!important; font-family:'宋体', Tahoma, Arial;
	overflow:auto;
}
a { color: #27d; text-decoration: none; }
#doc { widows:100%; height:100%; position:relative; z-index:1; overflow:hidden;}
#sideBar { float:left; width:228px; height:100%; border-right:solid 1px #CCC; overflow:auto; }
#main {
	margin-left:230px;
	height:100%;
}
#main iframe {
	width:100%;
	height:100%;
	border:none 0;
}
#main .tips { height:2em; text-indent:2em; line-height:2em; color:#FFF; background:#030; font-weight:bold; }
.sideBarWrap { padding:10px; }
#sideBar .content { margin:5px; }
#sideBar .content p { padding:0; margin:0; padding-bottom:15px; }
#sideBar .close { line-height:2em; text-align:center; background:#F4F4F4; border-bottom:1px solid #D8D8D8; color:#333; }
#photo { text-align:center; }
#photo img { margin-top:15px;}
#sideBar .nav { padding:5px; margin:15px 0; border:1px solid #D8D8D8; background:#F4F4F4; }
#sideBar .nav a { padding:1px; }
#sideBar .nav a:hover { background:#27d; color:#FFF; text-decoration:none; }
#sideBar .btns { padding-bottom:15px; text-align:center; }
.gotop { position:absolute; right:17px; bottom:60px; z-index:9; }
</style>
</head>

<body>
<div id="doc">
<div id="sideBar">
	<div class="close"><a href="plugin.iframe.html" target="_blank">关闭框架查看</a></div>
    <div class="sideBarWrap">
    <div id="photo"></div>
    <div class="nav"><a href="plugin.iframe.html#top" target="iframe">top</a> <a href="plugin.iframe.html#opener" target="iframe">opener</a> <a href="plugin.iframe.html#open" target="iframe">open</a> <a href="plugin.iframe.html#data" target="iframe">data</a> <a href="plugin.iframe.html#load" target="iframe">load</a> <a href="plugin.iframe.html#alert" target="iframe">alert</a> <a href="plugin.iframe.html#confirm" target="iframe">confirm</a> <a href="plugin.iframe.html#prompt" target="iframe">prompt</a> <a href="plugin.iframe.html#tips" target="iframe">tips</a></div>
    <div class="btns">
      <button id="open">iframe弹出</button>
      <button id="move">移动</button>
      <button id="close">关闭</button>
    </div>
	<div class="content">
    <p>
    当前页面右侧是iframe套嵌的页面。对话框可以自由穿越框架进行展示,开发者几乎无需考虑层级关系即可进行跨框架操作DOM。</p>
    <p>artDialog如果要支持框架集穿越的话,需要用iframe页面套住框架集:<a href="iframe_frameset.html" target="_blank">见这里</a></p>
    </div>
后面还有 34 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。