<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Coming soon: Really Simple History 0.6 beta</title>
	<atom:link href="http://www.pathf.com/blogs/2007/10/coming-soon-rea/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pathf.com/blogs/2007/10/coming-soon-rea/</link>
	<description>Running commentary about agile development, user experience design and Ajax.</description>
	<lastBuildDate>Fri, 05 Mar 2010 19:33:43 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: matt snider</title>
		<link>http://www.pathf.com/blogs/2007/10/coming-soon-rea/comment-page-1/#comment-268</link>
		<dc:creator>matt snider</dc:creator>
		<pubDate>Tue, 23 Oct 2007 22:00:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=219#comment-268</guid>
		<description>&lt;p&gt;Brian,&lt;/p&gt;

&lt;p&gt;I saw your comment on my blog about my RSH redo and realized that you wrote for Agile Ajax. I thought it appropriate to answer your question here:&lt;/p&gt;

&lt;p&gt;&quot;Did you find a way around this problem (the issue with replacing document.write with standard DOM methods), or were you only testing your solution while staying within your own app?&quot;&lt;/p&gt;

&lt;p&gt;No, I did not find a solution. It had slipped my mind to try to leave the site and come back and, yes, it is broken with my method. I have also, been debugging forward button issues in IE, which are probably related to this. Let me know if you ever find a way around it.&lt;/p&gt;

&lt;p&gt;Also, a warning. If you modeled your IFRAME creation after me, it will error in IE 6 on SSL servers:&lt;/p&gt;

&lt;p&gt;iframe = getBodyElement().appendChild(document.createElement(&#039;iframe&#039;));&lt;br /&gt;
iframe.id = &#039;DhtmlHistoryFrame&#039;;&lt;br /&gt;
iframe.name = &#039;DhtmlHistoryFrame&#039;;&lt;br /&gt;
iframe.src = &#039;blank.html?&#039; + initialHash;&lt;br /&gt;
iframe.style.border = &#039;0px&#039;;&lt;br /&gt;
iframe.style.bottom = &#039;0px&#039;;&lt;br /&gt;
iframe.style.height = &#039;1px&#039;;&lt;br /&gt;
iframe.style.position = &#039;absolute&#039;;&lt;br /&gt;
iframe.style.right = &#039;0px&#039;;&lt;br /&gt;
iframe.style.visibility = &#039;visible&#039;;&lt;br /&gt;
iframe.style.width = &#039;1px&#039;;&lt;/p&gt;

&lt;p&gt;The problem is that the IFRAME is appended to the document with an empty SRC attribute, which IE treats as coming from a non-secure source. To fix this move the append to the end; I changed:&lt;/p&gt;

&lt;p&gt;iframe = document.appendChild(document.createElement(&#039;iframe&#039;));&lt;/p&gt;

&lt;p&gt;to:&lt;/p&gt;

&lt;p&gt;iframe = document.createElement(&#039;iframe&#039;);&lt;/p&gt;

&lt;p&gt;and added to the end of the code block:&lt;/p&gt;

&lt;p&gt;getBodyElement().appendChild(iframe);&lt;/p&gt;

&lt;p&gt;the &quot;getBodyElement&quot; function is just an X-Browser method I use to find the body tag.&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>Brian,</p>
<p>I saw your comment on my blog about my RSH redo and realized that you wrote for Agile Ajax. I thought it appropriate to answer your question here:</p>
<p>&#8220;Did you find a way around this problem (the issue with replacing document.write with standard DOM methods), or were you only testing your solution while staying within your own app?&#8221;</p>
<p>No, I did not find a solution. It had slipped my mind to try to leave the site and come back and, yes, it is broken with my method. I have also, been debugging forward button issues in IE, which are probably related to this. Let me know if you ever find a way around it.</p>
<p>Also, a warning. If you modeled your IFRAME creation after me, it will error in IE 6 on SSL servers:</p>
<p>iframe = getBodyElement().appendChild(document.createElement(&#8217;iframe&#8217;));<br />
iframe.id = &#8216;DhtmlHistoryFrame&#8217;;<br />
iframe.name = &#8216;DhtmlHistoryFrame&#8217;;<br />
iframe.src = &#8216;blank.html?&#8217; + initialHash;<br />
iframe.style.border = &#8216;0px&#8217;;<br />
iframe.style.bottom = &#8216;0px&#8217;;<br />
iframe.style.height = &#8216;1px&#8217;;<br />
iframe.style.position = &#8216;absolute&#8217;;<br />
iframe.style.right = &#8216;0px&#8217;;<br />
iframe.style.visibility = &#8216;visible&#8217;;<br />
iframe.style.width = &#8216;1px&#8217;;</p>
<p>The problem is that the IFRAME is appended to the document with an empty SRC attribute, which IE treats as coming from a non-secure source. To fix this move the append to the end; I changed:</p>
<p>iframe = document.appendChild(document.createElement(&#8217;iframe&#8217;));</p>
<p>to:</p>
<p>iframe = document.createElement(&#8217;iframe&#8217;);</p>
<p>and added to the end of the code block:</p>
<p>getBodyElement().appendChild(iframe);</p>
<p>the &#8220;getBodyElement&#8221; function is just an X-Browser method I use to find the body tag.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Treu</title>
		<link>http://www.pathf.com/blogs/2007/10/coming-soon-rea/comment-page-1/#comment-267</link>
		<dc:creator>Treu</dc:creator>
		<pubDate>Tue, 23 Oct 2007 19:47:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=219#comment-267</guid>
		<description>&lt;p&gt;ooh I really like that you are breaking JSON out into it&#039;s own file, I have been including 2 different versions of JSON in my project because of this!  I will try and look at it soon and give some feedback.&lt;/p&gt;

&lt;p&gt;Thanks for all your hard work.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>ooh I really like that you are breaking JSON out into it&#8217;s own file, I have been including 2 different versions of JSON in my project because of this!  I will try and look at it soon and give some feedback.</p>
<p>Thanks for all your hard work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.250 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-03-20 21:46:24 -->
