<?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>fordie's Blog &#187; web development</title>
	<atom:link href="http://fordie.co.uk/category/technical/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://fordie.co.uk</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 10 May 2011 17:58:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>iPhone App Developers, lend me your ears!</title>
		<link>http://fordie.co.uk/2011/05/10/iphone-app-developers-lend-me-your-ears/</link>
		<comments>http://fordie.co.uk/2011/05/10/iphone-app-developers-lend-me-your-ears/#comments</comments>
		<pubDate>Tue, 10 May 2011 17:58:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[annoyances]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[web standards]]></category>

		<guid isPermaLink="false">http://fordie.co.uk/?p=230</guid>
		<description><![CDATA[iOS developers are enabling users to get more and more out of their iPhones &#38; iPads. But I think developers are missing one important thing that could make life easier for thousands of users. I&#8217;m not exaggerating. I have a particular bee in my bonnet when it comes to accessibility, my wife is registered blind [...]]]></description>
			<content:encoded><![CDATA[<p>iOS developers are enabling users to get more and more out of their iPhones &amp; iPads. But I think developers are missing one important thing that could make life easier for thousands of users. I&#8217;m not exaggerating.</p>
<p>I have a particular bee in my bonnet when it comes to accessibility, my wife is registered blind and I am constantly frustrated when she is unable see things (like text on a screen) especially when I know that this is avoidable. It was this frustration that prompted me to <a href="http://www.guardian.co.uk/media/pda/2010/jun/01/digital-media-apple">email Steve Jobs</a> about the iPhone&#8217;s SMS functionality last year.  True to his word users can now change the font size for those 2 apps.</p>
<p><a href="http://fordie.co.uk/wp-content/uploads/2011/05/20110510-024419.jpg"><img class="alignnone size-full" src="http://fordie.co.uk/wp-content/uploads/2011/05/20110510-024419.jpg" alt="20110510-024419.jpg" /></a></p>
<p>What I don&#8217;t understand is why there is no way to change font size system wide, or why app developers don&#8217;t provide that facility.</p>
<p>Yes I know that you can switch on zooming, but honestly &#8211; have you tried using zooming on a phone? My wife uses  screen magnifying software at work, so she&#8217;s used to that &#8211; but she can&#8217;t get on with the iPhone implementation &amp; I can understand why. It&#8217;s awful.  There&#8217;s also <a href="http://www.apple.com/accessibility/iphone/vision.html">Voiceover</a>. This must be a massive boon for people with incredibly poor eyesight but for most users it&#8217;s not appropriate, who wants their texts or other private data read so that others can hear it?</p>
<p>I&#8217;m sure many iOS developers have come from a web background &amp; will be familiar with <a href="http://www.w3.org/TR/WCAG20/">WCAG</a>. As far as I know there&#8217;s no similar guideline for developing accessible apps, but a developers are still obliged to ensure that their apps comply with disability discrimination legislation such as the UK&#8217;s Disabaility Discrimination Act.  The act says that service providers (and as a developer that&#8217;s you) must  &#8220;make reasonable adjustments to ensure blind and partially sighted people can access your service&#8221;.</p>
<p>So for a moment, let&#8217;s just pretend that WCAG does apply to smartphone apps and look at guideline 1.4.4 <q><strong>1.4.4 Resize text:</strong> Except for <a title="definition: captions" href="http://www.w3.org/TR/WCAG20/#captionsdef">captions</a> and <a title="definition: image of text" href="http://www.w3.org/TR/WCAG20/#images-of-textdef">images of text</a>, <a title="definition: text" href="http://www.w3.org/TR/WCAG20/#textdef">text</a> can be resized without <a title="definition: assistive technology (as used in this document)" href="http://www.w3.org/TR/WCAG20/#atdef">assistive technology</a> up to 200 percent without loss of content or functionality. (Level AA)</q> That seems like a reasonable aim to me.</p>
<p>I have spoken to a couple of developers about this, the general consensus seems to be &#8220;I&#8217;m not sure if that&#8217;s possible&#8221; or &#8220;it would be an awful lot of work for not much benefit&#8221;. This makes me sad.  Not being an iOS developer myself, I don&#8217;t know if it would be possible for someone to write a text resizing library that they could open source? If it is possible, think of all the people that could be helped by including that in apps. After all, it&#8217;s not jst cronicly badly sighted people that struggle with small text, many older &amp; long sighted people do to.</p>
<p>I&#8217;d be really interested to hear other people&#8217;s thoughts on this, especially from the Dev community.</p>
]]></content:encoded>
			<wfw:commentRss>http://fordie.co.uk/2011/05/10/iphone-app-developers-lend-me-your-ears/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>I&#8217;ve got my own HTML tag!</title>
		<link>http://fordie.co.uk/2009/09/02/ive-got-my-own-html-tag/</link>
		<comments>http://fordie.co.uk/2009/09/02/ive-got-my-own-html-tag/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 08:26:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[web standards]]></category>
		<category><![CDATA[element]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[mark]]></category>
		<category><![CDATA[tag]]></category>

		<guid isPermaLink="false">http://fordie.co.uk/?p=192</guid>
		<description><![CDATA[The HTML5 Specification introduces a new element called &#8220;mark&#8221;. I&#8217;ve created a little site to explain how the mark tag can be used, I&#8217;ll be adding examples to it very shortly. In the meantime, if the mood takes you why not visit http://mark-element.info]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://dev.w3.org/html5/spec/Overview.html" target="_blank">HTML5 Specification</a> introduces a new element called &#8220;mark&#8221;.</p>
<p>I&#8217;ve created a little site to explain how the mark tag can be used, I&#8217;ll be adding examples to it very shortly. In the meantime, if the mood takes you why not visit <a href="http://mark-element.info" target="_blank">http://mark-element.info</a></p>
]]></content:encoded>
			<wfw:commentRss>http://fordie.co.uk/2009/09/02/ive-got-my-own-html-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery intellisense in Visual Studio 2008 &amp; Dreamweaver</title>
		<link>http://fordie.co.uk/2008/11/13/jquery-intellisense-in-visual-studio-2008-dreamweaver/</link>
		<comments>http://fordie.co.uk/2008/11/13/jquery-intellisense-in-visual-studio-2008-dreamweaver/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 20:00:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[code hints]]></category>
		<category><![CDATA[intellisense]]></category>

		<guid isPermaLink="false">http://fordie.co.uk/?p=136</guid>
		<description><![CDATA[jQuery is a lightweight JavaScript library that emphasizes interaction between JavaScript and HTML it&#8217;s my weapon of choice when it comes to adding client side interactions to a site. It has rapidly gained popularity with web developers and designers &#8211; now software manufacturers are starting to take note with industry leaders like Adobe &#38; Microsoft [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jquery.com/">jQuery</a> is a lightweight JavaScript library that emphasizes interaction between JavaScript and HTML it&#8217;s my weapon of choice when it comes to adding client side interactions to a site.</p>
<p>It has rapidly gained popularity with web developers and designers &#8211; now software manufacturers are starting to take note with industry leaders like Adobe &amp; Microsoft adding tools to their web development environments to help make jQuery development even quicker.</p>
<h2>Microsoft Visual Studio 2008</h2>
<p>I spoke previously about getting <a href="/index.php/2008/03/18/jquery-intellisense-in-visual-studio-2008/">Jquery intellisense in Visual Studio</a> 2008. Since then Scott Guthrie announced that <a href="http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx"><q>that Microsoft will be shipping jQuery with Visual Studio going forward</q></a> and then just yesterday I spotted <a href="http://blogs.msdn.com/webdevtools/archive/2008/10/28/rich-intellisense-for-jquery.aspx">this article</a> on the Visual Web Developer Team Blog with interesting updates to VS2008&#8242;s jQuery intellisense. The best development from my point of view is the ability to get code hints in your aspx &amp; master pages, not just your .js files.</p>
<p>In order to take advantage of these improvements you&#8217;ll first need to install <a href="http://msdn.microsoft.com/en-gb/vstudio/cc533448.aspx">Visual Studio 2008 Service Pack 1</a>and this <a href="http://code.msdn.microsoft.com/KB958502/Release/ProjectReleases.aspx?ReleaseId=1736">hot fix</a>.</p>
<p>Next download the <a href="http://code.jquery.com/jquery-1.2.6-vsdoc.js">jQuery IntelliSense documentation file</a> and save it in to your website in (probably a good idea to put it in the same folder as your jQuery file).</p>
<p>To add jQuery intellisense to a javascript file simply add this line to the top of the file:</p>
<pre name="code" class="xhtml:firstline[1]">
  /// &lt;reference path="jquery-1.2.6-vsdoc.js"/&gt;
</pre>
<p>To add it to aspx &amp; master pages do add the following lines to the head of your document.</p>
<pre name="code" class="xhtml:firstline[1]">
    &lt;% if (false)
       { %&gt;
        &lt;script src="~/[PATH_TO_REFERENCE_FILE]/jquery-1.2.6-vsdoc.js" type="text/javascript"&gt;
        &lt;/script&gt;
    &lt;%} %&gt;
</pre>
<h3>Points to note:</h3>
<ul>
<li>The &#8220;if (false)&#8221; statement will prevent the link to the reference file being rendered at runtime.  Microsoft are planning to release a hotfix to automatically search for the vsdoc file if the javascript file has a reference path in it meaning that these links in the head will become redundant.</li>
<li>If you are using aspnet&#8217;s MVC framework you need to ensure that your path to the reference file starts with a tilde otherwise VS will not find the reference file.</li>
<li>dding a link to the reference to a master page means all aspx pages that inherit that master page will have intellisense enabled.</li>
</ul>
<h2>Adobe Dreamweaver</h2>
<h3>CS4</h3>
<p>Adobe have just released <a href="http://www.adobe.com/products/dreamweaver/">Dreamweaver CS4</a> which also has support for jQuery code hinting. Adobe have taken a different approach to Microsoft, they use &#8220;introspection&#8221; to parse any javaScript files you have linked to your page and provide code hints.</p>
<p>This seems to work pretty well, and even handles chaining. However, I do have a couple of minor gripes. Firstly as soon as I typed &#8220;$(&#8221; dreamweaver told me I had a syntax error which really confused me, in the end I realised that just had to keep typing and DW would eventually figure out what I was doing. The other thing is, as a VS user I&#8217;m used to to code hits appearing strait away, in DW you have to press Ctrl + [space]. It&#8217;s not a big deal but would take some getting used to.</p>
<h3>Older Vesions</h3>
<p>Users of older versions of Dreamweaver <a href="http://xtnd.us/dreamweaver/jquery">this extension</a> from Chris Charlton adds excellent code hints for jQuery &amp;<a href="http://ui.jquery.com/"> jQuery UI</a> and what&#8217;s more it prompts you as soon as you hit &#8220;.&#8221; good work Chris!</p>
]]></content:encoded>
			<wfw:commentRss>http://fordie.co.uk/2008/11/13/jquery-intellisense-in-visual-studio-2008-dreamweaver/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Scroll to the first error in form &#8211; using jQuery</title>
		<link>http://fordie.co.uk/2008/10/28/scroll-to-the-first-error-in-form-using-jquery/</link>
		<comments>http://fordie.co.uk/2008/10/28/scroll-to-the-first-error-in-form-using-jquery/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 11:27:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[Validation]]></category>

		<guid isPermaLink="false">http://fordie.co.uk/?p=125</guid>
		<description><![CDATA[Oftentimes we ask our users to provide us with an awful lot of information in things like registration forms. It&#8217;s no wonder that every now and again the poor dears forget to fill in a box or make a mistake. On longer or complex forms users can find it difficult to see where the errors [...]]]></description>
			<content:encoded><![CDATA[<p>Oftentimes we ask our users to provide us with an awful lot of information in things like registration forms. It&#8217;s no wonder that every now and again the poor dears forget to fill in a box or make a mistake.</p>
<p>On longer or complex forms users can find it difficult to see where the errors actually are.</p>
<p>The other week our QA manager asked us (the front end team) to scroll to the first error on a page. I started off thinking that it was going to be difficult and time consuming to achieve, but with the awesomeness of jQuery &amp; one little-bitty plugin I was able to achieve the desired effect in  3 or 4 lines of code.</p>
<p>This technique relies on you already having validated your form and added a class of &#8220;error&#8221; to you the markup, either on the form elements or an error message.</p>
<h2>You will need</h2>
<ul>
<li><a href="http://docs.jquery.com/Downloading_jQuery">jQuery</a></li>
<li>The <a href="http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html">scrollTo plugin</a> (I used the minified version)</li>
<li>A web page with some errors on it</li>
<li><span style="text-decoration: line-through;">a couple of old yoghurt pots and some sticky back plastic</span>.</li>
</ul>
<h2>And here&#8217;s the code</h2>
<p>add this to the head of your document:</p>
<pre name="code" class="xhtml">
    &lt;script type="text/javascript" src="/JQuery.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="/jquery.scrollTo-min.js"&gt;
    &lt;/script&gt;

    &lt;script type="text/javascript"&gt;
        $(document).ready(function() {
            $(".error:first").attr("id","firstError");
            $("#firstError").each(function (){
                $.scrollTo("#firstError", 800);
            });
        });
    &lt;/script&gt;
</pre>
<p>And Bob&#8217;s your uncle!</p>
<p>Please let me know if you found this technique useful.</p>
<hr />Incidentally the code for this post was prepared with the very excellet postable. <a href="http://www.elliotswan.com/postable/">Check it out</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://fordie.co.uk/2008/10/28/scroll-to-the-first-error-in-form-using-jquery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Usability testing with Silverback</title>
		<link>http://fordie.co.uk/2008/07/10/usability-testing-with-silverback/</link>
		<comments>http://fordie.co.uk/2008/07/10/usability-testing-with-silverback/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 05:50:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[silverback]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://fordie.co.uk/index.php/2008/07/10/usability-testing-with-silverback/</guid>
		<description><![CDATA[Back in April I attended Future of Web Design 2008; a two day event with a conference on Thursday and Workshops on Friday. On the Friday afternoon I attended a session on Guerrilla Usability Testing run by Andy Budd from Clear Left. Usability testing is something I&#8217;ve been itching to do properly for years; I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p><img class="trans" style="float: left" src="/images/blog/steve-the-gorilla.png" alt="Steve" width="286" height="316" />Back in April I attended <a href="http://futureofwebdesign.com/">Future of Web Design 2008</a>; a two day event with a <a href="http://fordie.co.uk/index.php/2008/04/20/fowd-2008-london-the-conference/">conference on Thursday</a> and Workshops on Friday. On the Friday afternoon I attended a session on <a href="http://futureofwebdesign.com/workshops.html#jumper07">Guerrilla Usability Testing</a> run by <a href="http://www.andybudd.com/">Andy Budd</a> from <a href="http://www.clearleft.com/">Clear Left</a>.</p>
<p>Usability testing is something I&#8217;ve been itching to do properly for years; I&#8217;ve been trying to sell the idea to various bosses ever since I read <a href="http://www.sensible.com/about.html">Steve Krug</a>&#8216;s excellent <a href="http://books.google.co.uk/books?id=9FcoAQAACAAJ&amp;dq=Steve+Krug&amp;hl=en&amp;prev=http://www.google.co.uk/search%3Fq%3Dsteve%2Bkrug%26ie%3Dutf-8%26oe%3Dutf-8%26rls%3Dorg.mozilla:en-GB:official%26client%3Dfirefox-a&amp;sa=X&amp;oi=print&amp;ct=result&amp;cd=1&amp;cad=author-navigational">Don&#8217;t Make Me Think</a>.</p>
<p>Andy&#8217;s session demonstrated that effective usability testing really is within reach. He started off with a real world example &#8211; getting people who don&#8217;t drink much wine to evaluate three different bottle openers. This had the rather pleasing upshot of  there being several open bottles of wine that needed consuming during the course of the afternoon. From there Andy moved on to the main presentation which was informative and entertaining, <a href="http://www.slideshare.net/andybudd/guerilla-usability-testing">you can see a version of the slides he used here</a>.</p>
<p>At the end of the session Andy announced that <a href="http://silverbackapp.com/">Silverback</a>, the application that clear left had been making a noise about for a couple of months was in fact a tool for doing usability testing on the mac, and we would all be getting a beta copy to play with. As a recent mac convert I was keen to give it a spin.</p>
<p>At work we had already scheduled in some usability testing on the product we are developing so I was able to try Silverback out almost straight away.</p>
<p>Silverback is incredibly straightforward to use, you create a project and then set up a new test session with in that. In your web browser of choice you navigate to the site you&#8217;ll be testing then, when you are ready to start your test click &#8220;Start Session&#8221; in silverback, the screen fades to black with the words &#8220;press SPACEBAR to start&#8221; displayed in large friendly letters.You can pause and restart recording during the session, using your apple remote if you have one. Youcan also use your remote to mark places where your tester runs in to difficulty apparently.</p>
<p>Once you have finished your test you can make notes and export the session. I love the way Steve the gorilla taps his foot and drums his fingers on his clipboard while the export takes place.  What you end up is a quicktime movie like the one below with the isight &amp; screen capture videos combined, Sweet!</p>
<p><a href="http://www.vimeo.com/moogaloop.swf?clip_id=1311056&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1">My Silverback Demo</a></p>
<p>The movies are incredibly useful for understanding how users will interact with your site, they&#8217;re a very persuasive tool for getting colleagues to rethink functionality.</p>
<p>I think Clear Left have done a great job with Silverback, we&#8217;ll definately be buying a license when they launch the product.</p>
<h2 style="padding-top:2em; border-top:1px solid #ccc;">A note about recording audio with the mac mini</h2>
<p>Our mac test box in the office is a mac mini running tiger, so it has no isight camera or built in mic.  I had real fun and games trying to get the audio to work, eventually I discovered that the line in on the mac mini requires an amplified source so standard PC microphones will not work.  The best solution this problem was to purchase a USB microphone &#8211; we bought <a href="http://www.pcworld.co.uk/martprd/store/pcw_page.jsp?BV_SessionID=@@@@0955766175.1215610538@@@@&amp;BV_EngineID=ccehadeeigmjdehcflgceggdhhmdgmh.0&amp;page=Product&amp;fm=null&amp;sm=null&amp;tm=null&amp;sku=897399&amp;category_oid=-29769">this one from Logitec</a> it&#8217;s plug &amp; play and works a treat.</p>
]]></content:encoded>
			<wfw:commentRss>http://fordie.co.uk/2008/07/10/usability-testing-with-silverback/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>jQuery Intellisense in Visual Studio 2008</title>
		<link>http://fordie.co.uk/2008/03/18/jquery-intellisense-in-visual-studio-2008/</link>
		<comments>http://fordie.co.uk/2008/03/18/jquery-intellisense-in-visual-studio-2008/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 17:16:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[annoyances]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[intellisense]]></category>

		<guid isPermaLink="false">http://fordie.co.uk/index.php/2008/03/18/jquery-intellisense-in-visual-studio-2008/</guid>
		<description><![CDATA[We&#8217;ve started using jQuery quite heavily to power our javascript widgets &#8211; without exception everyone who&#8217;s used it here has had their own little jQuery epiphany. It&#8217;s quite funny to watch, people tend to resist it to start with (particularly the hardcore coders) &#8211; but when they use it for a while and see how [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/images/blog/intel.jpg" alt="intellisense in action" style="margin: 0pt 0.5em 0.5em 0pt; float: left" height="207" width="300" />We&#8217;ve started using <a href="http://jquery.com/">jQuery</a> quite heavily to power our javascript widgets &#8211; without exception everyone who&#8217;s used it here has had their own little jQuery epiphany. It&#8217;s quite funny to watch, people tend to resist it to start with (particularly the hardcore coders) &#8211; but when they use it for a while and see how much pain it can save you they soon come round.</p>
<p>One thing that was missing until now though was a way of getting jQuery intellisense in VS2008.  <a href="http://icanhaz.com/intellisense">Yesterday I spotted this article by  James Hart</a> which describes how this missing functionality can be be added. You need to make sure that you have this <a href="http://tinyurl.com/38vn68">Visual Studio 2008 Hotfix</a> installed then follow the instructions in James&#8217; article and as if by magic you&#8217;ll have intellisense for your jQuery code! This has gone down a treat here and looks set to make life an awful lot easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://fordie.co.uk/2008/03/18/jquery-intellisense-in-visual-studio-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I Changed my theme</title>
		<link>http://fordie.co.uk/2008/01/09/i-changed-my-theme/</link>
		<comments>http://fordie.co.uk/2008/01/09/i-changed-my-theme/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 22:43:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[websites]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://fordie.co.uk/index.php/2008/01/09/i-changed-my-theme/</guid>
		<description><![CDATA[After threatening to do it for almost a year, I&#8217;ve finally got round to changing the theme for this blog. I had planned to create my own theme, but having seen &#8220;HemingwayEx 1.0&#8243; in an article by Smashing Magazine I decided that this was so close to what I wanted to achieve it wasn&#8217;t worth [...]]]></description>
			<content:encoded><![CDATA[<p><img style="margin: 0pt 10px; float: left" src="http://fordie.co.uk/wp-content/themes/hemingwayEx/screenshot.png" alt="new theme" width="420" height="300" />After threatening to do it for almost a year, I&#8217;ve finally got round to changing the theme for this blog. I had planned to create my own theme, but having seen &#8220;HemingwayEx 1.0&#8243; in an article by <a href="http://www.smashingmagazine.com/2008/01/08/100-excellent-free-high-quality-wordpress-themes/">Smashing Magazine </a>I decided that this was so close to what I wanted to achieve it wasn&#8217;t worth trying to recreate.</p>
<p>So here it is, the <a href="http://fordie.co.uk/">fordie.co.uk</a> &#8211; what do you think?</p>
<p>Incidentally, I&#8217;m still  playing with font sizes and colours etc &#8211; I might be fiddling around these for a little yet.</p>
<p>Also, I have found one or two niggly little PHP errors so far, if you spot any of these of you have trouble using the site please leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://fordie.co.uk/2008/01/09/i-changed-my-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a sticky footer in ASP.net pages</title>
		<link>http://fordie.co.uk/2007/10/25/how-to-create-a-sticky-footer-in-aspnet-pages/</link>
		<comments>http://fordie.co.uk/2007/10/25/how-to-create-a-sticky-footer-in-aspnet-pages/#comments</comments>
		<pubDate>Thu, 25 Oct 2007 16:29:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[annoyances]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://fordie.co.uk/index.php/2007/10/25/how-to-create-a-sticky-footer-in-aspnet-pages/</guid>
		<description><![CDATA[When we were developing the Tesco Property Market website there was a requirement to be position the footer either at the bottom of the browser window or at the end of the content if it was over one screen high. On the original site I wasn&#8217;t able to acheive this, due to the way some [...]]]></description>
			<content:encoded><![CDATA[<p>When we were developing the Tesco Property Market website there was a requirement to be position the footer either at the bottom of the browser window or at the end of the content if it was over one screen high. On the original site I wasn&#8217;t able to acheive this, due to the way some of the web controls had been coded the side bars had to be absolutely positioned  and were often taller than the main content.</p>
<p>With the recent redesign I completely scrapped the existing templates and started again doing away with the absolute positioning. However, none of the techniques I&#8217;d used in the past for footer positioning worked and for the life of me I couldn&#8217;t work out why.</p>
<p>Eventually the answer dawned on me; the form element that .net annoyingly insists on wrapping everything in was not being targeted by the CSS. Once I&#8217;d realised that it was fairly straightforward to get the footer working. Here&#8217;s how I did it:</p>
<h2>The basic xhtml structure for your page should look like this</h2>
<pre name="code" class="xhtml">

&lt;body&gt;
&lt;!-- Stupid form required by .net --&gt;
&lt;form id="form1" runat="server"&gt;
&lt;div id="container"&gt;
&lt;div id="contents"&gt;
&lt;!-- Everything apart from the footer goes in here--&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id="site-info"&gt;
&lt;!-- footer stuff--&gt;
&lt;/div&gt;
&lt;/form&gt;
&lt;/body&gt;</pre>
<h2>And here&#8217;s the CSS to work the magic</h2>
<pre name="code" class="css">
html, body, #aspnetForm
{
	height:100%;
	/* without this the footer stays at the end of the content
           - not the botom of the viewport */
}
#container
{
	margin:auto;
	min-height:100%;
	width:980px;
	/* #container is at least the height of the veiwport and contains
            everything except the footer*/
}
#contents
{
	padding-bottom:3em;
	/* #contents contains everything excepte the footer and adds padding at least equivalent to the height of the footer beneath the content*/

}
#site-info
{	height:3em;
	margin :-3em auto 0 auto;
	width:980px;
	/* #site-info (the footer) contains the supplimenatry navigation and copyright info.
	   It's height and negative top margin should be the same as the bottom padding in #contents   */
}</pre>
<p>This technique was based on <a href="http://www.themaninblue.com/writing/perspective/2005/08/29/">Cameron Adams&#8217; &#8220;footerStickAlt&#8221;.</a></p>
<p style="text-align: right; font-size: 8px">Blogged with <a href="http://www.flock.com/blogged-with-flock" title="Flock" target="_new">Flock</a></p>
]]></content:encoded>
			<wfw:commentRss>http://fordie.co.uk/2007/10/25/how-to-create-a-sticky-footer-in-aspnet-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick tip for using XHTML Strict with ASP.net</title>
		<link>http://fordie.co.uk/2007/10/25/quick-tip-for-using-xhtml-strict-with-aspnet/</link>
		<comments>http://fordie.co.uk/2007/10/25/quick-tip-for-using-xhtml-strict-with-aspnet/#comments</comments>
		<pubDate>Thu, 25 Oct 2007 12:14:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[annoyances]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://fordie.co.uk/index.php/2007/10/25/quick-tip-for-using-xhtml-strict-with-aspnet/</guid>
		<description><![CDATA[One thing that has always infuriated me with .net is it&#8217;s insistence on adding an invalid name attribute to the asp.net form*. About a month ago I found a nice easy cure for this, so I thought I&#8217;d share it. All you need to do to stop .net adding the name attribute to the form [...]]]></description>
			<content:encoded><![CDATA[<p>One thing that has always infuriated me with .net is it&#8217;s insistence on adding an invalid name attribute to the asp.net form*.</p>
<p>About a month ago I found a nice easy cure for this, so I thought I&#8217;d share it. All you need to do to stop .net adding the name attribute to the form is add an xhtmlConformance tag to your web.config like so:</p>
<pre name="code" class="xml">
&lt;configuration&gt;
&lt;system.web&gt;
&lt;xhtmlConformance mode="Strict" /&gt;
&lt;/system.web&gt;
&lt;/configuration&gt;
</pre>
<p>Hopefully that&#8217;ll be of some use to someone.</p>
<p><span class="aside">*What annoys me more is the fact you have to have a form tag on every page for .net to work, but that&#8217;s a rant for another day.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://fordie.co.uk/2007/10/25/quick-tip-for-using-xhtml-strict-with-aspnet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>slight site re-jig</title>
		<link>http://fordie.co.uk/2007/08/03/slight-site-re-jig/</link>
		<comments>http://fordie.co.uk/2007/08/03/slight-site-re-jig/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 06:03:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://fordie.co.uk/index.php/2007/08/03/slight-site-re-jig/</guid>
		<description><![CDATA[Yesterday I finally got round to making a start on re jigging the site. Over the course of the coming days (and knowing how these things tend to go probably months) you may see strange things happening with the layout of the site as I switch backwards &#38; forwards between the current theme and the [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I finally got round to making a start on re jigging the site. Over the course of the coming days (and knowing how these things tend to go probably months) you may see strange things happening with the layout of the site as I switch backwards &amp; forwards between the current theme and the new one.</p>
<p>My new theme is based on the basic word press theme by Ron Adams which has given me a nice blank canvas to build up from.</p>
<p>If you&#8217;re not sure which theme you&#8217;re looking at &#8211; look up the top of the page, if you see a big orange block with diagonal stripes it&#8217;s the old theme (based onfluidity3c).</p>
<p>The new theme has a similar colour scheme, as I decided I needed some continuity. I&#8217;ll post again when it&#8217;s finally unleashed.</p>
]]></content:encoded>
			<wfw:commentRss>http://fordie.co.uk/2007/08/03/slight-site-re-jig/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

