<?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; Coding</title>
	<atom:link href="http://www.dom111.co.uk/blog/category/coding/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>Prototype 1.6: Event.live</title>
		<link>http://www.dom111.co.uk/blog/coding/prototype-1-6-event-live/295</link>
		<comments>http://www.dom111.co.uk/blog/coding/prototype-1-6-event-live/295#comments</comments>
		<pubDate>Wed, 26 Oct 2011 16:33:30 +0000</pubDate>
		<dc:creator>dom111</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Prototype]]></category>

		<guid isPermaLink="false">http://www.dom111.co.uk/blog/?p=295</guid>
		<description><![CDATA[I&#8217;ve recently been using Prototype 1.6 and had a need for a jQuery.live() clone. The following code appears to emulate mouse events well (form submits [and maybe more...] do not work in IE): Event.live = function&#40;s, e, f&#41; &#123; Event.observe&#40;document, e, function&#40;event&#41; &#123; if &#40;Element.match&#40;event.target, s&#41;&#41; &#123; if &#40;!&#40;f.call&#40;event.target, event&#41;&#41;&#41; &#123; event.stop&#40;&#41;; &#125; &#125; &#125;&#41;; [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently been using Prototype 1.6 and had a need for a jQuery.live() clone. The following code appears to emulate mouse events well (form submits [and maybe more...] do not work in IE):</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">Event.<span style="color: #660066;">live</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>s<span style="color: #339933;">,</span> e<span style="color: #339933;">,</span> f<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    Event.<span style="color: #660066;">observe</span><span style="color: #009900;">&#40;</span>document<span style="color: #339933;">,</span> e<span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>Element.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span>event.<span style="color: #660066;">target</span><span style="color: #339933;">,</span> s<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #009900;">&#40;</span>f.<span style="color: #660066;">call</span><span style="color: #009900;">&#40;</span>event.<span style="color: #660066;">target</span><span style="color: #339933;">,</span> event<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                event.<span style="color: #000066;">stop</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>To use this run something like the following:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">Event.<span style="color: #660066;">live</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div#doesnt_exist_yet a.button'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'click'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #006600; font-style: italic;">// run this when the button is clicked</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Hope this helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dom111.co.uk/blog/coding/prototype-1-6-event-live/295/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>TextMate: Minify CSS Regular Expression</title>
		<link>http://www.dom111.co.uk/blog/coding/textmate-minify-css-regular-expression/258</link>
		<comments>http://www.dom111.co.uk/blog/coding/textmate-minify-css-regular-expression/258#comments</comments>
		<pubDate>Fri, 08 Oct 2010 09:36:29 +0000</pubDate>
		<dc:creator>dom111</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Regular Expressions]]></category>
		<category><![CDATA[TextMate]]></category>
		<category><![CDATA[minify css]]></category>
		<category><![CDATA[regular expression]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[textmate minify css]]></category>

		<guid isPermaLink="false">http://www.dom111.co.uk/blog/?p=258</guid>
		<description><![CDATA[I love TextMate. It&#8217;s saved me so much time since I&#8217;ve started using, I think I&#8217;d find it impossible to use another editor. However, the format CSS compressed snippet, doesn&#8217;t quite do what I&#8217;d expect. Luckily the Find and Replace regular expression engine is pretty cool! I&#8217;ve got this small (!) regular expression that should [...]]]></description>
			<content:encoded><![CDATA[<p>I love <a href="http://www.macromates.com/">TextMate</a>. It&#8217;s saved me so much time since I&#8217;ve started using, I think I&#8217;d find it impossible to use another editor. However, the format CSS compressed snippet, doesn&#8217;t quite do what I&#8217;d expect.</p>
<p>Luckily the Find and Replace regular expression engine is pretty cool!</p>
<p>I&#8217;ve got this small (!) regular expression that should minify your CSS, by putting:</p>
<p><code>;?\s*([:;,{}])\s*|\s*/\*()[\S\s]+?\*/\s*|(\s)\s+</code></p>
<p>in the Find box and:</p>
<p><code>$1</code></p>
<p>in the replace box, and by ensuring that Regular expression is ticked, you should be able to minify CSS with the Replace All button!</p>
<p><strong><span style="font-weight: normal;"><img class="alignnone size-full wp-image-262" title="TextMate Find and Replace: Minify CSS" src="http://www.dom111.co.uk/blog/wp-content/2010/10/Screen-shot-2010-10-08-at-10.41.24.png" alt="TextMate Find and Replace: Minify CSS" width="497" height="186" /></span></strong></p>
<p><strong><span style="font-weight: normal;"> </span>Note</strong>: I haven&#8217;t test this particularly extensively, or with the IE <code>expression()</code>. This may produce undesired results! It certainly seems to be fine on all the standard CSS I&#8217;ve tested it with.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dom111.co.uk/blog/coding/textmate-minify-css-regular-expression/258/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SequelPro: Twilight Theme</title>
		<link>http://www.dom111.co.uk/blog/coding/sequelpro-twilight-theme/252</link>
		<comments>http://www.dom111.co.uk/blog/coding/sequelpro-twilight-theme/252#comments</comments>
		<pubDate>Thu, 16 Sep 2010 16:56:21 +0000</pubDate>
		<dc:creator>dom111</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[sequel pro]]></category>
		<category><![CDATA[sequel pro theme]]></category>
		<category><![CDATA[sequelpro]]></category>
		<category><![CDATA[sequelpro theme]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[twilight]]></category>

		<guid isPermaLink="false">http://www.dom111.co.uk/blog/?p=252</guid>
		<description><![CDATA[I&#8217;ve been using SequelPro for quite some time. I think it&#8217;s a great app for working with MySQL databases and I love the ability to style the Query Editor. I created a theme (which might only work with the nightly builds&#8230;) that is not entirely disimilar to the Twilight theme for TextMate. Thought I&#8217;d share [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://www.sequelpro.com/">SequelPro</a> for quite some time. I think it&#8217;s a great app for working with MySQL databases and I love the ability to style the Query Editor.</p>
<p>I created a theme (which might only work with the <a href="http://nightly.sequelpro.com/">nightly builds</a>&#8230;) that is not entirely disimilar to the Twilight theme for TextMate.</p>
<p>Thought I&#8217;d share it, in case anyone else would like it too!</p>
<p>It looks like this:<br />
<a href="http://www.dom111.co.uk/blog/wp-content/2010/09/sequel-pro-twilight.jpg"><img class="alignnone size-full wp-image-253" title="SequelPro Twilight Theme" src="http://www.dom111.co.uk/blog/wp-content/2010/09/sequel-pro-twilight.jpg" alt="" width="332" height="285" /></a></p>
<p><a href="/files/sequelpro/twilight.tar.gz">Download it here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dom111.co.uk/blog/coding/sequelpro-twilight-theme/252/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>autoPopulate 0.1</title>
		<link>http://www.dom111.co.uk/blog/coding/autopopulate-0-1/249</link>
		<comments>http://www.dom111.co.uk/blog/coding/autopopulate-0-1/249#comments</comments>
		<pubDate>Tue, 14 Sep 2010 17:40:17 +0000</pubDate>
		<dc:creator>dom111</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[auto populate]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[form fill]]></category>
		<category><![CDATA[html form]]></category>
		<category><![CDATA[lazy]]></category>

		<guid isPermaLink="false">http://www.dom111.co.uk/blog/?p=249</guid>
		<description><![CDATA[I&#8217;ve had it with filling in the same details repeatedly while testing a new form&#8217;s validation! So much so, that I&#8217;ve spent time writing a pointless bookmarklet that makes me even more lazy and probably isn&#8217;t doing anything for my typos to real words ratio, however, I thought it might be useful to other people [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had it with filling in the same details repeatedly while testing a new form&#8217;s validation!</p>
<p>So much so, that I&#8217;ve spent time writing a pointless bookmarklet that makes me even more lazy and probably isn&#8217;t doing anything for my typos to real words ratio, however, I thought it might be useful to other people too.</p>
<p><a href="/files/autoPopulate/">There&#8217;s a demo here</a>, and <a href="/files/autoPopulate/generate.html">a generator for your own custom one here too</a>.</p>
<p>The uncompressed source is linked at the bottom of the demo page, in case you want to see how it works or extend it. There are some comments there too. (But not many&#8230;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dom111.co.uk/blog/coding/autopopulate-0-1/249/feed</wfw:commentRss>
		<slash:comments>14</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>Minify CSS &#8211; Shrink your CSS down to size</title>
		<link>http://www.dom111.co.uk/blog/coding/minify-css-shrink-your-css-down-to-size/238</link>
		<comments>http://www.dom111.co.uk/blog/coding/minify-css-shrink-your-css-down-to-size/238#comments</comments>
		<pubDate>Fri, 16 Apr 2010 18:07:11 +0000</pubDate>
		<dc:creator>dom111</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[minified css]]></category>
		<category><![CDATA[minify css]]></category>

		<guid isPermaLink="false">http://www.dom111.co.uk/blog/?p=238</guid>
		<description><![CDATA[I know there are probably many services offering it already out there, and it&#8217;s not too hard to run right in TextMate, but I haven&#8217;t been able to find it in 30 seconds of Googling (well, I couldn&#8217;t at work, but I&#8217;ve since found this&#8230; Oh well!), so I set up a quick script to [...]]]></description>
			<content:encoded><![CDATA[<p>I know there are probably many services offering it already out there, and it&#8217;s not too hard to run right in TextMate, but I haven&#8217;t been able to find it in 30 seconds of Googling (well, I couldn&#8217;t at work, but I&#8217;ve since found <a href="http://www.cssdrive.com/index.php/main/csscompressor/">this</a>&#8230; Oh well!), so I set up a quick script to do it for me:</p>
<p><a href="http://www.dom111.co.uk/files/minifycss/">http://www.dom111.co.uk/files/minifycss/</a></p>
<p>If it&#8217;s useful, I might set up a memorable URL, let me know in the comments <img src='http://www.dom111.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I did set up <a href="http://marijn.haverbeke.nl/codemirror/">syntax highlighting, using codemirror</a>, which looked pretty nice, but made the minification (on large-ish files) take far too long. I haven&#8217;t really tested on any huge files, so try this at your own risk, but it seems faster that TextMate was.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dom111.co.uk/blog/coding/minify-css-shrink-your-css-down-to-size/238/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>
	</channel>
</rss>

