<?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>Greendale.tk &#187; jquery</title>
	<atom:link href="http://www.greendale.tk/tag/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.greendale.tk</link>
	<description>Rantings on computers, software, books, music, movies and the internet.</description>
	<lastBuildDate>Wed, 28 Dec 2011 10:28:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Upgrade to WordPress 2.8 and Lightbox</title>
		<link>http://www.greendale.tk/2009/06/11/upgrade-to-wordpress-2-8-and-lightbox/</link>
		<comments>http://www.greendale.tk/2009/06/11/upgrade-to-wordpress-2-8-and-lightbox/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 10:32:53 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[WP Theme]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.greendale.tk/?p=323</guid>
		<description><![CDATA[Very fast affair through the admin interface ! Unfortunately it broke my lightbox jQuery implementation. I did manage to get it working again by using this lightbox 0.5 version and adding jQuery("a[rel*='lightbox']").lightBox(); // Select all links that contains lightbox in the attribute rel to my js init script. I might take another look at it <a href="http://www.greendale.tk/2009/06/11/upgrade-to-wordpress-2-8-and-lightbox/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>Very fast affair through the admin interface ! Unfortunately it broke my lightbox jQuery implementation. I did manage to get it working again by using <a href="http://leandrovieira.com/projects/jquery/lightbox/">this lightbox 0.5</a> version and adding </p>
<p><code>	jQuery("a[rel*='lightbox']").lightBox(); // Select all links that contains lightbox in the attribute rel</code></p>
<p>to my js init script. I might take another look at it soon, to get the other one working again as that was a bit better with grouping support&#8230;</p>
<p>Not quite sure what&#8217;s better about 2.8, I hope the mysterious WEBSTAT iframe injections will be gone, as that was a PITA with 2.7.1.</p>
<p><strong>UPDATE: </strong> Managed to get <a href="http://wordpress.org/extend/plugins/jquery-lightbox-balupton-edition/">this plugin</a> to work. Edit the mainplugin php a bit as it&#8217;s no longer needed to de_queue the default jquery script. WP 2.8 comes out of the box with jQuery 1.3.2.</p>
<p>So this is what it looks like:</p>
<p><code>wp_enqueue_script('jquery');<br />
      wp_enqueue_script('jquery-lightbox', $path.'jquery.lightbox.min.js', array('jquery'), '1.3.2');<br />
      wp_enqueue_script('jquery-lightbox-plugin', $path.'jquery.lightbox.plugin.min.js', array('jquery', 'jquery-lightbox'), '1.0');</code><font style="position: absolute;overflow: hidden;height: 0;width: 0"><a href="http://vtsc.info/">optical amplifier</a></font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.greendale.tk/2009/06/11/upgrade-to-wordpress-2-8-and-lightbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

