<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: jQuery Chili plus Code Autoescape is good code highlighting in Wordpress</title>
	<link>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/</link>
	<description>Dev related notes, tutorials and anecdotes</description>
	<pubDate>Sat, 22 Nov 2008 05:54:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Henrik</title>
		<link>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/#comment-241</link>
		<dc:creator>Henrik</dc:creator>
		<pubDate>Thu, 27 Dec 2007 02:36:18 +0000</pubDate>
		<guid>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/#comment-241</guid>
		<description>The code in Ariel's above post should have looked like this:

&lt;pre&gt;&lt;code&gt;
function showMainPic(pic){
      var inner_html = '&lt;img src="'+galleryDir+pic+'"/&gt;';
      var $mainPic = $("#mainPic").html(inner_html);
      $.scrollTo( $mainPic, {
                speed:500,
                offset: $mainPic.height() / 2
       });
};
&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>The code in Ariel&#8217;s above post should have looked like this:</p>
<pre><pre><code>function showMainPic(pic){
      var inner_html = '&lt;img src="'+galleryDir+pic+'"/&gt;';
      var $mainPic = $("#mainPic").html(inner_html);
      $.scrollTo( $mainPic, {
                speed:500,
                offset: $mainPic.height() / 2
       });
};</code></pre></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik</title>
		<link>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/#comment-1529</link>
		<dc:creator>Henrik</dc:creator>
		<pubDate>Thu, 27 Dec 2007 02:36:18 +0000</pubDate>
		<guid>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/#comment-1529</guid>
		<description>The code in Ariel&#39;s above post should have looked like this:&lt;br&gt;&lt;br&gt;&#60;pre&#62;&lt;code&gt;&lt;br&gt;function showMainPic(pic){&lt;br&gt;      var inner_html = &#39;&#60;img src="&#39;+galleryDir+pic+&#39;"&#62;&#39;;&lt;br&gt;      var $mainPic = $("#mainPic").html(inner_html);&lt;br&gt;      $.scrollTo( $mainPic, {&lt;br&gt;                speed:500,&lt;br&gt;                offset: $mainPic.height() / 2&lt;br&gt;       });&lt;br&gt;};&lt;br&gt;&#60;/img&#62;&lt;/code&gt;&#60;/pre&#62;</description>
		<content:encoded><![CDATA[<p>The code in Ariel&#39;s above post should have looked like this:</p>
<p>&lt;pre&gt;<code>&lt;br&gt;function showMainPic(pic){&lt;br&gt;      var inner_html = &amp;#39;&amp;lt;img src="&amp;#39;+galleryDir+pic+&amp;#39;"&amp;gt;&amp;#39;;&lt;br&gt;      var $mainPic = $("#mainPic").html(inner_html);&lt;br&gt;      $.scrollTo( $mainPic, {&lt;br&gt;                speed:500,&lt;br&gt;                offset: $mainPic.height() / 2&lt;br&gt;       });&lt;br&gt;};&lt;br&gt;&amp;lt;/img&amp;gt;</code>&lt;/pre&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik</title>
		<link>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/#comment-239</link>
		<dc:creator>Henrik</dc:creator>
		<pubDate>Wed, 26 Dec 2007 17:28:18 +0000</pubDate>
		<guid>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/#comment-239</guid>
		<description>Hmm, comments get filtered even though it's me editing them. That is not a wanted behavior.</description>
		<content:encoded><![CDATA[<p>Hmm, comments get filtered even though it&#8217;s me editing them. That is not a wanted behavior.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik</title>
		<link>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/#comment-1528</link>
		<dc:creator>Henrik</dc:creator>
		<pubDate>Wed, 26 Dec 2007 17:28:18 +0000</pubDate>
		<guid>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/#comment-1528</guid>
		<description>Hmm, comments get filtered even though it&#39;s me editing them. That is not a wanted behavior.</description>
		<content:encoded><![CDATA[<p>Hmm, comments get filtered even though it&#39;s me editing them. That is not a wanted behavior.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik</title>
		<link>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/#comment-238</link>
		<dc:creator>Henrik</dc:creator>
		<pubDate>Wed, 26 Dec 2007 17:26:49 +0000</pubDate>
		<guid>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/#comment-238</guid>
		<description>Thanks yet again Ariel, I'll look into the new version tomorrow. I can't remember which version I'm using at work. Anyway, seems like I can put dimensions to rest once and for all :)</description>
		<content:encoded><![CDATA[<p>Thanks yet again Ariel, I&#8217;ll look into the new version tomorrow. I can&#8217;t remember which version I&#8217;m using at work. Anyway, seems like I can put dimensions to rest once and for all <img src='http://www.prodevtips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik</title>
		<link>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/#comment-1527</link>
		<dc:creator>Henrik</dc:creator>
		<pubDate>Wed, 26 Dec 2007 17:26:49 +0000</pubDate>
		<guid>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/#comment-1527</guid>
		<description>Thanks yet again Ariel, I&#39;ll look into the new version tomorrow. I can&#39;t remember which version I&#39;m using at work. Anyway, seems like I can put dimensions to rest once and for all :)</description>
		<content:encoded><![CDATA[<p>Thanks yet again Ariel, I&#39;ll look into the new version tomorrow. I can&#39;t remember which version I&#39;m using at work. Anyway, seems like I can put dimensions to rest once and for all <img src='http://www.prodevtips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ariel Flesler</title>
		<link>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/#comment-237</link>
		<dc:creator>Ariel Flesler</dc:creator>
		<pubDate>Wed, 26 Dec 2007 13:58:46 +0000</pubDate>
		<guid>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/#comment-237</guid>
		<description>In case you're interested, here's a shorter version of your JS.


function showMainPic(pic){
      var inner_html = '&lt;img src="'+galleryDir+pic+'"/&gt;';
      var $mainPic = $("#mainPic").html(inner_html);
      $.scrollTo( $mainPic, {
                speed:500,
                offset: $mainPic.height() / 2
       });
};

Note that for using the option offset, you need at least jQuery.ScrollTo 1.2.4.
Cheers.</description>
		<content:encoded><![CDATA[<p>In case you&#8217;re interested, here&#8217;s a shorter version of your JS.</p>
<p>function showMainPic(pic){<br />
      var inner_html = &#8216;<img src="'+galleryDir+pic+'"/>&#8216;;<br />
      var $mainPic = $(&#8221;#mainPic&#8221;).html(inner_html);<br />
      $.scrollTo( $mainPic, {<br />
                speed:500,<br />
                offset: $mainPic.height() / 2<br />
       });<br />
};</p>
<p>Note that for using the option offset, you need at least jQuery.ScrollTo 1.2.4.<br />
Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ariel Flesler</title>
		<link>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/#comment-1526</link>
		<dc:creator>Ariel Flesler</dc:creator>
		<pubDate>Wed, 26 Dec 2007 13:58:46 +0000</pubDate>
		<guid>http://www.prodevtips.com/2007/12/21/jquery-chili-plus-code-autoescape-is-good-code-highlighting-in-wordpress/#comment-1526</guid>
		<description>In case you&#39;re interested, here&#39;s a shorter version of your JS.&lt;br&gt;&lt;br&gt;&lt;br&gt;function showMainPic(pic){&lt;br&gt;      var inner_html = &#39;&#60;img src="&#39;+galleryDir+pic+&#39;"&#62;&#39;;&lt;br&gt;      var $mainPic = $("#mainPic").html(inner_html);&lt;br&gt;      $.scrollTo( $mainPic, {&lt;br&gt;                speed:500,&lt;br&gt;                offset: $mainPic.height() / 2&lt;br&gt;       });&lt;br&gt;};&lt;br&gt;&lt;br&gt;Note that for using the option offset, you need at least jQuery.ScrollTo 1.2.4.&lt;br&gt;Cheers.&#60;/img&#62;</description>
		<content:encoded><![CDATA[<p>In case you&#39;re interested, here&#39;s a shorter version of your JS.</p>
<p>function showMainPic(pic){<br />      var inner_html = &#39;&lt;img src=&#8221;&#39;+galleryDir+pic+&#39;&#8221;&gt;&#39;;<br />      var $mainPic = $(&#8221;#mainPic&#8221;).html(inner_html);<br />      $.scrollTo( $mainPic, {<br />                speed:500,<br />                offset: $mainPic.height() / 2<br />       });<br />};</p>
<p>Note that for using the option offset, you need at least jQuery.ScrollTo 1.2.4.<br />Cheers.&lt;/img&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
