<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Yellow&#039;s Blog &#187; target</title>
	<atom:link href="http://www.ffsuper.com/blog/index.php/tag/target/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ffsuper.com/blog</link>
	<description>It&#039;s my evolution lab...</description>
	<lastBuildDate>Thu, 17 Dec 2009 01:06:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>IFrame页面内target目标跳转到另一个iframe</title>
		<link>http://www.ffsuper.com/blog/index.php/2009/07/02/iframe%e9%a1%b5%e9%9d%a2%e5%86%85target%e7%9b%ae%e6%a0%87%e8%b7%b3%e8%bd%ac%e5%88%b0%e5%8f%a6%e4%b8%80%e4%b8%aaiframe/</link>
		<comments>http://www.ffsuper.com/blog/index.php/2009/07/02/iframe%e9%a1%b5%e9%9d%a2%e5%86%85target%e7%9b%ae%e6%a0%87%e8%b7%b3%e8%bd%ac%e5%88%b0%e5%8f%a6%e4%b8%80%e4%b8%aaiframe/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 01:52:16 +0000</pubDate>
		<dc:creator>Yellow</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[target]]></category>

		<guid isPermaLink="false">http://www.ffsuper.com/blog/?p=98</guid>
		<description><![CDATA[项目二期开发基本完成，但是华为接口人觉得之前二期用的Frameset不太合适，现在想用两个Iframe来模拟以前的Frameset（唉&#8230;真能折腾!!!）。没办法，只能重新修改结构了。
今天遇到的问题是如何让在同一页面内的两个Iframe中的链接可以进行跳转。自己做了个尝试，其实也就是两行代码就搞掂了,代码如下:
main.html
&#60;html&#62;
&#60;head&#62;&#60;/head&#62;
&#60;body&#62;
&#60;iframe&#160;id=&#34;links&#34; src=&#34;left.html&#34; scrolling=&#34;no&#34; frameborder=&#34;0&#34; width=&#34;100%&#34; height=&#34;100%&#34;&#62;&#60;/iframe&#62;
&#60;br&#62;
&#60;iframe&#160;id=&#34;rightFrame&#34; src=&#34;welcome.html&#34; scrolling=&#34;no&#34; frameborder=&#34;0&#34; width=&#34;100%&#34; height=&#34;100%&#34;&#62;&#60;/iframe&#62;
&#60;/body&#62;
&#60;/html&#62;
left.html
&#60;html&#62;
&#60;body&#62;
&#60;a&#160;href=&#34;#&#34; onclick=&#34;test()&#34;&#62;test&#60;/a&#62;
&#60;/body&#62;
&#60;/html&#62;
js部分
function test(){
var&#160;frameid = parent.document.getElementById(&#34;rightFrame&#34;);
frameid.src = &#34;right.html&#34;;
}
]]></description>
		<wfw:commentRss>http://www.ffsuper.com/blog/index.php/2009/07/02/iframe%e9%a1%b5%e9%9d%a2%e5%86%85target%e7%9b%ae%e6%a0%87%e8%b7%b3%e8%bd%ac%e5%88%b0%e5%8f%a6%e4%b8%80%e4%b8%aaiframe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
