<?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>ie6 &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/ie6/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>on web development</description>
	<lastBuildDate>Tue, 13 Feb 2018 08:18:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>__flash__removeCallback problem on IE6</title>
		<link>/2009/06/24/__flash_removecallback-problem-on-ie6/</link>
		<comments>/2009/06/24/__flash_removecallback-problem-on-ie6/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 12:48:07 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[micro tutorial]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[__flash__removeCallback]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[SWFObject]]></category>
		<category><![CDATA[unload issue]]></category>

		<guid isPermaLink="false">/?p=631</guid>
		<description><![CDATA[Every time the page unloads If there&#8217;s a flash movie into your page using the AMF protocol to speak with the other part of the site, there may be a bug under Internet Explorer version 6 &#8230; again. The AMF protocol stands for Action Message Format is simply JavaScript &#8211; Actionscript way to get connected. &#8230; <a href="/2009/06/24/__flash_removecallback-problem-on-ie6/" class="more-link">Continue reading <span class="screen-reader-text">__flash__removeCallback problem on IE6</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2009/02/10/ie-6-problem-with-flash-z-index/" rel="bookmark" title="IE 6 problem with flash z-index">IE 6 problem with flash z-index </a></li>
<li><a href="/2009/05/14/the-swfobject-method-createswf-problem/" rel="bookmark" title="The SWFObject method createSWF problem">The SWFObject method createSWF problem </a></li>
<li><a href="/2009/02/09/ie-externalinterface-communication-problem/" rel="bookmark" title="IE &#038; ExternalInterface communication problem">IE &#038; ExternalInterface communication problem </a></li>
<li><a href="/2009/12/18/whats-the-width-and-height-of-the-visible-part-of-my-browser/" rel="bookmark" title="What&#8217;s the width and height of the visible part of my browser?!">What&#8217;s the width and height of the visible part of my browser?! </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>Every time the page unloads</h2>
<p>If there&#8217;s a flash movie into your page using the AMF protocol to speak with the other part of the site, there may be a bug under Internet Explorer version 6 &#8230; again. The AMF protocol stands for Action Message Format is simply JavaScript &#8211; Actionscript way to get connected. And it simply registers the callbacks from both sides. So there&#8217;s simply a object/embed pair in the HTML and a Flash movie using AMF, and IE6. Everything&#8217;s OK until leaving the page. On unload the window object the generated JavaScript code breaks and throws an error. Usually it&#8217;s something like that:</p>
<pre lang="actionscript">function __flash__removeCallback(instance, name) {
    ... here instance is given null under IE6
}</pre>
<h2>What if embed with some js library (SWFObject)</h2>
<p>Reading some forum posts it may be working if I was using a js/flash library such as SWFObject, but I don&#8217;t want such, because of one another JavaScript file loading and blocking the content. I just wanted the object/embed to be in my page.<span id="more-631"></span></p>
<h2>Easy to find a solution &#8211; difficult to set it up</h2>
<p>Beside the well known fact that this instance is null and there&#8217;s an error, I couldn&#8217;t make</p>
<pre lang="javascript">if (instance == null) escape this case ...</pre>
<p>because it&#8217;s a Flash Player generated source, which is untouchable.</p>
<h2>The clear way to the working site</h2>
<p>Well on unload of the window object you must remove all the object/embed that&#8217;s giving the problem simply by adding that chunk of code:</p>
<pre lang="javascript">
1. if (document.getElementById(id_of_the_flash_container) != null) {
2.    $(window).unload(function() {
3.         document.getElementById(id_of_the_flash_container).removeChild(document.getElementById(id_of_the_object_tag));
4.    });
5. }</pre>
<p>just replace both <strong>id_of_the_flash_container</strong>, which is some kind of a DIV tag, or other DOM element, and <strong>id_of_the_object_tag</strong>.</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2009/02/10/ie-6-problem-with-flash-z-index/" rel="bookmark" title="IE 6 problem with flash z-index">IE 6 problem with flash z-index </a></li>
<li><a href="/2009/05/14/the-swfobject-method-createswf-problem/" rel="bookmark" title="The SWFObject method createSWF problem">The SWFObject method createSWF problem </a></li>
<li><a href="/2009/02/09/ie-externalinterface-communication-problem/" rel="bookmark" title="IE &#038; ExternalInterface communication problem">IE &#038; ExternalInterface communication problem </a></li>
<li><a href="/2009/12/18/whats-the-width-and-height-of-the-visible-part-of-my-browser/" rel="bookmark" title="What&#8217;s the width and height of the visible part of my browser?!">What&#8217;s the width and height of the visible part of my browser?! </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2009/06/24/__flash_removecallback-problem-on-ie6/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>a tag doesn&#8217;t apply hover on IE6</title>
		<link>/2009/06/08/a-tag-doesnt-apply-hover-on-ie6/</link>
		<comments>/2009/06/08/a-tag-doesnt-apply-hover-on-ie6/#respond</comments>
		<pubDate>Mon, 08 Jun 2009 19:02:49 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[micro tutorial]]></category>
		<category><![CDATA[a]]></category>
		<category><![CDATA[hover]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[tag]]></category>

		<guid isPermaLink="false">/?p=595</guid>
		<description><![CDATA[Yes, the link &#60;a &#8230; tag is really strange sometimes. We all know how to define :hover for a given a tag class, but if your code doesn&#8217;t apply under IE6 just take a look if you have the href attribute, if not the a tag is not an a tag under that strange, strange &#8230; <a href="/2009/06/08/a-tag-doesnt-apply-hover-on-ie6/" class="more-link">Continue reading <span class="screen-reader-text">a tag doesn&#8217;t apply hover on IE6</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2009/04/14/you-should-not-insert-an-tag-in-another-tag-ie-breaks/" rel="bookmark" title="You should not insert an &#8220;a&#8221; tag in another &#8220;a&#8221; tag! &#8230;">You should not insert an &#8220;a&#8221; tag in another &#8220;a&#8221; tag! &#8230; </a></li>
<li><a href="/2009/06/24/__flash_removecallback-problem-on-ie6/" rel="bookmark" title="__flash__removeCallback problem on IE6">__flash__removeCallback problem on IE6 </a></li>
<li><a href="/2009/10/30/object-and-embed-tag-position-in-ie/" rel="bookmark" title="object and embed tag position in IE">object and embed tag position in IE </a></li>
<li><a href="/2010/01/07/object-forget-about-embed-tag/" rel="bookmark" title="OBJECT &#038; &#8230; forget about EMBED tag!">OBJECT &#038; &#8230; forget about EMBED tag! </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Yes, the link &lt;a &#8230; tag is really strange sometimes. We all know how to define :hover for a given a tag class, but if your code doesn&#8217;t apply under IE6 just take a look if you have the href attribute, if not the a tag is not an a tag under that strange, strange browser.</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2009/04/14/you-should-not-insert-an-tag-in-another-tag-ie-breaks/" rel="bookmark" title="You should not insert an &#8220;a&#8221; tag in another &#8220;a&#8221; tag! &#8230;">You should not insert an &#8220;a&#8221; tag in another &#8220;a&#8221; tag! &#8230; </a></li>
<li><a href="/2009/06/24/__flash_removecallback-problem-on-ie6/" rel="bookmark" title="__flash__removeCallback problem on IE6">__flash__removeCallback problem on IE6 </a></li>
<li><a href="/2009/10/30/object-and-embed-tag-position-in-ie/" rel="bookmark" title="object and embed tag position in IE">object and embed tag position in IE </a></li>
<li><a href="/2010/01/07/object-forget-about-embed-tag/" rel="bookmark" title="OBJECT &#038; &#8230; forget about EMBED tag!">OBJECT &#038; &#8230; forget about EMBED tag! </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2009/06/08/a-tag-doesnt-apply-hover-on-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You should not insert an &#8220;a&#8221; tag in another &#8220;a&#8221; tag! &#8230;</title>
		<link>/2009/04/14/you-should-not-insert-an-tag-in-another-tag-ie-breaks/</link>
		<comments>/2009/04/14/you-should-not-insert-an-tag-in-another-tag-ie-breaks/#respond</comments>
		<pubDate>Tue, 14 Apr 2009 05:31:34 +0000</pubDate>
		<dc:creator><![CDATA[stoimen]]></dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[micro tutorial]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[a]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">/?p=504</guid>
		<description><![CDATA[IE6 fails to display correctly nested <a> tags. Why and how to find a workaround?<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2009/06/08/a-tag-doesnt-apply-hover-on-ie6/" rel="bookmark" title="a tag doesn&#8217;t apply hover on IE6">a tag doesn&#8217;t apply hover on IE6 </a></li>
<li><a href="/2009/04/25/flex-3-hslider-thumb-gap-issue/" rel="bookmark" title="Flex 3 HSlider thumb gap issue">Flex 3 HSlider thumb gap issue </a></li>
<li><a href="/2011/03/29/scroll-an-iframe-content-to-a-predefined-position/" rel="bookmark" title="Scroll an IFRAME Content to a Predefined Position">Scroll an IFRAME Content to a Predefined Position </a></li>
<li><a href="/2009/04/08/flash-doesnt-load-in-div-with-display-none-style/" rel="bookmark" title="Flash doesn&#8217;t load in div with display:none style">Flash doesn&#8217;t load in div with display:none style </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>The Problem</h2>
<p>Well it may look strange to want to do that exaclty. Who wants to have a &lt;a&gt; tag in another. It really looks semanticaly incorrect, but however, every normal A grade browser&#8217;s displaing it correctly, except .. IE6.</p>
<h2>The Case</h2>
<p>The Microsoft team may be too much semanticaly involved in that problem, I should guess, but that&#8217;s really impossible.</p>
<h2>The Workaround</h2>
<p>The workaround is trivial. You just put the &lt;a&gt; tags one after another and adjust them with relative position and margin with negative values.</p>
<h2>&#8230; and The Example</h2>
<blockquote><p>&lt;a href=&#8221;#&#8221;&gt;link here&lt;/a&gt;</p>
<p>&lt;a href=&#8221;#&#8221; style=&#8221;margin:-10px 0 0; position : relative;&#8221;&gt;link there&lt;/a&gt;</p></blockquote>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2009/06/08/a-tag-doesnt-apply-hover-on-ie6/" rel="bookmark" title="a tag doesn&#8217;t apply hover on IE6">a tag doesn&#8217;t apply hover on IE6 </a></li>
<li><a href="/2009/04/25/flex-3-hslider-thumb-gap-issue/" rel="bookmark" title="Flex 3 HSlider thumb gap issue">Flex 3 HSlider thumb gap issue </a></li>
<li><a href="/2011/03/29/scroll-an-iframe-content-to-a-predefined-position/" rel="bookmark" title="Scroll an IFRAME Content to a Predefined Position">Scroll an IFRAME Content to a Predefined Position </a></li>
<li><a href="/2009/04/08/flash-doesnt-load-in-div-with-display-none-style/" rel="bookmark" title="Flash doesn&#8217;t load in div with display:none style">Flash doesn&#8217;t load in div with display:none style </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2009/04/14/you-should-not-insert-an-tag-in-another-tag-ie-breaks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
