<?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"
	>
<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>
	<pubDate>Mon, 01 Dec 2008 22:41:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: matt snider</title>
		<link>http://www.pathf.com/blogs/2007/10/coming-soon-rea/#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;"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?"&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('iframe'));&lt;br /&gt;
iframe.id = 'DhtmlHistoryFrame';&lt;br /&gt;
iframe.name = 'DhtmlHistoryFrame';&lt;br /&gt;
iframe.src = 'blank.html?' + initialHash;&lt;br /&gt;
iframe.style.border = '0px';&lt;br /&gt;
iframe.style.bottom = '0px';&lt;br /&gt;
iframe.style.height = '1px';&lt;br /&gt;
iframe.style.position = 'absolute';&lt;br /&gt;
iframe.style.right = '0px';&lt;br /&gt;
iframe.style.visibility = 'visible';&lt;br /&gt;
iframe.style.width = '1px';&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('iframe'));&lt;/p&gt;

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

&lt;p&gt;iframe = document.createElement('iframe');&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 "getBodyElement" 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-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'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>
