{"id":89,"date":"2008-11-13T11:27:21","date_gmt":"2008-11-13T03:27:21","guid":{"rendered":""},"modified":"2014-02-27T22:54:29","modified_gmt":"2014-02-27T14:54:29","slug":"%e5%ad%90%e6%a1%86%e6%9e%b6%e9%a1%b5%e5%88%b7%e6%96%b0%e7%88%b6%e9%a1%b5%e9%9d%a2%e5%85%b6%e5%ae%83%e6%a1%86%e6%9e%b6%e7%9a%84%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"http:\/\/www.xiaoyebailong.com\/index.php\/2008\/11\/13\/89.htm","title":{"rendered":"\u5b50\u6846\u67b6\u9875\u5237\u65b0\u7236\u9875\u9762\u5176\u5b83\u6846\u67b6\u7684\u529e\u6cd5"},"content":{"rendered":"<p>\u9762\u4ee5\u4e09\u4e2a\u9875\u9762\u5206\u522b\u547d\u540d\u4e3aframedemo.html,top.html,button.html\u4e3a\u4f8b\u6765\u5177\u4f53\u8bf4\u660e\u5982\u4f55\u505a\u3002<br \/>\n\u5176\u4e2dframedemo.html\u7531\u4e0a\u4e0b\u4e24\u4e2a\u9875\u9762\u7ec4\u6210\uff0c\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<p>&lt;!DOCTYPE HTML PUBLIC &quot;-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN&quot;&gt;&lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt; frameDemo &lt;\/TITLE&gt;&lt;\/HEAD&gt;<\/p>\n<p>&lt;frameset rows=&quot;50%,50%&quot;&gt;<\/p>\n<p>&lt;frame name=top src=&quot;top.html&quot;&gt;<\/p>\n<p>&lt;frame name=button src=&quot;\/blog\/button.html&quot;&gt;<\/p>\n<p>&lt;\/frameset&gt;<\/p>\n<p>&lt;\/HTML&gt;<\/p>\n<p>\u73b0\u5728\u5047\u8bbetop.html\u5373\u4e0a\u9762\u7684\u9875\u9762\u6709\u4e00\u4e2abutton\u6765\u5b9e\u73b0\u5bf9\u4e0b\u9762\u9875\u9762\u7684\u5237\u65b0\uff0c\u53ef\u4ee5\u7528\u4ee5\u4e0b\u4e03\u79cd\u8bed\u53e5\uff0c\u54ea\u4e2a\u597d\u7528\u81ea\u5df1\u770b\u7740\u529e\u4e86\u3002<\/p>\n<p>\u8bed\u53e51. window.parent.frames[1].location.reload();<\/p>\n<p>\u8bed\u53e52. window.parent.frames.bottom.location.reload();<\/p>\n<p>\u8bed\u53e53. window.parent.frames[&quot;bottom&quot;].location.reload();<br \/>\n\u8bed\u53e54. window.parent.frames.item(1).location.reload();<br \/>\n\u8bed\u53e55. window.parent.frames.item(bottom).location.reload();<br \/>\n\u8bed\u53e56. window.parent.bottom.location.reload();<br \/>\n\u8bed\u53e57. window.parent[bottom].location.reload();<br \/>\n\u89e3\u91ca\u4e00\u4e0b\uff1a<br \/>\n1.window\u6307\u4ee3\u7684\u662f\u5f53\u524d\u9875\u9762\uff0c\u4f8b\u5982\u5bf9\u4e8e\u6b64\u4f8b\u5b83\u6307\u7684\u662ftop.html\u9875\u9762\u3002<br \/>\n2.parent\u6307\u7684\u662f\u5f53\u524d\u9875\u9762\u7684\u7236\u9875\u9762\uff0c\u4e5f\u5c31\u662f\u5305\u542b\u5b83\u7684\u6846\u67b6\u9875\u9762\u3002\u4f8b\u5982\u5bf9\u4e8e\u6b64\u4f8b\u5b83\u6307\u7684\u662fframedemo.html\u3002<br \/>\n3.frames\u662fwindow\u5bf9\u8c61\uff0c\u662f\u4e00\u4e2a\u6570\u7ec4\u3002\u4ee3\u8868\u7740\u8be5\u6846\u67b6\u5185\u6240\u6709\u5b50\u9875\u9762\u3002<br \/>\n4.item\u662f\u65b9\u6cd5\u3002\u8fd4\u56de\u6570\u7ec4\u91cc\u9762\u7684\u5143\u7d20\u3002<br \/>\n5.\u5982\u679c\u5b50\u9875\u9762\u4e5f\u662f\u4e2a\u6846\u67b6\u9875\u9762\uff0c\u91cc\u9762\u8fd8\u662f\u5176\u5b83\u7684\u5b50\u9875\u9762\uff0c\u90a3\u4e48\u4e0a\u9762\u7684\u6709\u4e9b\u65b9\u6cd5\u53ef\u80fd\u4e0d\u884c\u3002<br \/>\ntop.html\u6e90\u4ee3\u7801\uff1b(\u9875\u9762\u4e0a\u6709\u4e03\u4e2a\u6309\u94ae\uff0c\u529f\u80fd\u90fd\u662f\u5237\u65b0\u4e0b\u9762\u7684\u6846\u67b6\u9875\u9762)<\/p>\n<p>\n\u4ee5\u4e0b\u4e3a\u5f15\u7528\u7684\u5185\u5bb9\uff1a<\/p>\n<p>&lt;!DOCTYPE HTML PUBLIC &quot;-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN&quot;&gt;&lt;HTML&gt;&lt;HEAD&gt;&lt;\/HEAD&gt;&lt;BODY&gt;<\/p>\n<p>&lt;input type=button value=&quot;\u5237\u65b01&quot; onclick=&quot;window.parent.frames[1].location.reload()&quot;&gt;<\/p>\n<p>&lt;input type=button value=&quot;\u5237\u65b02&quot; onclick=&quot;window.parent.frames.bottom.location.reload()&quot;&gt;<\/p>\n<p>&lt;input type=button value=&quot;\u5237\u65b03&quot; onclick=&quot;window.parent.frames[bottom].location.reload()&quot;&gt;<\/p>\n<p>&lt;input type=button value=&quot;\u5237\u65b04&quot; onclick=&quot;window.parent.frames.item(1).location.reload()&quot;&gt;<\/p>\n<p>\n&lt;input type=button value=&quot;\u5237\u65b05&quot; onclick=&quot;window.parent.frames.item(bottom).location.reload()&quot;&gt;<\/p>\n<p>&lt;input type=button value=&quot;\u5237\u65b06&quot; onclick=&quot;window.parent.bottom.location.reload()&quot;&gt;<\/p>\n<p>&lt;input type=button value=&quot;\u5237\u65b07&quot; onclick=&quot;window.parent[bottom].location.reload()&quot;&gt;&lt;br&gt;&lt;\/BODY&gt;&lt;\/HTML&gt;<br \/>\n&nbsp;<\/p>\n<p>\u4f8b\u5b50\u5982\u4e0b<br \/>\n\u9875\u9762\u4e2d\u542b\u6709\u6846\u67b6\uff0c\u6846\u67b6\u5185\u9875\u8fd4\u56de\u5237\u65b0\u6574\u4e2a\u9875\u9762<br \/>\n\u9875\u9762index.htm\u4ee3\u7801\u5982\u4e0b<br \/>\n&lt;html&gt;<br \/>\n&lt;head&gt;<br \/>\n&lt;title&gt;&lt;\/title&gt;<br \/>\n&lt;\/head&gt;<br \/>\n&lt;body&gt;<br \/>\n\u5176\u4ed6\u5185\u5bb9<br \/>\n&lt;iframe width=&quot;764&quot; height=&quot;747&quot; id=&quot;jz1024&quot; name=&quot;jz1024&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot; border=&quot;0&quot; frameborder=&quot;0&quot; onload=&quot;autoResize();&quot; src=&quot;user_welcome.asp&quot;&gt;&lt;\/iframe&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;<\/p>\n<p>\u6846\u67b6body.htm\u4ee3\u7801\u5982\u4e0b<br \/>\n&lt;script&gt;<br \/>\n&lt;!&#8211;<br \/>\nfunction clock()<br \/>\n{<br \/>\nsetTimeout(&quot;parent.location.reload();&quot;,1000);<br \/>\n}<br \/>\n&nbsp;\/\/&#8211;&gt;<br \/>\n&lt;\/script&gt;<br \/>\n&lt;form method=&quot;POST&quot; name=&quot;form&quot; action=&quot;?action=add&quot; onsubmit=&quot;clock()&quot;&gt;<br \/>\n\u8981\u63d0\u4ea4\u7684\u8868\u5355<br \/>\n&lt;\/form&gt;<br \/>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9762\u4ee5\u4e09\u4e2a\u9875\u9762\u5206\u522b\u547d\u540d\u4e3aframedemo.html,top.html,button.html\u4e3a\u4f8b\u6765\u5177\u4f53\u8bf4\u660e\u5982\u4f55\u505a\u3002 \u5176\u4e2dframedemo.html\u7531\u4e0a\u4e0b\u4e24\u4e2a\u9875\u9762\u7ec4\u6210\uff0c\u4ee3\u7801\u5982\u4e0b\uff1a &lt;!DOCTYPE HTML PUBLIC &#038;quot&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-89","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/89","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/comments?post=89"}],"version-history":[{"count":1,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/89\/revisions"}],"predecessor-version":[{"id":65972,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/89\/revisions\/65972"}],"wp:attachment":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media?parent=89"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/categories?post=89"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/tags?post=89"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/topic?post=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}