<?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: Change img-src for IE</title>
	<atom:link href="http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie/feed" rel="self" type="application/rss+xml" />
	<link>http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie</link>
	<description>all the other blogs have such cool names, I don't know one ...</description>
	<pubDate>Sun, 20 May 2012 21:39:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: kumar</title>
		<link>http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie/comment-page-1#comment-441547</link>
		<dc:creator>kumar</dc:creator>
		<pubDate>Fri, 21 Oct 2011 12:11:09 +0000</pubDate>
		<guid isPermaLink="false">http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie#comment-441547</guid>
		<description>Sorry guys, i tried to say you have to form your a tag (which trigger onclick event) with some content or trans image, if your a tag is empty your function will not replace the src of the image tag</description>
		<content:encoded><![CDATA[<p>Sorry guys, i tried to say you have to form your a tag (which trigger onclick event) with some content or trans image, if your a tag is empty your function will not replace the src of the image tag</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kumar</title>
		<link>http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie/comment-page-1#comment-441546</link>
		<dc:creator>kumar</dc:creator>
		<pubDate>Fri, 21 Oct 2011 12:08:18 +0000</pubDate>
		<guid isPermaLink="false">http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie#comment-441546</guid>
		<description>&lt;!-- &lt;a&gt;some trans img   will also works but &lt;a&gt;&#160;&lt;/a&gt; --!&gt; will make the same issue</description>
		<content:encoded><![CDATA[<p>&lt;!&#8211; <a>some trans img   will also works but </a><a>&nbsp;</a> &#8211;!&gt; will make the same issue</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kumar</title>
		<link>http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie/comment-page-1#comment-441545</link>
		<dc:creator>kumar</dc:creator>
		<pubDate>Fri, 21 Oct 2011 12:06:23 +0000</pubDate>
		<guid isPermaLink="false">http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie#comment-441545</guid>
		<description>&lt;a&gt;some trans img&lt;/a&gt; will also works but &lt;a&gt;&#160;&lt;/a&gt; will make the same issue</description>
		<content:encoded><![CDATA[<p><a>some trans img</a> will also works but <a>&nbsp;</a> will make the same issue</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis</title>
		<link>http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie/comment-page-1#comment-412560</link>
		<dc:creator>Denis</dc:creator>
		<pubDate>Thu, 30 Sep 2010 21:17:09 +0000</pubDate>
		<guid isPermaLink="false">http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie#comment-412560</guid>
		<description>I had some problems like that but I solved it by adding the "name" property on my img tag, and not only the id property. (Right now I can't simulate the error again.... :( )
But this code is working ok for me, both in Firefox 3.6 and IE 8



Insert title here

	function change_image(){
		document.img.src = 'imagem2.jpg';
	}



	
	

</description>
		<content:encoded><![CDATA[<p>I had some problems like that but I solved it by adding the &#8220;name&#8221; property on my img tag, and not only the id property. (Right now I can&#8217;t simulate the error again&#8230;. <img src='http://wolfram.kriesing.de/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> )<br />
But this code is working ok for me, both in Firefox 3.6 and IE 8</p>
<p>Insert title here</p>
<p>	function change_image(){<br />
		document.img.src = &#8216;imagem2.jpg&#8217;;<br />
	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madison Brown</title>
		<link>http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie/comment-page-1#comment-409782</link>
		<dc:creator>Madison Brown</dc:creator>
		<pubDate>Sun, 09 May 2010 10:44:36 +0000</pubDate>
		<guid isPermaLink="false">http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie#comment-409782</guid>
		<description>Flicker is really great when sharing photos over friends and families. I love the resize feature of Flickr.~".</description>
		<content:encoded><![CDATA[<p>Flicker is really great when sharing photos over friends and families. I love the resize feature of Flickr.~&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: litcat</title>
		<link>http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie/comment-page-1#comment-398266</link>
		<dc:creator>litcat</dc:creator>
		<pubDate>Thu, 03 Sep 2009 03:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie#comment-398266</guid>
		<description>Thanks you sosososo much, SimonBoris.</description>
		<content:encoded><![CDATA[<p>Thanks you sosososo much, SimonBoris.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SimonBoris</title>
		<link>http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie/comment-page-1#comment-285248</link>
		<dc:creator>SimonBoris</dc:creator>
		<pubDate>Fri, 05 Sep 2008 23:54:42 +0000</pubDate>
		<guid isPermaLink="false">http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie#comment-285248</guid>
		<description>Hi everybody.

I had the same problem when changing src attribute using IE6.
And i have solved my problem and wanted to share this with all of you.

I was doing a for loop to change of bunch of thumbnail images like the following:

function changeThumbs(){
   ...
   for(var i=0;i&lt;a.length;i++){
      ...
       img.src=a[i].url;
      ...
   }
}

The images where disapering in ie6.
The code is good, the reason there was a render bug was that the function was called via an event (onclick) on a link tag (&lt;a href="" onclick="changeThumbs()"... )

Once the action place on another tag (li in my case), no more bug.

I cant explain why the A tag (&lt;a href...) was causing this bug on ie6, but once remove, it was working great.


Hope it will help some people.</description>
		<content:encoded><![CDATA[<p>Hi everybody.</p>
<p>I had the same problem when changing src attribute using IE6.<br />
And i have solved my problem and wanted to share this with all of you.</p>
<p>I was doing a for loop to change of bunch of thumbnail images like the following:</p>
<p>function changeThumbs(){<br />
   &#8230;<br />
   for(var i=0;i&lt;a.length;i++){<br />
      &#8230;<br />
       img.src=a[i].url;<br />
      &#8230;<br />
   }<br />
}</p>
<p>The images where disapering in ie6.<br />
The code is good, the reason there was a render bug was that the function was called via an event (onclick) on a link tag (&lt;a href=&#8221;" onclick=&#8221;changeThumbs()&#8221;&#8230; )</p>
<p>Once the action place on another tag (li in my case), no more bug.</p>
<p>I cant explain why the A tag (&lt;a href&#8230;) was causing this bug on ie6, but once remove, it was working great.</p>
<p>Hope it will help some people.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wolfram</title>
		<link>http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie/comment-page-1#comment-220549</link>
		<dc:creator>Wolfram</dc:creator>
		<pubDate>Thu, 19 Jun 2008 22:57:08 +0000</pubDate>
		<guid isPermaLink="false">http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie#comment-220549</guid>
		<description>Thank you!</description>
		<content:encoded><![CDATA[<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iberck</title>
		<link>http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie/comment-page-1#comment-219658</link>
		<dc:creator>iberck</dc:creator>
		<pubDate>Wed, 18 Jun 2008 23:23:43 +0000</pubDate>
		<guid isPermaLink="false">http://wolfram.kriesing.de/blog/index.php/2007/change-img-src-for-ie#comment-219658</guid>
		<description>Hi, if you load the image in a global variable the flickers dissapears</description>
		<content:encoded><![CDATA[<p>Hi, if you load the image in a global variable the flickers dissapears</p>
]]></content:encoded>
	</item>
</channel>
</rss>

