<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>ProDevTips - Latest Comments in jQuery Chili plus Code Autoescape is good code highlighting in Wordpress</title><link>http://prodevtips.disqus.com/</link><description>Mainly tutorials and tips relating to web development with PHP, Javascript, jQuery and Ruby</description><atom:link href="https://prodevtips.disqus.com/jquery_chili_plus_code_autoescape_is_good_code_highlighting_in_wordpress/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 26 Dec 2007 21:36:18 -0000</lastBuildDate><item><title>Re: 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/#comment-1494303</link><description>&lt;p&gt;The code in Ariel's above post should have looked like this:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre&gt;&lt;code&gt;&lt;br&gt;function showMainPic(pic){&lt;br&gt;      var inner_html = '&amp;lt;img src="'+galleryDir+pic+'"&amp;gt;';&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;&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Henrik</dc:creator><pubDate>Wed, 26 Dec 2007 21:36:18 -0000</pubDate></item><item><title>Re: 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/#comment-1494305</link><description>&lt;p&gt;Hmm, comments get filtered even though it's me editing them. That is not a wanted behavior.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Henrik</dc:creator><pubDate>Wed, 26 Dec 2007 12:28:18 -0000</pubDate></item><item><title>Re: 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/#comment-1494304</link><description>&lt;p&gt;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 :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Henrik</dc:creator><pubDate>Wed, 26 Dec 2007 12:26:49 -0000</pubDate></item><item><title>Re: 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/#comment-1494306</link><description>&lt;p&gt;In case you're interested, here's a shorter version of your JS.&lt;/p&gt;&lt;p&gt;function showMainPic(pic){&lt;br&gt;      var inner_html = '&amp;lt;img src="'+galleryDir+pic+'"&amp;gt;';&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;/p&gt;&lt;p&gt;Note that for using the option offset, you need at least jQuery.ScrollTo 1.2.4.&lt;br&gt;Cheers.&amp;lt;/img&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ariel Flesler</dc:creator><pubDate>Wed, 26 Dec 2007 08:58:46 -0000</pubDate></item></channel></rss>