<?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>Mihalytch personal blog &#187; Firefox</title>
	<atom:link href="http://mihalytch.org.ua/tag/firefox/feed" rel="self" type="application/rss+xml" />
	<link>http://mihalytch.org.ua</link>
	<description>Все о высоких технологиях</description>
	<lastBuildDate>Thu, 20 May 2010 07:56:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>В Firefox`е не работает innerHTML ?</title>
		<link>http://mihalytch.org.ua/programming/js/does-not-work-innerhtml-in-firefox.html</link>
		<comments>http://mihalytch.org.ua/programming/js/does-not-work-innerhtml-in-firefox.html#comments</comments>
		<pubDate>Tue, 21 Oct 2008 11:48:47 +0000</pubDate>
		<dc:creator>Mihalytch</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[innerHTML]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://mihalytch.org.ua/programming/js/does-not-work-innerhtml-in-firefox.html</guid>
		<description><![CDATA[Панацея здесь. Для любимого нами огненного лиса (Firefox) средствами JavaScript HTML код необходимо вставлять следующим образом:   // Блок куда необходимо вставить html контент var our_div = document.getElementById('our_div_name');   // Непосредственно наш контент var our_text = 'our html code ...';   // Получим userAgent браузера var ua = navigator.userAgent.toLowerCase(); if (ua.indexOf(&#34;gecko&#34;) != -1) { // [...]]]></description>
			<content:encoded><![CDATA[<p>Панацея здесь.<span id="more-62"></span></p>
<p>Для любимого нами огненного лиса (Firefox) средствами JavaScript HTML код необходимо вставлять следующим образом:</p>
<pre class="brush: jscript;">
     // Блок куда необходимо вставить html контент
    var our_div = document.getElementById('our_div_name');

     // Непосредственно наш контент
    var our_text = 'our html code ...';

     // Получим userAgent браузера
    var ua = navigator.userAgent.toLowerCase();

    if (ua.indexOf(&quot;gecko&quot;) != -1) {
        // Если браузер Mozilla, или Firefox, или Netscape
        var range = div_preview.ownerDocument.createRange();
        range.selectNodeContents(our_div);

        // Очистим внутренности нашего блока
        range.deleteContents();
        var fragment = range.createContextualFragment(our_text); //&amp;lt;-- dies here

        // Теперь наполним необходимым контентом
        our_div.appendChild(fragment);
    }  else  {
        // Для остальных браузеров
        our_div.innerHTML = our_text;
    }
</pre>
<img src="http://mihalytch.org.ua/?ak_action=api_record_view&id=62&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://mihalytch.org.ua/programming/js/does-not-work-innerhtml-in-firefox.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
