<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Dave Taylor (@davetayls)</title>
	<atom:link href="http://davidjtaylor.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidjtaylor.wordpress.com</link>
	<description>JavaScript, CSS, Design, Web Development, .Net</description>
	<lastBuildDate>Wed, 21 Jul 2010 06:19:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='davidjtaylor.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Dave Taylor (@davetayls)</title>
		<link>http://davidjtaylor.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://davidjtaylor.wordpress.com/osd.xml" title="Dave Taylor (@davetayls)" />
	<atom:link rel='hub' href='http://davidjtaylor.wordpress.com/?pushpress=hub'/>
		<item>
		<title>This blog has got a new home http://the-taylors.org/blog</title>
		<link>http://davidjtaylor.wordpress.com/2010/07/09/this-blog-has-got-a-new-home-httpthe-taylors-orgblog/</link>
		<comments>http://davidjtaylor.wordpress.com/2010/07/09/this-blog-has-got-a-new-home-httpthe-taylors-orgblog/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 20:01:52 +0000</pubDate>
		<dc:creator>davetayls</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://davidjtaylor.wordpress.com/?p=150</guid>
		<description><![CDATA[After running my blog on wordpress for several years now I felt it was time to integrate it in to my website so this blog has now got a new home: http://the-taylors.org/blog I have just added a new article on how to add jsLint checking directly in Visual Studio You can subscribe to the feed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=150&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After running my blog on wordpress for several years now I felt it was time to integrate it in to my website so this blog has now got a new home:</p>
<p><a title="Dave Taylor blog" href="http://the-taylors.org/blog">http://the-taylors.org/blog</a></p>
<p>I have just added a new article on <a href="http://the-taylors.org/blog/2010/07/09/add-jslint-checking-to-visual-studio">how to add jsLint checking directly in Visual Studio</a></p>
<p>You can subscribe to the feed at:</p>
<p><a title="dave taylor blog feed" href="http://feed.the-taylors.org">http://feed.the-taylors.org</a></p>
<p>Thank you for reading and keeping in touch.</p>
<p>Dave</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidjtaylor.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidjtaylor.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davidjtaylor.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davidjtaylor.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/davidjtaylor.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/davidjtaylor.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/davidjtaylor.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/davidjtaylor.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davidjtaylor.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davidjtaylor.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davidjtaylor.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davidjtaylor.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davidjtaylor.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davidjtaylor.wordpress.com/150/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=150&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidjtaylor.wordpress.com/2010/07/09/this-blog-has-got-a-new-home-httpthe-taylors-orgblog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bbf81bc82fed795624ed696fe1e5aee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davetayls</media:title>
		</media:content>
	</item>
		<item>
		<title>Including jsLint in your validation using nAnt, batch files or AJAX</title>
		<link>http://davidjtaylor.wordpress.com/2010/05/25/including-jslint-in-your-validation-using-nant-batch-files-or-ajax/</link>
		<comments>http://davidjtaylor.wordpress.com/2010/05/25/including-jslint-in-your-validation-using-nant-batch-files-or-ajax/#comments</comments>
		<pubDate>Tue, 25 May 2010 19:29:44 +0000</pubDate>
		<dc:creator>davetayls</dc:creator>
				<category><![CDATA[Front End Web Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jslint]]></category>

		<guid isPermaLink="false">https://davidjtaylor.wordpress.com/?p=143</guid>
		<description><![CDATA[jsLint is a fantastic tool developed by Douglas Crockford, Yahoo!&#8217;s JavaScript architect which will validate JavaScript source to a strict specification which often catches hidden errors. As the website says jsLint will probably &#8220;hurt your feelings&#8221; as it enforces conventions which not everyone would like&#8230;however, I would recommend you include it within your build scripts [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=143&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a title="jsLint" href="http://www.jslint.com">jsLint</a> is a fantastic tool developed by <a title="Douglas Crockford" href="http://www.crockford.com/" target="_blank">Douglas Crockford</a>, Yahoo!&#8217;s JavaScript architect which will validate JavaScript source to a strict specification which often catches hidden errors.</p>
<p>As the website says jsLint will probably &#8220;hurt your feelings&#8221; as it enforces conventions which not everyone would like&#8230;however, I would recommend you include it within your build scripts and work through any issues it throws up. You will be grateful of it in the end!</p>
<p>I am going to take you through ways to integrate jsLint in to a nAnt build process, or just be able to run it manually locally on Windows.</p>
<p>You can <a title="jsLint Article Example Source Files" href="http://the-taylors.org/posts/2010/jslint/jsLintExamples.zip">download all the example files for this post</a>.</p>
<h3>Setup</h3>
<p>Download the relevant files needed and customise the jsLint.wsf defaults (line 56) to fit with your preferences. I have included a less strict version for this example.</p>
<h3>1. Running jsLint manually</h3>
<p>You can run jsLint manually on your js files by passing their location as the first parameter of jsLint.bat. The location can be an absolute or relative location. Here are some examples:</p>
<p><code>jsLint.bat c:\project\js\test.js</code></p>
<p><code>jsLint.bat ..\..\js\test.js</code></p>
<p>You may want to create another batch file which will run it on multiple files to save you having to type the locations in every time.</p>
<h3>2. nAnt build target</h3>
<p>You can include these tests within nAnt build scripts so that the build fails if the JavaScript doesn&#8217;t validate. Here is an example build target (<a title="jsLint Article Example Source Files" href="http://the-taylors.org/posts/2010/jslint/jsLintExamples.zip">download</a>).</p>
<pre>&lt;target name="jsLintValidation" description="validates JS files"&gt;
  &lt;foreach item="File" property="jsfile"&gt;
    &lt;in&gt;
      &lt;items&gt;
        &lt;include name="${siteroot}\js\*.js" /&gt;
      &lt;/items&gt;
    &lt;/in&gt;
    &lt;do&gt;
      &lt;exec
        program="${jslintdir}\jslint.bat"
        commandline="${jsfile}" /&gt;
    &lt;/do&gt;
  &lt;/foreach&gt;
&lt;/target&gt;</pre>
<h3>3. Using AJAX within your JavaScript Unit tests</h3>
<p>The beauty of jsLint is it is writted in JavaScript, which means that you can use the functionality within a browser. This won&#8217;t work on static sites because of security issues with XmlHttpRequests, but if your tests are on a hosted site then you can load your JavaScript using AJAX and run them through jsLint.</p>
<p>It&#8217;s as simple as running the JSLINT function (<a title="jsLint Ajax Example" href="http://the-taylors.org/posts/2010/jslint/jslintajaxexample.htm" target="_blank">example</a>, <a title="jsLint Article Example Source Files" href="http://the-taylors.org/posts/2010/jslint/jsLintExamples.zip">download</a>):</p>
<p><code>var myResult = JSLINT(source, option);</code></p>
<p>If it checks out, JSLINT returns true. Otherwise, it returns false and you can inspect JSLINT.errors to find out the problems. Details of the structure of JSLINT.errors can be found within the comments of the fulljslint.js file.</p>
<p>Let me know how you find jsLint as a validation tool, or please feel free to ask any questions.</p>
<p class="zoundry_raven_tags"><!-- Tag links generated by Zoundry Raven. Do not manually edit. http://www.zoundryraven.com --> <span class="ztags"><span class="ztagspace">Del.icio.us</span> : <a class="ztag" rel="tag" href="http://del.icio.us/tag/jsLint">jsLint</a></span><br />
<span class="ztags"><span class="ztagspace">Flickr</span> : <a class="ztag" rel="tag" href="http://www.flickr.com/photos/tags/jsLint">jsLint</a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidjtaylor.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidjtaylor.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davidjtaylor.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davidjtaylor.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/davidjtaylor.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/davidjtaylor.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/davidjtaylor.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/davidjtaylor.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davidjtaylor.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davidjtaylor.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davidjtaylor.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davidjtaylor.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davidjtaylor.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davidjtaylor.wordpress.com/143/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=143&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidjtaylor.wordpress.com/2010/05/25/including-jslint-in-your-validation-using-nant-batch-files-or-ajax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bbf81bc82fed795624ed696fe1e5aee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davetayls</media:title>
		</media:content>
	</item>
		<item>
		<title>juxtapo plugin framework&#8230;feedback wanted</title>
		<link>http://davidjtaylor.wordpress.com/2010/05/18/juxtapo-plugin-framework-feedback-wanted/</link>
		<comments>http://davidjtaylor.wordpress.com/2010/05/18/juxtapo-plugin-framework-feedback-wanted/#comments</comments>
		<pubDate>Tue, 18 May 2010 07:44:20 +0000</pubDate>
		<dc:creator>davetayls</dc:creator>
				<category><![CDATA[Front End Web Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Juxtapo]]></category>

		<guid isPermaLink="false">https://davidjtaylor.wordpress.com/2010/05/18/juxtapo-plugin-framework-feedback-wanted/</guid>
		<description><![CDATA[I am appealing for your thoughts. You may have taken a look at juxtapo front end tools which includes an in browser templating system for overlays. It includes an API which has been designed to allow developers to extend the core functionality with plugins. I want to extend this so that juxtapo could be aware [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=127&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am appealing for your thoughts. You may have taken a look at <a href="http://juxtapo.net/" title="juxtapo front end tools">juxtapo front end tools</a> which includes an in browser templating system for overlays. It includes an API which has been designed to allow developers to extend the core functionality with plugins. I want to extend this so that juxtapo could be aware of available plugins and also plugins could communicate and be aware of each other.</p>
<p>Juxtapo plugins generally initiate themselves as Juxtapo does and extend the core functionality. An example of this is the QUnit plugin which allows the developer to link a number of unit tests to a particular template. It hooks in to the API and once juxtapo has initialised looks up the current template and runs the tests.</p>
<p>What are your thoughts on the following ways which this could be done?</p>
<h2>1. Constructor</h2>
<p>This method uses a Plugin constructor to create a Plugin object which could then be assigned to a variable.</p>
<pre>
juxtapo.plugins.newPlugin = new juxtapo.Plugin({
    init: function(){
        juxtapo.initComplete(function(){
            // functionality added on initConfig
        });
    },
    publicVar: 'public'
});
</pre>
<p>or</p>
<pre>
juxtapo.plugins.newPlugin = new juxtapo.Plugin(function(){
    juxtapo.initConfig(function(){
        // functionality added on initConfig
    });
    privateVar = 'private';
    return {
        init: function(){
            juxtapo.initComplete(function(){
                // functionality added on initConfig
            });
        },
        publicVar: 'public'
    };
});
</pre>
<h2>2. Add Function</h2>
<p>This method uses a function to create a plugin object with defaults and then allow you to customise it. It would then add the resulting plugin to the variable name provided by the first attribute.</p>
<pre>
juxtapo.plugins.add('newPlugin', function(){
    // this is the function to construct the plugin which has defaults
    // created already
    juxtapo.initConfig(function(){
        // functionality added on initConfig
    });
    // optional init function which would be fired by juxtapo just before    // iniComplete
    this.init = function(){};
    this.publicVar = 'public';
});
</pre>
<h2>3. Anonymous Function</h2>
<p>This method is very open. When juxtapo initialises it will check to see if there is an init function and if it finds one it will call it, otherwise you can attach listener functions to other juxtapo events.</p>
<pre>
juxtapo.plugins.newPlugin = function(){
    juxtapo.initConfig(function(){
        // functionality added on initConfig
    });
    return {
        init: function(){},
        publicVar: 'public'
    }
}();
</pre>
<h2>3. Create Plugin Function</h2>
<p>This works in very much the same way as the add function but uses another function to return an object which can be assigned to the newPlugin variable.</p>
<pre>
juxtapo.plugins.newPlugin = juxtapo.createPlugin(function(){
    // this is the function to init the plugin which has defaults
    // created already
    juxtapo.initConfig(function(){
        // functionality added on initConfig
    });
    this.init = function(){};
    this.publicVar = 'public';
});
</pre>
<p>I will be converting the current example juxtapo plugins for the next release v0.8 to use which ever method we feel is the most intuitive and simple to develop with so your help and thoughts will be very much appreciated. If you know of any standards for framework plugins then let me know as well. Thanks in advance.</p>
<p class="zoundry_raven_tags">  <!-- Tag links generated by Zoundry Raven. Do not manually edit. http://www.zoundryraven.com -->  <span class="ztags"><span class="ztagspace">Del.icio.us</span> : <a href="http://del.icio.us/tag/juxtapo" class="ztag" rel="tag">juxtapo</a></span> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidjtaylor.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidjtaylor.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davidjtaylor.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davidjtaylor.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/davidjtaylor.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/davidjtaylor.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/davidjtaylor.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/davidjtaylor.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davidjtaylor.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davidjtaylor.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davidjtaylor.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davidjtaylor.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davidjtaylor.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davidjtaylor.wordpress.com/127/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=127&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidjtaylor.wordpress.com/2010/05/18/juxtapo-plugin-framework-feedback-wanted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bbf81bc82fed795624ed696fe1e5aee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davetayls</media:title>
		</media:content>
	</item>
		<item>
		<title>juxtapo now passing jsLint</title>
		<link>http://davidjtaylor.wordpress.com/2010/04/30/juxtapo-now-passing-jslint/</link>
		<comments>http://davidjtaylor.wordpress.com/2010/04/30/juxtapo-now-passing-jslint/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 12:22:18 +0000</pubDate>
		<dc:creator>davetayls</dc:creator>
				<category><![CDATA[Front End Web Development]]></category>
		<category><![CDATA[Juxtapo]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jslint]]></category>

		<guid isPermaLink="false">https://davidjtaylor.wordpress.com/2010/04/30/juxtapo-now-passing-jslint/</guid>
		<description><![CDATA[I have been doing a lot of work on the next version of juxtapo (version 0.7). I&#8217;m heading towards the big 1.0 release where I want to have a stable and consistent API along with a well tested and reliable system. Part of this has been to get the core juxtapo library passing jsLint tests. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=126&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img src="http://davidjtaylor.files.wordpress.com/2010/04/juxtapo_logo_480x250.gif?w=480&#038;h=250" alt="juxtapo-logo-480x250.gif" height="250" width="480" /></p>
<p>I have been doing a lot of work on the next version of <a href="http://juxtapo.net/" target="_blank" title="juxtapo front end developer tools">juxtapo</a> (version 0.7). I&#8217;m heading towards the big 1.0 release where I want to have a stable and consistent API along with a well tested and reliable system. Part of this has been to get the core juxtapo library passing <a href="http://jslint.com/" target="_blank" title="jslint">jsLint</a> tests.</p>
<p>Here is a screen shot of the current version 0.7a:</p>
<p><img src="http://davidjtaylor.files.wordpress.com/2010/04/zrclip_002p40208be3.png?w=483&#038;h=504" height="504" width="483" /></p>
<p>Also thanks to <a href="http://github.com/ArnoldZokas" target="_blank" title="Arnold Zokas">Arnold Zokas</a> the combiner project will be separated and see some significant improvements to functionality and stability.</p>
<p>Work on the juxtapo website has started and I&#8217;m thinking of including a config generator to get people off to a quick start.</p>
<p class="zoundry_raven_tags">  <!-- Tag links generated by Zoundry Raven. Do not manually edit. http://www.zoundryraven.com -->  <span class="ztags"><span class="ztagspace">Del.icio.us</span> : <a href="http://del.icio.us/tag/javascript" class="ztag" rel="tag">javascript</a>, <a href="http://del.icio.us/tag/jslint" class="ztag" rel="tag">jslint</a>, <a href="http://del.icio.us/tag/juxtapo" class="ztag" rel="tag">juxtapo</a></span> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidjtaylor.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidjtaylor.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davidjtaylor.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davidjtaylor.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/davidjtaylor.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/davidjtaylor.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/davidjtaylor.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/davidjtaylor.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davidjtaylor.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davidjtaylor.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davidjtaylor.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davidjtaylor.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davidjtaylor.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davidjtaylor.wordpress.com/126/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=126&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidjtaylor.wordpress.com/2010/04/30/juxtapo-now-passing-jslint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bbf81bc82fed795624ed696fe1e5aee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davetayls</media:title>
		</media:content>

		<media:content url="http://davidjtaylor.files.wordpress.com/2010/04/juxtapo_logo_480x250.gif" medium="image">
			<media:title type="html">juxtapo-logo-480x250.gif</media:title>
		</media:content>

		<media:content url="http://davidjtaylor.files.wordpress.com/2010/04/zrclip_002p40208be3.png" medium="image" />
	</item>
		<item>
		<title>Using Sprites: block,sliding doors and inline within the flow</title>
		<link>http://davidjtaylor.wordpress.com/2010/04/30/using-sprites-blocksliding-doors-and-inline-within-the-flow/</link>
		<comments>http://davidjtaylor.wordpress.com/2010/04/30/using-sprites-blocksliding-doors-and-inline-within-the-flow/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 07:46:11 +0000</pubDate>
		<dc:creator>davetayls</dc:creator>
				<category><![CDATA[Front End Web Development]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[sprites]]></category>

		<guid isPermaLink="false">https://davidjtaylor.wordpress.com/2010/04/30/using-sprites-blocksliding-doors-and-inline-within-the-flow/</guid>
		<description><![CDATA[Some new techniques for working with CSS sprites Many people limit themselves when it comes to css sprites. They are convinced of limitations with sprites which I have found don&#8217;t exist. The gates are opened with these techniques to be able to use sprites creatively in pretty much any situation. We&#8217;ll look at where sprites [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=122&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Some new techniques for working with CSS sprites</h2>
<div>Many people limit themselves when it comes to css sprites. They are convinced of limitations with sprites which I have found don&#8217;t exist. The gates are opened with these techniques to be able to use sprites creatively in pretty much any situation. We&#8217;ll look at where sprites can speed your page load times, when and where to use them and I&#8217;ll show you a new technique which I haven&#8217;t found documented before.</div>
<div></div>
<h3>Before we look at specifics, here are the benefits to using sprites</h3>
<div>
<ol>
<li>Modern internet connections are pretty fast, which means that page speed bottlenecks are not often in the size of the download, instead on the number of requests made to the server. Using sprite files can drastically reduce the number of requests made. </p>
<p>As a real world example, in a recent project I have reduced the number of image files by about 60 using the techniques below. </p>
</li>
<li>You can also include all your structural images in a single sprite file and heavily cache it therefore, exponentially relieving the load on the server with more page views.
<p>The following table demonstrates this with a sprite image file with 30 images inside it: 
<div>
<table cellpadding="3" border="1" cellspacing="0" id="fw9t">
<tbody>
<tr>
<td width="25%">Number of unique visitors</td>
<td width="25%">Number of page views</td>
<td width="25%">Number of server requests with individual files and no caching</td>
<td width="25%">Number of server requests when using the cached sprite file</td>
</tr>
<tr>
<td width="25%">2</td>
<td width="25%">1</td>
<td width="25%">60</td>
<td width="25%">2</td>
</tr>
<tr>
<td width="25%">2</td>
<td width="25%">4</td>
<td width="25%">240</td>
<td width="25%">2</td>
</tr>
<tr>
<td width="25%">2</td>
<td width="25%">8</td>
<td width="25%">480</td>
<td width="25%">2</td>
</tr>
<tr>
<td width="25%">4</td>
<td width="25%">1</td>
<td width="25%">120</td>
<td width="25%">4</td>
</tr>
<tr>
<td width="25%">4</td>
<td width="25%">4</td>
<td width="25%">480</td>
<td width="25%">4</td>
</tr>
<tr>
<td width="25%">4</td>
<td width="25%">8</td>
<td width="25%">960</td>
<td width="25%">4</td>
</tr>
</tbody>
</table></div>
<p>You should be able to see the benefits, even with 4 unique visitors. Imagine the gains made when a site has several thousand unique visitors every day. </p>
</li>
<li>
<p>Management of small images is easier. I tend to start a sprites psd to include all the images in. This means that when there is a change to any of the items you don&#8217;t have to sift through a large number of files. You can also apply changes across a set of images for older browsers or other style sheets (eg. high visibility, black and white print)</p>
</li>
</ol></div>
<h3>When and Where to use sprites</h3>
<div>When you are faced with a website design look for images which:</div>
<div>
<ul>
<li>Are found in the main structure of the page</li>
<li>Are small icons or motifs</li>
<li>Very rarely (if ever) change</li>
<li>Button backgrounds</li>
<li>Navigation backgrounds (ie tabs, arrows)</li>
</ul>
<div></div>
<div>When you can&#8217;t/shouldn&#8217;t use sprites</div>
<div>
<ul>
<li>Regularly changing content</li>
<li>Content managed images</li>
<li>Repeating backgrounds (it is possible but with many limitations)</li>
</ul></div>
</p></div>
<h3>Time to sprite &#8211; 3 Techniques</h3>
<div>You can follow these techniques with the <a title="techniques for working with CSS sprites demo page by Dave Taylor" href="http://the-taylors.org/TestStation/csssprites/csssprites.htm" id="gja4" name="gja4">techniques for working with CSS sprites demo page</a>.</div>
<div></div>
<div>As far as I can see, there are three distinct types of potential sprite usage within pages.</div>
<div></div>
<div>All of these examples make use of the following sprite image:</div>
<div>
<div style="text-align:left;" id="yb-k"><img src="http://davidjtaylor.files.wordpress.com/2010/04/df6422b_251hfwq58cc_b.gif?w=150&#038;h=210" style="width:150px;display:inline;height:210px;" height="210" width="150" /></div>
<p></div>
<div></div>
<div>
<div style="text-align:left;">
<h3>Block images</h3>
<div><img src="http://davidjtaylor.files.wordpress.com/2010/04/df6422b_248dd5g6xhc_b.png?w=193&#038;h=140" style="width:193px;display:inline;height:140px;" height="140" width="193" /></div>
<p></div>
<p> A common scenario where an image is placed within a block element with a fixed width and height, and either floated or positioned absolutely within the page.</p></div>
<div>
<div><code>#spriteBlock { <br />background: url(sprites.gif) no-repeat -60px -52px; <br />display: block; <br />float: left; <br />height: 62px; <br />margin: 0 15px 15px 0; <br />text-align:left; <br />text-indent: -9999px; <br />width: 62px; <br />}</code></div>
</p></div>
<div>
<h3>Sliding doors</h3>
<p> The sliding doors technique uses two images to fill a component which can expand and contract. One fills the left edge and the other fills the rest of an element but slides behind. I won&#8217;t go into the details of this, but if you want more background information, then here is a <a title="good article explaining sliding doors" href="http://www.alistapart.com/articles/slidingdoors/" id="znhn" name="znhn">good article explaining sliding doors</a>. Instead, I want to focus on how I would do this differently to utilise sprites better.</div>
<div></div>
<div>Unless you have sprites with semi transparent areas (there are still ways which we won&#8217;t cover here) you can include both the left and the right hand image in the same file. You should still find that the technique works with these minor modifications. The following is an example of a faux button with styles for hover and focus.</div>
<div></div>
<div>This uses the following markup:</div>
<div>
<div><code>&lt;a href="link.htm" class="button"&gt;&lt;span&gt;button text&lt;/span&gt;&lt;/a&gt;</code></div>
<p></div>
<div>Here&#8217;s the css:</div>
<div>
<div><code>a.button { <br />background: url(sprites.gif) no-repeat left -125px; <br />cursor: pointer; <br />height: 32px; <br />float: left; <br />line-height: 32px; <br />outline: none; <br />margin-right: 9px; <br />padding: 0; <br />position: relative; <br />text-decoration: none; <br />} <br />a.button:hover, <br />a.button:focus { background-position: left -175px; } <br />a.button:active { background-position: left -125px; } <br />a.button span { <br />background: url(sprites.gif) no-repeat right -125px; <br />color: white; <br />cursor: pointer; <br />float: left; <br />left: 9px; <br />line-height: 32px; <br />margin: 0 !important; <br />padding: 0 10px 0 1px; <br />position: relative; <br />} <br /></code></div>
</p></div>
<div>
<div>
<div></div>
</p></div>
<h4>The key differences shown in this example are:</h4>
<div>
<ul>
<li>We specify the same sprite image for the parent and child wrappers.</li>
<li>We use the left property instead of margins or padding to position the inner span. This exposes the right hand edge of the image over the bounds of the parent image so that you don&#8217;t see it underneath.</li>
<li>We specify a right margin to make sure the width of the parent element covers the child element.</li>
</ul></div>
<div></div>
<h3>Within the flow of text</h3>
<p> The final usage has for me been the most contentious and painstaking to find a solution to. Inserting sprites in line and within the flow of text. I have come across various solutions to this, but not stumbled across any which are completely accessible and can be used when CSS and JavaScript have both been turned off in the browser.</p></div>
<div></div>
<div>My solution works by placing an absolutely positioned span within a relatively positioned span. This seemed to be the obvious and simple way forward. What I didn&#8217;t bargain for was the problems I would face getting the sprite to align consistently at the appropriate height across all the browsers.</div>
<div><img src="http://davidjtaylor.files.wordpress.com/2010/04/df6422b_2494p5ht2c3_b.gif?w=318&#038;h=166" style="width:318px;display:inline;height:166px;" height="166" width="318" /></div>
<div>
<div></div>
<div>Lets look at some markup which would serve as the text representation of the image above:</div>
<div></div>
<div>
<div><code>&lt;span class="sprite"&gt;&amp;nbsp;&lt;span&gt;!&lt;/span&gt;&lt;/span&gt;</code></div>
</p></div>
<div></div>
<div>The text representation of the image is wrapped within two span tags.</div>
<div>
<div><code>.sprite { <br />margin: 0; <br />padding-left: 15px; <br />position: relative; <br />vertical-align: top; <br />zoom: 1; <br />} <br /></code></div>
</p></div>
<div>The outer span tag is used to allow the sprite to continue where the original was placed in the flow of the text. You can&#8217;t apply width to an inline element, and not all the browsers support the inline-block display type, so we use left padding to give the span the width it needs to cover the size of the image.</div>
<div></div>
<div>The vertical align means that the top of the parent element is positioned at the top of the line of text. This means that when we use the top:50% on the child element, it is relative to the top of the line. Depending on the context this sprite is in, you may need to use one of the other vertical-align options to achieve the most consistent rendering across all the browsers.</div>
<div></div>
<div>The zoom declaration tells internet explorer to mark the element with the hasLayout property allowing us to use the top percentage on the child span element.</div>
<div></div>
<div>An important thing to note here is that it needs the &amp;nbsp; within the parent tag to stop the line-height collapsing.</div>
<div>
<div><code>.sprite span { <br />background: url(sprites.gif) no-repeat -2px -2px; <br />display: block; <br />height: 14px; <br />left: 0; <br />margin: -5px 0; <br />padding: 0; <br />position: absolute; <br />text-align: left;</code></div>
<div>text-indent: -9999px;</div>
<div>top: 50%; <br />width: 16px; <br />zoom: 1; <br />} </div>
</p></div>
<p>
<div>
<div>The inner span element styles should be pretty explanatory.</div>
<div></div>
<div>Specify the height of the image (not the height of the line). We then use a familiar technique usually used to align elements horizontally. This time we use it to align vertically. Set the top style to 50% and the top margin to a negative amount (usually half of the height).</div>
<div></div>
<div>
<div>Again the zoom declaration tells ie to mark the element with the hasLayout property allowing us to use the top percentage.</div>
<div></div>
<div>Finally the text-indent hides the original text placed within the child element.</div>
<div></div>
</p></div>
<div>
<div><strong>Considerations and things to watch out for</strong></div>
</p></div>
</p></div>
<div>
<ul>
<li>If you are using this with an anchor tag, then you will need to override the default outline on focus. Firefox will show it going off the page to the left.</li>
</ul></div>
<h3>Conclusion</h3>
<div>As you learn to implement these techniques you will continually find new ways of reducing the load time of your website pages. They can take a little tweaking but it&#8217;s worth the gains in the end.</div>
<div>
<div>
<h2><span style="font-size:1em;">References</span></h2>
<p> I have used a great set of icons from http://www.pinvoke.com for this example</p></div>
</p></div>
<h2>About the Author</h2>
<div>David Taylor is the Senior Front End Web developer at <a title="Aqueduct" href="http://www.aqueduct.co.uk" id="d_i6" name="d_i6">Aqueduct</a> based in London. He&#8217;s also creator of the <a title="juxtapo front end developer tools" href="http://juxtapo.net" id="d.g1" name="d.g1">juxtapo front end developer tools</a> which are in-browser tools for design overlays and template previews. David&#8217;s website and blog is at <a title="http://the-taylors.org" href="http://the-taylors.org" id="tpz9" name="tpz9">http://the-taylors.org</a>.</div>
</p></div>
<p class="zoundry_raven_tags">  <!-- Tag links generated by Zoundry Raven. Do not manually edit. http://www.zoundryraven.com -->  <span class="ztags"><span class="ztagspace">Del.icio.us</span> : <a href="http://del.icio.us/tag/css" class="ztag" rel="tag">css</a>, <a href="http://del.icio.us/tag/sprites" class="ztag" rel="tag">sprites</a></span> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidjtaylor.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidjtaylor.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davidjtaylor.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davidjtaylor.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/davidjtaylor.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/davidjtaylor.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/davidjtaylor.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/davidjtaylor.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davidjtaylor.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davidjtaylor.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davidjtaylor.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davidjtaylor.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davidjtaylor.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davidjtaylor.wordpress.com/122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=122&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidjtaylor.wordpress.com/2010/04/30/using-sprites-blocksliding-doors-and-inline-within-the-flow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bbf81bc82fed795624ed696fe1e5aee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davetayls</media:title>
		</media:content>

		<media:content url="http://davidjtaylor.files.wordpress.com/2010/04/df6422b_251hfwq58cc_b.gif" medium="image" />

		<media:content url="http://davidjtaylor.files.wordpress.com/2010/04/df6422b_248dd5g6xhc_b.png" medium="image" />

		<media:content url="http://davidjtaylor.files.wordpress.com/2010/04/df6422b_2494p5ht2c3_b.gif" medium="image" />
	</item>
		<item>
		<title>Slow DNS response: Firefox on localhost and Visual Studio/Cassini</title>
		<link>http://davidjtaylor.wordpress.com/2010/03/16/slow-dns-response-firefox-on-localhost-and-visual-studiocassini/</link>
		<comments>http://davidjtaylor.wordpress.com/2010/03/16/slow-dns-response-firefox-on-localhost-and-visual-studiocassini/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 09:08:01 +0000</pubDate>
		<dc:creator>davetayls</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://davidjtaylor.wordpress.com/2010/03/16/slow-dns-response-firefox-on-localhost-and-visual-studiocassini/</guid>
		<description><![CDATA[This post has been moved to http://the-taylors.org/blog/2010/03/16/slow-dns-response-firefox-on-localhost-and-visual-studio-cassini/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=114&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post has been moved to <a href="http://the-taylors.org/blog/2010/03/16/slow-dns-response-firefox-on-localhost-and-visual-studio-cassini/">http://the-taylors.org/blog/2010/03/16/slow-dns-response-firefox-on-localhost-and-visual-studio-cassini/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidjtaylor.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidjtaylor.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davidjtaylor.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davidjtaylor.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/davidjtaylor.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/davidjtaylor.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/davidjtaylor.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/davidjtaylor.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davidjtaylor.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davidjtaylor.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davidjtaylor.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davidjtaylor.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davidjtaylor.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davidjtaylor.wordpress.com/114/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=114&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidjtaylor.wordpress.com/2010/03/16/slow-dns-response-firefox-on-localhost-and-visual-studiocassini/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bbf81bc82fed795624ed696fe1e5aee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davetayls</media:title>
		</media:content>
	</item>
		<item>
		<title>liScroll jQuery news ticker customisation with next/previous/play</title>
		<link>http://davidjtaylor.wordpress.com/2010/03/16/liscroll-jquery-news-ticker-customisation-with-nextpreviousplay/</link>
		<comments>http://davidjtaylor.wordpress.com/2010/03/16/liscroll-jquery-news-ticker-customisation-with-nextpreviousplay/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 08:38:58 +0000</pubDate>
		<dc:creator>davetayls</dc:creator>
				<category><![CDATA[Front End Web Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[liScroll]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[ticker]]></category>

		<guid isPermaLink="false">http://davidjtaylor.wordpress.com/2010/03/16/liscroll-jquery-news-ticker-customisation-with-nextpreviousplay/</guid>
		<description><![CDATA[This post has been moved to http://the-taylors.org/blog/2010/03/15/liscroll-jquery-news-ticker-customisation-with-next-previous-play/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=112&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post has been moved to <a href="http://the-taylors.org/blog/2010/03/15/liscroll-jquery-news-ticker-customisation-with-next-previous-play/">http://the-taylors.org/blog/2010/03/15/liscroll-jquery-news-ticker-customisation-with-next-previous-play/</a></p>
<div></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidjtaylor.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidjtaylor.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davidjtaylor.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davidjtaylor.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/davidjtaylor.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/davidjtaylor.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/davidjtaylor.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/davidjtaylor.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davidjtaylor.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davidjtaylor.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davidjtaylor.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davidjtaylor.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davidjtaylor.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davidjtaylor.wordpress.com/112/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=112&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidjtaylor.wordpress.com/2010/03/16/liscroll-jquery-news-ticker-customisation-with-nextpreviousplay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bbf81bc82fed795624ed696fe1e5aee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davetayls</media:title>
		</media:content>
	</item>
		<item>
		<title>Your Green Idea &#8211; flowers, bees and hijacking</title>
		<link>http://davidjtaylor.wordpress.com/2010/03/15/your-green-idea-flowers-bees-and-hijacking/</link>
		<comments>http://davidjtaylor.wordpress.com/2010/03/15/your-green-idea-flowers-bees-and-hijacking/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 10:56:12 +0000</pubDate>
		<dc:creator>davetayls</dc:creator>
				<category><![CDATA[Front End Web Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[dynamic content loading]]></category>
		<category><![CDATA[m&s]]></category>
		<category><![CDATA[marks and spencer]]></category>
		<category><![CDATA[your green idea]]></category>

		<guid isPermaLink="false">http://davidjtaylor.wordpress.com/2010/03/15/your-green-idea-flowers-bees-and-hijacking/</guid>
		<description><![CDATA[Today is the launch of Phase 2 of &#8216;Your Green Idea&#8216;, part of Marks and Spencer&#8217;s Plan A initiative to become the world&#8217;s most sustainable major retailer by 2015. We&#8217;ve had a few challenges with this project the main one being part of the remit was to build the site so that particular links would [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=110&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img style="float:left;height:183.061889px;margin-left:0;margin-right:1em;width:200px;" src="http://docs.google.com/File?id=df6422b_260hc83s7f7_b" alt="" />Today is the launch of Phase 2 of &#8216;<a id="g-0y" title="Your Green Idea" href="http://yourgreenidea.co.uk">Your Green Idea</a>&#8216;, part of Marks and Spencer&#8217;s <a id="kcu8" title="Plan A" href="http://plana.marksandspencer.com">Plan A</a> initiative to become the world&#8217;s most sustainable major retailer by 2015.</p>
<p>We&#8217;ve had a few challenges with this project the main one being part of the remit was to build the site so that particular links would slide elements of the current page out and elements of the new page in from either the left or right hand side of the screen. The background to the header needed to go behind the logo and the primary navigation; and the content needed to sit on top.</p>
<p>You can visit the Your Green Idea site at <a id="ons_" title="http://yourgreenidea.co.uk" href="http://yourgreenidea.co.uk">http://yourgreenidea.co.uk</a></p>
<div id="wnn2" style="text-align:left;">
<div style="text-align:center;"><img style="height:495.450145px;width:300px;" src="http://docs.google.com/File?id=df6422b_262cbj6vmgh_b" alt="" /></div>
</div>
<div id="bkmm" style="text-align:center;"><img style="height:480px;width:320px;" src="http://docs.google.com/File?id=df6422b_261t89cm4cs_b" alt="" /></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidjtaylor.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidjtaylor.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davidjtaylor.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davidjtaylor.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/davidjtaylor.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/davidjtaylor.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/davidjtaylor.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/davidjtaylor.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davidjtaylor.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davidjtaylor.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davidjtaylor.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davidjtaylor.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davidjtaylor.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davidjtaylor.wordpress.com/110/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=110&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidjtaylor.wordpress.com/2010/03/15/your-green-idea-flowers-bees-and-hijacking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bbf81bc82fed795624ed696fe1e5aee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davetayls</media:title>
		</media:content>

		<media:content url="http://docs.google.com/File?id=df6422b_260hc83s7f7_b" medium="image" />

		<media:content url="http://docs.google.com/File?id=df6422b_262cbj6vmgh_b" medium="image" />

		<media:content url="http://docs.google.com/File?id=df6422b_261t89cm4cs_b" medium="image" />
	</item>
		<item>
		<title>Finally managed to release a beta for juxtapo</title>
		<link>http://davidjtaylor.wordpress.com/2010/01/28/finally-managed-to-release-a-beta-for-juxtapo/</link>
		<comments>http://davidjtaylor.wordpress.com/2010/01/28/finally-managed-to-release-a-beta-for-juxtapo/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 20:47:25 +0000</pubDate>
		<dc:creator>davetayls</dc:creator>
				<category><![CDATA[Front End Web Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Juxtapo]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[overlay]]></category>
		<category><![CDATA[previews]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://davidjtaylor.wordpress.com/?p=107</guid>
		<description><![CDATA[Phew, I&#8217;ve been working hard at getting unit tests done, bugs ironed out and docs written so that I can get a release of juxtapo out and now it&#8217;s here. juxtapo is a personal project I&#8217;ve been working on which gives in browser overlays and previews for template building. It&#8217;s been so valuable to me [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=107&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Phew, I&#8217;ve been working hard at getting unit tests done, bugs ironed out and docs written so that I can get a <a href="http://juxtapo.wordpress.com/2010/01/28/juxtapo-version-0-3beta-released/">release of juxtapo out</a> and now it&#8217;s here.</p>
<p>juxtapo is a personal project I&#8217;ve been working on which gives <a href="http://juxtapo.wordpress.com/about/">in browser overlays and previews for template building</a>. It&#8217;s been so valuable to me in my day to day work that I thought I should share it out.</p>
<p>So take a look and let me know what you think.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidjtaylor.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidjtaylor.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davidjtaylor.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davidjtaylor.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/davidjtaylor.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/davidjtaylor.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/davidjtaylor.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/davidjtaylor.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davidjtaylor.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davidjtaylor.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davidjtaylor.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davidjtaylor.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davidjtaylor.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davidjtaylor.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=107&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidjtaylor.wordpress.com/2010/01/28/finally-managed-to-release-a-beta-for-juxtapo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bbf81bc82fed795624ed696fe1e5aee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davetayls</media:title>
		</media:content>
	</item>
		<item>
		<title>We&#8217;re building the new Lloyds.com</title>
		<link>http://davidjtaylor.wordpress.com/2009/12/16/were-building-the-new-lloyds-com/</link>
		<comments>http://davidjtaylor.wordpress.com/2009/12/16/were-building-the-new-lloyds-com/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 07:39:41 +0000</pubDate>
		<dc:creator>davetayls</dc:creator>
				<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[Front End Web Development]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[frontend]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[insurance]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Lloyds]]></category>
		<category><![CDATA[sitecore]]></category>
		<category><![CDATA[xsl]]></category>

		<guid isPermaLink="false">http://davidjtaylor.wordpress.com/?p=100</guid>
		<description><![CDATA[It&#8217;s now public that we&#8217;re building the new Lloyd&#8217;s of London website. The news went up on Aqueduct&#8217;s blog last week. Progressive enhancement This site is pretty feature rich and has been a lot of fun to put together so far. It has been very important for me to keep to good web standards and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=100&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s now public that we&#8217;re building the new Lloyd&#8217;s of London website. The news went up on Aqueduct&#8217;s blog last week.</p>
<h3>Progressive enhancement</h3>
<p>This site is pretty feature rich and has been a lot of fun to put together so far. It has been very important for me to keep to good web standards and to make sure the front end is accessible to the broadest audience. We&#8217;ve used the progressive enhancement approach and built a rich interface on top of an underlying no-javascript-required base.</p>
<h3>More info</h3>
<p>The site is looking to launch in 2010, more info at <a title="Aqueduct - We're building the new Lloyds.com" href="http://www.aqueduct.co.uk/blog/2009/12/were-building-new-lloydscom.html">http://www.aqueduct.co.uk/blog/2009/12/were-building-new-lloydscom.html</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davidjtaylor.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davidjtaylor.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davidjtaylor.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davidjtaylor.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/davidjtaylor.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/davidjtaylor.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/davidjtaylor.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/davidjtaylor.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davidjtaylor.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davidjtaylor.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davidjtaylor.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davidjtaylor.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davidjtaylor.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davidjtaylor.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davidjtaylor.wordpress.com&amp;blog=1987444&amp;post=100&amp;subd=davidjtaylor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://davidjtaylor.wordpress.com/2009/12/16/were-building-the-new-lloyds-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bbf81bc82fed795624ed696fe1e5aee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davetayls</media:title>
		</media:content>
	</item>
	</channel>
</rss>
