<?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>dom111.co.uk &#187; jQuery</title>
	<atom:link href="http://www.dom111.co.uk/blog/category/coding/javascript/jquery/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dom111.co.uk/blog</link>
	<description>Move along. Nothing to see here.</description>
	<lastBuildDate>Wed, 26 Oct 2011 16:37:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>jQuery serializeObject 0.1</title>
		<link>http://www.dom111.co.uk/blog/coding/jquery-serializeobject-0-1/283</link>
		<comments>http://www.dom111.co.uk/blog/coding/jquery-serializeobject-0-1/283#comments</comments>
		<pubDate>Thu, 31 Mar 2011 22:37:47 +0000</pubDate>
		<dc:creator>dom111</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[formToObject]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[post data]]></category>
		<category><![CDATA[serializeObject]]></category>

		<guid isPermaLink="false">http://www.dom111.co.uk/blog/?p=283</guid>
		<description><![CDATA[I found myself in a situation recently where I wanted to have access to variables that would have been posted, in a the same structure as if the form had been posted and returned the JSON, using this jQuery plugin and Douglas Crockford&#8217;s JSON library, I think I&#8217;ve done it! You can download the script [...]]]></description>
			<content:encoded><![CDATA[<p>I found myself in a situation recently where I wanted to have access to variables that would have been posted, in a the same structure as if the form had been posted and returned the JSON, using this jQuery plugin and <a href="https://github.com/douglascrockford/JSON-js">Douglas Crockford&#8217;s JSON library</a>, I think I&#8217;ve done it!</p>
<p>You can <a href="/files/jquery-serializeObject/jquery.serializeObject-0.1.tar.gz">download the script here</a> and there&#8217;s <a href="/files/jquery-serializeObject">a demo here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dom111.co.uk/blog/coding/jquery-serializeobject-0-1/283/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Ajaxify Lite</title>
		<link>http://www.dom111.co.uk/blog/coding/jquery-ajaxify-lite/275</link>
		<comments>http://www.dom111.co.uk/blog/coding/jquery-ajaxify-lite/275#comments</comments>
		<pubDate>Fri, 29 Oct 2010 09:33:19 +0000</pubDate>
		<dc:creator>dom111</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[ajax form]]></category>
		<category><![CDATA[ajaxify]]></category>
		<category><![CDATA[form]]></category>

		<guid isPermaLink="false">http://www.dom111.co.uk/blog/?p=275</guid>
		<description><![CDATA[I&#8217;ve been using the ajaxify plugin for a while now and felt it needed an update. Since .live() is supported for more events now, I thought it was time to get it working how I always wanted it to work. Using the same syntax on links as before, you can specify the target div, using [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using the ajaxify plugin for a while now and felt it needed an update.</p>
<p>Since .live() is supported for more events now, I thought it was time to get it working how I always wanted it to work.</p>
<p>Using the same syntax on links as before, you can specify the target div, using the target=&#8221;" attribute and the url is automatically extracted from the href=&#8221;" or action=&#8221;" attribute meaning you can keep your code simple and valid but have easily Ajax populated content, as since I&#8217;m using .live() any future links/forms that match the original selector will continue to be &#8216;ajaxified&#8217;.</p>
<p>There&#8217;s <a href="/files/ajaxify/lite/">a demo here</a> and <a href="/files/ajaxify/lite/jquery.ajaxify.lite.tar.gz">source code too</a>, as ever.</p>
<p>Also <a href="http://code.google.com/p/ajaxify/source/browse/#svn/branches/lite">available through Google Code</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dom111.co.uk/blog/coding/jquery-ajaxify-lite/275/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>simpleGallery 0.2 &#8211; Minor updates</title>
		<link>http://www.dom111.co.uk/blog/coding/simplegallery-0-2-minor-updates/268</link>
		<comments>http://www.dom111.co.uk/blog/coding/simplegallery-0-2-minor-updates/268#comments</comments>
		<pubDate>Mon, 25 Oct 2010 13:39:49 +0000</pubDate>
		<dc:creator>dom111</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[image gallery]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[photography gallery]]></category>
		<category><![CDATA[php image gallery]]></category>
		<category><![CDATA[php images]]></category>
		<category><![CDATA[simplegallery]]></category>

		<guid isPermaLink="false">http://www.dom111.co.uk/blog/?p=268</guid>
		<description><![CDATA[I&#8217;ve updated the gallery script I created in July. I&#8217;ve re-factored the code into a static class for easier modification and have created a config.ini settings file, to save modifying the script itself. New features: * Image titles * Separate configuration * Standard mode with safe URLs as well as mod_rewrite enabled &#8216;nice&#8217; URLs * [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve updated the gallery script I created in July. I&#8217;ve re-factored the code into a static class for easier modification and have created a config.ini settings file, to save modifying the script itself.</p>
<p>New features:</p>
<p>* Image titles<br />
* Separate configuration<br />
* Standard mode with safe URLs as well as mod_rewrite enabled &#8216;nice&#8217; URLs<br />
* Added &#8216;..&#8217; parent folder to galleries</p>
<p><a href="/gallery">The demo page has been updated</a> and <a href="/files/gallery/gallery-0.2.tar.gz">the script is available to download here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dom111.co.uk/blog/coding/simplegallery-0-2-minor-updates/268/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gallery 0.1</title>
		<link>http://www.dom111.co.uk/blog/coding/gallery-0-1/245</link>
		<comments>http://www.dom111.co.uk/blog/coding/gallery-0-1/245#comments</comments>
		<pubDate>Wed, 14 Jul 2010 19:28:08 +0000</pubDate>
		<dc:creator>dom111</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[image gallery]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[simple gallery]]></category>

		<guid isPermaLink="false">http://www.dom111.co.uk/blog/?p=245</guid>
		<description><![CDATA[I recently took it upon myself to create a very small gallery project to easily display images from a folder structure in a fairly pleasing way&#8230; This is the result! You can get the script here]]></description>
			<content:encoded><![CDATA[<p>I recently took it upon myself to create a very small gallery project to easily display images from a folder structure in a fairly pleasing way&#8230;</p>
<p><a href="/gallery">This is the result!</a></p>
<p><a href="/files/gallery/gallery-0.1.tar.gz">You can get the script here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dom111.co.uk/blog/coding/gallery-0-1/245/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery &#8211; Persistent Input Labels</title>
		<link>http://www.dom111.co.uk/blog/coding/jquery-persistent-input-labels/236</link>
		<comments>http://www.dom111.co.uk/blog/coding/jquery-persistent-input-labels/236#comments</comments>
		<pubDate>Thu, 01 Apr 2010 08:03:58 +0000</pubDate>
		<dc:creator>dom111</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[User Interaction]]></category>
		<category><![CDATA[input hint]]></category>
		<category><![CDATA[input label]]></category>
		<category><![CDATA[persistent input hint]]></category>
		<category><![CDATA[persistent input label]]></category>

		<guid isPermaLink="false">http://www.dom111.co.uk/blog/?p=236</guid>
		<description><![CDATA[Do you forget whats supposed to go in the field the second you tab onto it? Are you concerned your users will too? Never fear! This simple plugin places an element of the same type underneath the current element and shows the contents of the title attribute (or whatever attribute you decide to use) as [...]]]></description>
			<content:encoded><![CDATA[<p>Do you forget whats supposed to go in the field the second you tab onto it?</p>
<p>Are you concerned your users will too?</p>
<p>Never fear! This simple plugin places an element of the same type underneath the current element and shows the contents of the title attribute (or whatever attribute you decide to use) as a label until you type text into the box!</p>
<p>It&#8217;s a very early version, and probably has a few bugs, but I&#8217;ve implemented enough to make it fairly useful I think. Unfortunately when you resize a textarea in webkit, it doesn&#8217;r fire the resize event, so I&#8217;ve added a workaround using mousemove (I tried to only capture mousemove if a mousedown had been detected, but to no avail&#8230;)</p>
<p>You can <a href="/files/jquery-inputLabelPersist">see a demo here</a>, and <a href="/files/jquery-inputLabelPersist/jquery.inputLabelPersist-0.1.tar.gz">get the files here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dom111.co.uk/blog/coding/jquery-persistent-input-labels/236/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dropdownify &#8211; Minimal effort dropdown</title>
		<link>http://www.dom111.co.uk/blog/coding/dropdownify-minimal-effort-dropdown/218</link>
		<comments>http://www.dom111.co.uk/blog/coding/dropdownify-minimal-effort-dropdown/218#comments</comments>
		<pubDate>Wed, 27 Jan 2010 12:19:38 +0000</pubDate>
		<dc:creator>dom111</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[drop-down]]></category>
		<category><![CDATA[drop-down menu]]></category>
		<category><![CDATA[drop-down navigation]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[top nav]]></category>

		<guid isPermaLink="false">http://www.dom111.co.uk/blog/?p=218</guid>
		<description><![CDATA[So recently I was asked to change a navigation style of an existing site to drop-down menus. Simple, I thought, just use one of the many existing drop-down plugins. I tried many, but most seemed to use hardcoded styles and I had a few problems (some of which I encountered again, writing this). So I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>So recently I was asked to change a navigation style of an existing site to drop-down menus.</p>
<p>Simple, I thought, just use one of the many existing drop-down plugins. I tried many, but most seemed to use hardcoded styles and I had a few problems (some of which I encountered again, writing this).</p>
<p>So I&#8217;ve made this, I think it&#8217;s fairly robust, but I&#8217;m sure there&#8217;ll be problems with embedded objects (flash) and select boxes (in <= IE6), but for my needs, it sufficed, so I thought I'd share, in case anyone else needs a simple script to manage drop-downs.</p>
<p>To use, create a nest of elements like this:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;ul id=&quot;top&quot;&gt;
  &lt;li&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;</pre></div></div>

<p>or something similar (any elements, <strong><em>should</em></strong> work) and call:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// jQuery:</span>
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'ul#top'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">dropdownify</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">// mootools</span>
$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'top'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">dropdownify</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Which should create a simple drop-down.</p>
<p>There are a couple of examples, <a href="/files/dropdownify/jquery">one for jQuery</a> and <a href="/files/dropdownify/mootools">one for mootools</a>, and the files can downloaded <a href="/files/dropdownify/jquery.dropdownify-0.1.tar.gz">here</a> and <a href="/files/dropdownify/dropdownify-0.1.tar.gz">here</a>.</p>
<p>I did encounter a problem with IE, mainly due to z-index faults, so with HTML code like the following:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;nav-wrapper&quot;&gt;
  &lt;ul id=&quot;top&quot;&gt;
    &lt;li&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;</pre></div></div>

<p>I used the following CSS:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">div.nav-wrapper<span style="color: #00AA00;">,</span>
div<span style="color: #6666ff;">.nav-wrapper</span> ul<span style="color: #00AA00;">,</span>
div<span style="color: #6666ff;">.nav-wrapper</span> ul li <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">static</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">100</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.dom111.co.uk/blog/coding/dropdownify-minimal-effort-dropdown/218/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Message &#8211; Letting the user know what&#8217;s going on</title>
		<link>http://www.dom111.co.uk/blog/coding/jquery-message-letting-the-user-know-whats-going-on/209</link>
		<comments>http://www.dom111.co.uk/blog/coding/jquery-message-letting-the-user-know-whats-going-on/209#comments</comments>
		<pubDate>Mon, 14 Dec 2009 09:40:14 +0000</pubDate>
		<dc:creator>dom111</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[User Interaction]]></category>
		<category><![CDATA[growl]]></category>
		<category><![CDATA[notification]]></category>

		<guid isPermaLink="false">http://www.dom111.co.uk/blog/?p=209</guid>
		<description><![CDATA[Recently I&#8217;ve seen a few implementation of Growl in Javascript and basically just thought I&#8217;d have a go too. Everyone&#8217;s doing it, or so it seems! This simple implementation is styled using pure CSS and you should be to easily modify it to suit your needs! I&#8217;ve set up a demo page and the files [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-medium wp-image-211 aligncenter" title="Screenshot" src="http://www.dom111.co.uk/blog/wp-content/2009/12/Screen-shot-2009-12-14-at-09.44.16-300x209.png" alt="Screenshot" width="300" height="209" /></p>
<p>Recently I&#8217;ve seen a few implementation of Growl in Javascript and basically just thought I&#8217;d have a go too. Everyone&#8217;s doing it, or so it seems!</p>
<p>This simple implementation is styled using pure CSS and you should be to easily modify it to suit your needs!</p>
<p>I&#8217;ve <a href="/files/jquery-message/">set up a demo page</a> and the <a href="/files/jquery-message/jquery-message-0.1.tar.gz">files can be grabbed from here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dom111.co.uk/blog/coding/jquery-message-letting-the-user-know-whats-going-on/209/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Ajaxify &#8211; Update</title>
		<link>http://www.dom111.co.uk/blog/coding/jquery-ajaxify-update/191</link>
		<comments>http://www.dom111.co.uk/blog/coding/jquery-ajaxify-update/191#comments</comments>
		<pubDate>Thu, 24 Sep 2009 14:17:56 +0000</pubDate>
		<dc:creator>dom111</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[ajax form]]></category>
		<category><![CDATA[ajaxify]]></category>
		<category><![CDATA[form]]></category>

		<guid isPermaLink="false">http://www.dom111.co.uk/blog/?p=191</guid>
		<description><![CDATA[I&#8217;ve been doing more work on the jQuery AJAXify plugin, it&#8217;s now a lot more robust (I think&#8230;) and I&#8217;ve squashed a few bugs that were in the previous version (with help from Andrea Battaglia) along with adding in a few new features (with their own bugs no doubt!). Theres an updated test page and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been doing more work on the jQuery AJAXify plugin, it&#8217;s now a lot more robust (I think&#8230;) and I&#8217;ve squashed a few bugs that were in the previous version (with help from Andrea Battaglia) along with adding in a few new features (with their own bugs no doubt!).</p>
<p>Theres an <a href="/files/ajaxify/0.4/">updated test page</a> and as ever <a href="/files/ajaxify/0.4/jquery.ajaxify-0.4.tar.gz">a direct link to download here</a>.</p>
<p>Check out the <a href="/files/ajaxify/0.4/">test page</a> to see the new features!</p>
<p><strong>Edit</strong>: Further updates, all links have been updated to version 0.3b. Added (and documented existing) callbacks as requested by Sebioff! And a further fix for the &#8216;append&#8217; option. Also fixed IE6 compatibility.</p>
<p><strong>Further Update</strong>: Another update after the comment from David Lee about $(&#8216;form&#8217;).serialize();</p>
<p><strong>Another Further Update</strong>: I have <a href="http://ajaxify.googlecode.com/">set up a Google Code repository for this plugin,</a> which states that this code is released under the MIT license.</p>
<p><strong>Update October 2010</strong>: I have <a href="/blog/coding/jquery-ajaxify-lite/275">updated this plugin for jQuery 1.4.3 as a &#8216;lite&#8217; version</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dom111.co.uk/blog/coding/jquery-ajaxify-update/191/feed</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>jQuery Ajaxify</title>
		<link>http://www.dom111.co.uk/blog/coding/jquery-ajaxify/145</link>
		<comments>http://www.dom111.co.uk/blog/coding/jquery-ajaxify/145#comments</comments>
		<pubDate>Tue, 11 Aug 2009 21:58:03 +0000</pubDate>
		<dc:creator>dom111</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[ajaxify]]></category>
		<category><![CDATA[html forms]]></category>

		<guid isPermaLink="false">http://www.dom111.co.uk/blog/?p=145</guid>
		<description><![CDATA[Probably not the first person to implement this, but I wanted to make an automatic form AJAX-&#8217;ifier&#8217; that could capture which submit button had caused the submit event to be fired too. It&#8217;s implemented fairly simply: $&#40;'form'&#41;.ajaxify&#40;&#41;; There&#8217;s a demo page or you can just download it and have a look. Update: As pointed out [...]]]></description>
			<content:encoded><![CDATA[<p>Probably not the first person to implement this, but I wanted to make an automatic form AJAX-&#8217;ifier&#8217; that could capture which submit button had caused the submit event to be fired too.</p>
<p>It&#8217;s implemented fairly simply:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'form'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ajaxify</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>There&#8217;s a <a href="/files/ajaxify">demo page</a> or you can just <a href="/files/ajaxify/jquery.ajaxify-0.1a.tar.gz">download it and have a look</a>.</p>
<p><strong>Update</strong>: As pointed out by Andrea in the comments below, this would return the value of radio and checkboxes even if they weren&#8217;t selected. I have released 0.1a and updated the link above to fix this issue. Thanks Andrea!</p>
<p><strong>Update 2</strong>: I have updated this plugin, <a href="/blog/coding/jquery-ajaxify-update/191">view this post for more information</a>.</p>
<p><strong>Update October 2010</strong>: I have <a href="/blog/coding/jquery-ajaxify-lite/275">updated this plugin for jQuery 1.4.3 as a &#8216;lite&#8217; version</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dom111.co.uk/blog/coding/jquery-ajaxify/145/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>jQuery addCaptions 0.2 &#8211; Minor update</title>
		<link>http://www.dom111.co.uk/blog/coding/jquery-addcaptions-0-2-minor-update/139</link>
		<comments>http://www.dom111.co.uk/blog/coding/jquery-addcaptions-0-2-minor-update/139#comments</comments>
		<pubDate>Wed, 05 Aug 2009 23:34:25 +0000</pubDate>
		<dc:creator>dom111</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[addCaptions]]></category>
		<category><![CDATA[image caption]]></category>

		<guid isPermaLink="false">http://www.dom111.co.uk/blog/?p=139</guid>
		<description><![CDATA[I&#8217;ve been using the jQuery addCaptions plugin and have come across a couple of new features that I felt were required and have fixed a bug in the previous verison. I have added an exclude option to the settings so you can prevent captions being added to elements not required (like a reCaptcha box&#8230;). It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using the jQuery addCaptions plugin and have come across a couple of new features that I felt were required and have fixed a bug in the previous verison.</p>
<p>I have added an <code>exclude</code> option to the settings so you can prevent captions being added to elements not required (like a reCaptcha box&#8230;). It&#8217;s used like this:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div.demo'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addCaptions</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
  <span style="color: #3366CC;">'exclude'</span><span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #3366CC;">'alt'</span><span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span>
      <span style="color: #009966; font-style: italic;">/orange/</span>
    <span style="color: #009900;">&#93;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>This would exclude any images that have the word &#8216;orange&#8217; in the the <code>alt</code> attribute.</p>
<p>I also fixed a minor bug in which the script would look for captions in elements in reverse order (whoops!).</p>
<p>The only other change is making the elements found within the container a selector instead of an element option and a class option.</p>
<p>There is <a href="/files/jquery-addcaptions/0.2">an updated demo here</a>, or you can <a href="/files/jquery-addcaptions/jquery.addcaptions-0.2.tar.gz">just download the script here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dom111.co.uk/blog/coding/jquery-addcaptions-0-2-minor-update/139/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

