<?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>Andrew James Ford is a Web Developer, designer, photographer and entrepreneur living in Tauranga, New Zealand. This blog covers CSS, HTML, Development, Photography and Travel.</title>
	<atom:link href="http://www.andrewford.co.nz/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andrewford.co.nz</link>
	<description>Andrew James Ford is a Web Developer, designer, photographer and entrepreneur living in Tauranga, New Zealand. This blog covers CSS, HTML, Development, Photography and Travel.</description>
	<lastBuildDate>Tue, 15 May 2012 00:52:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Time validation in ASP.Net MVC using a regular expression.</title>
		<link>http://www.andrewford.co.nz/time-validation-asp-net-mvc-regular-expression/</link>
		<comments>http://www.andrewford.co.nz/time-validation-asp-net-mvc-regular-expression/#comments</comments>
		<pubDate>Tue, 15 May 2012 00:52:32 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[ASP.Net MVC]]></category>

		<guid isPermaLink="false">http://www.andrewford.co.nz/?p=278</guid>
		<description><![CDATA[Just a quick tip for Time validation in ASP.Net MVC for your data model using a regular expression. Place the following in your model: [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = &#34;{0:HH:mm}&#34;)] [RegularExpression(@&#34;^(?:0?[0-9]&#124;1[0-9]&#124;2[0-3]):[0-5][0-9]$&#34;, ErrorMessage = &#34;Invalid time.&#34;)] public DateTime? YourDateTime { get; set; } This will perform the validation for 24 hour time in the format HH:mm [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick tip for Time validation in ASP.Net MVC for your data model using a regular expression.</p>
<p>Place the following in your model:</p>
<p><code><br />
</code></p>
<pre class="brush: csharp; gutter: true">[DisplayFormat(ApplyFormatInEditMode = true,
DataFormatString = &quot;{0:HH:mm}&quot;)]
[RegularExpression(@&quot;^(?:0?[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$&quot;, ErrorMessage = &quot;Invalid time.&quot;)]
public DateTime? YourDateTime { get; set; }</pre>
<p><code><br />
</code></p>
<p>This will perform the validation for 24 hour time in the format HH:mm</p>
<p>A big thanks to Markus Wulftange (Gumbo on Stack Overflow) for the tip. Here is his original answer he <a href="http://stackoverflow.com/a/884854">posted</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewford.co.nz/time-validation-asp-net-mvc-regular-expression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using LESS CSS &#8211; a programmable stylesheet language</title>
		<link>http://www.andrewford.co.nz/css-programmable-stylesheet-language/</link>
		<comments>http://www.andrewford.co.nz/css-programmable-stylesheet-language/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 02:42:37 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.andrewford.co.nz/?p=248</guid>
		<description><![CDATA[Over 6 months ago I started using LESS CSS, a dynamic language that adds the missing elements that CSS needs like variables and functions. I have to say I don&#8217;t think I&#8217;ll ever go back to standard CSS again, even for a static HTML site. The benefits of using LESS are just too great. The [...]]]></description>
			<content:encoded><![CDATA[<p>Over 6 months ago I started using LESS CSS, a dynamic language that adds the missing elements that CSS needs like variables and functions. I have to say I don&#8217;t think I&#8217;ll ever go back to standard CSS again, even for a static HTML site. The benefits of using LESS are just too great. The LESS CSS site can explain it better than I, check out the examples and explanations <a href="http://lesscss.org/">here</a> for a great intro.</p>
<p>The benefits of being able to quickly change the colour scheme by replacing a few variables, add cross browser vendor prefixed CSS in one line and to quickly create grids tailored to your project far out weigh the portability of standard CSS.</p>
<p>There are other dynamic CSS languages like SASS and Stylus to name a few. My experience so far has only be of LESS, I can&#8217;t comment if one is better than the other. I recommend you research which you prefer for yourself. The reason I settled on LESS was right from the beginning it has been platform independent with many ways of implementing regardless of platform (OSX, Windows or Linux) and the other factor of it being very close in syntax to standard CSS.</p>
<p>To use LESS the files need to be processed to standard CSS to use in your web project. This can be done in a multitude of ways:</p>
<ul>
<li>Via referencing a JavaScript file</li>
<li>A library as part of a build process</li>
<li>An application to process the LESS files independent of programming language</li>
<li>Using a plugin in your IDE</li>
</ul>
<h2>Using LESS.js to compile your LESS</h2>
<p>I can&#8217;t say I&#8217;ve ever used this method. I&#8217;m not sure if you could use it in development, as I believe it&#8217;s not cross browser supported. For a guide in using the LESS.js file I&#8217;d recommend going to the <a href="http://lesscss.org">LESSCSS.org</a> web site and following the guide <a href="http://lesscss.org/#-client-side-usage">here</a>.</p>
<h2>Implementing LESS ASP.Net as part of your build process</h2>
<p><a href="http://www.andrewford.co.nz/wp-content/uploads/2012/04/squishit-css.jpg"><img src="http://www.andrewford.co.nz/wp-content/uploads/2012/04/squishit-css-150x150.jpg" alt="squishit adding the css" title="squishit css" width="150" height="150" class="alignleft size-thumbnail wp-image-260" /></a>In my day job I develop a web application using ASP.Net MVC 3. The way I implement LESS in ASP.Net is via using the package SquishIt. Grab it from the NuGet Gallery <a href="http://nuget.org/packages/SquishIt">here</a>. The great thing about SquishIt is not only does it process your LESS files (plus CoffeeScript) it will minify, and combine the output (even in a cache busting way). It&#8217;s implementation is also extremely easy (and it works with both MVC and WinForm projects). Check out the developer Justin&#8217;s guide <a href="http://www.codethinked.com/squishit-the-friendly-aspnet-javascript-and-css-squisher">here</a> on implementing SquishIt</p>
<p><a href="http://www.andrewford.co.nz/wp-content/uploads/2012/04/squishit-js.jpg"><img src="http://www.andrewford.co.nz/wp-content/uploads/2012/04/squishit-js-150x150.jpg" alt="SquishIt add the JavaScript" title="squishit js" width="150" height="150" class="alignright size-thumbnail wp-image-261" /></a>SquishIt can also be used to reference your JavaScript files both minifying and combining. It can reference external CDN files e.g. for jQuery etc and local files in the same call, using the local file for development and the external file when going live. It will compile you LESS files on save so all that is needed to see your changes in the browser when developing locally is a refresh.</p>
<h2>Using the plugin in Visual Studio 2010 Mindscape Web Workbench</h2>
<p>There is a plugin for Visual Studio that will add support for LESS syntax and highlighting, it will also process your LESS files to CSS. This would seem to be a great way to get started using LESS in your project without the need for much setup, but unfortunately I can&#8217;t recommend it. The plugin would grind my copy of Visual Studio to a halt, making it virtually impossible to develop at any speed. The other nail in the coffin is the manual need to configure and minify and combine your CSS which is an essential part of web development these days.</p>
<h2>Using an application to process LESS</h2>
<p><a href="http://www.andrewford.co.nz/wp-content/uploads/2012/04/CodeKit.jpg"><img src="http://www.andrewford.co.nz/wp-content/uploads/2012/04/CodeKit-150x150.jpg" alt="CodeKit" title="CodeKit" width="150" height="150" class="alignleft size-thumbnail wp-image-271" /></a>By far the the easiest way to implement LESS processing regardless of platform is to use an application to convert the LESS files into CSS, either on save of the file or by manually clicking a process button. On a Mac there are a multitude of options but by far my favourite is the application CodeKit. It allows importing from other folders, processing of many other CSS dynamic languages and the minification and combining of files. Other applications of note are SimpLESS which is multi-platform, and LESS app for Mac by the same developer as CodeKit. If you are just starting out I&#8217;d recommend CodeKit to start with, it&#8217;s easier to setup and independent of the language your developing on also it will notify you of errors when compiling the LESS to CSS. CodeKit isn&#8217;t free but in my opinion is worth every cent.</p>
<h2>Getting Started quickly with LESS</h2>
<p>To get started quickly with LESS you can start with some great frameworks so you won&#8217;t need to write your own mixins. The rapid development kick starter Twitter&#8217;s Bootstrap uses LESS and is a great learning tool to see what&#8217;s achievable. I&#8217;d recommend checking out the nicely structured LESS files of Twitter Bootstrap. Other frameworks of mention are <a href="http://lesselements.com/">Elements</a> and my own set of mixins <a href="https://github.com/andrewjamesford/lessmixing">LESS Mixing</a>.</p>
<h2>Further Reading</h2>
<p><a href="http://lesscss.org">LESS CSS</a></p>
<p><a href="http://webdesign.tutsplus.com/tutorials/htmlcss-tutorials/get-into-less-the-programmable-stylesheet-language/">Tuts+ Get into LESS</a></p>
<p><a href="http://www.12devsofxmas.co.uk/2011/12/less/">Learn LESS</a></p>
<p><a href="http://mac.appstorm.net/roundups/internet-roundup/5-mac-apps-that-make-css-preprocessors-easier-to-use/">Apps on Mac for CSS pre-processing</a></p>
<p><a href="http://www.mindscapehq.com/products/web-workbench">Mindscape Web Workbench</a></p>
<p><a href="https://github.com/jetheredge/SquishIt">SquishIt on github</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewford.co.nz/css-programmable-stylesheet-language/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bungy jumping, engagement and learning a whole lot of tech</title>
		<link>http://www.andrewford.co.nz/bungy-jumping-engagement-learning-lot-tech/</link>
		<comments>http://www.andrewford.co.nz/bungy-jumping-engagement-learning-lot-tech/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 08:35:26 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.andrewford.co.nz/?p=239</guid>
		<description><![CDATA[What a full on 6 months I&#8217;ve just had. I got engaged, visited Queenstown and New Castle in Australia, Bungy jumped for the first time (proof here). And to top that off I started a new job at SpeEDI software and launched my own web application Vote Daily Deals (http://votedailydeals.co.nz). While doing all that I [...]]]></description>
			<content:encoded><![CDATA[<p>What a full on 6 months I&#8217;ve just had. I got engaged, visited Queenstown and New Castle in Australia, Bungy jumped for the first time (<a href="http://youtu.be/HwxAynPoEjM">proof here</a>). And to top that off I started a new job at SpeEDI software and launched my own web application Vote Daily Deals (http://votedailydeals.co.nz). While doing all that I had the chance to learn the following languages/technologies/frameworks:</p>
<ul>
<li><a href="http://www.asp.net/mvc/mvc3">ASP.Net MVC 3</a></li>
<li><a href="http://lesscss.org/">LESS CSS (pre-compiled CSS)</a></li>
<li><a href="http://www.windowsazure.com/en-us/">Azure</a></li>
<li><a href="http://www.php.net/">PHP</a></li>
<li><a href="http://codeigniter.com/">CodeIgniter PHP framework</a></li>
<li><a href="http://coffeescript.org/">CoffeeScript</a></li>
<li><a href="http://git-scm.com/">Git (version control)</a></li>
<li><a href="https://developer.apple.com/devcenter/ios/index.action">iOS development using Objective C with Xcode</a></li>
<li><a href="http://developers.facebook.com">Facebook Open Graph and PHP SDK</a></li>
</ul>
<p>The web application I&#8217;m building at SpeEDI Software is all built using Microsoft technologies. It&#8217;s a MVC 3 application that will be deployed on Azure web hosting. This site takes advantage of Twitter Bootstrap and LESS. Can&#8217;t say too much more, but it&#8217;s coming along at a good pace.</p>
<p><a href="http://votedailydeals.co.nz">Vote Daily Deals</a> is a web application I built in my spare time (what little I have) on the CodeIgniter framework. The application takes advantage of the Twitter Bootstrap framework that allowed me to focus my effort on the PHP and CoffeeScript and not on the look and feel. The site allows users to vote for their favourite daily deals site in New Zealand. Users have the choice of logging in using their Facebook account, upon voting for a site and entry is added to the users Facebook timeline notifying other users about the site.</p>
<p>After learning all these great languages/technologies/frameworks some further blog posts will have to be done to share what I&#8217;ve learned.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewford.co.nz/bungy-jumping-engagement-learning-lot-tech/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perfect Pixel and Pixel Perfect browser plugins</title>
		<link>http://www.andrewford.co.nz/perfect-pixel-pixel-perfect-browser-plugins/</link>
		<comments>http://www.andrewford.co.nz/perfect-pixel-pixel-perfect-browser-plugins/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 09:05:01 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.andrewford.co.nz/?p=229</guid>
		<description><![CDATA[Ever had to build a web page for a picky web designer? One that will rake you over the coals for little things not matching their design? I have plenty of times&#8230; To save all the frustration and make sure I get it right first time I use one of my favorite tools. The tool [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.andrewford.co.nz/wp-content/uploads/2011/11/Perfect-Pixel.png"><img src="http://www.andrewford.co.nz/wp-content/uploads/2011/11/Perfect-Pixel-150x150.png" alt="" title="Perfect Pixel &amp; Pixel Perfect Browser Plugins" width="150" height="150" class="alignright size-thumbnail wp-image-231" /></a>
<p>Ever had to build a web page for a picky web designer? One that will rake you over the coals for little things not matching their design?</p>
<p>I have plenty of times&#8230; To save all the frustration and make sure I get it right first time I use one of my favorite tools.</p>
<p>The tool I have depended on in the past is the great Firefox plugin Pixel Perfect. It allows you to overlay an image over top of the site your developing in the browser. This is great to make sure the page your styling matches the design.</p>
<p>If you use Google Chrome for development, there is a newly developed extension called Perfect Pixel. This has a lot of the same functionality as Pixel Perfect. Great if you&#8217;ve moved from Firefox to Chrome for developing like myself.</p>
<p>Try it out for yourself and you will quickly see how close (or far) you are from making the site your working on matches the design.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/pixel-perfect/" target="_blank">Pixel Perfect for Mozilla Firefox</a></p>
<p><a href="https://chrome.google.com/webstore/detail/dkaagdgjmgdmbnecmcefdhjekcoceebi" target="_blank">Perfect Pixel for Google Chrome</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewford.co.nz/perfect-pixel-pixel-perfect-browser-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Page Photo Gallery plugin for WordPress</title>
		<link>http://www.andrewford.co.nz/facebook-page-photo-gallery-plugin-wordpress/</link>
		<comments>http://www.andrewford.co.nz/facebook-page-photo-gallery-plugin-wordpress/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 08:24:46 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[social media]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[gallery]]></category>

		<guid isPermaLink="false">http://www.andrewford.co.nz/?p=219</guid>
		<description><![CDATA[I recently built a WordPress site for some friends. Being very busy people they were struggling to use the sites theme for galleries (I was struggling too with it). Being iPhone users they had no problem uploading photos of their clients cars to their business Facebook Page. To help them out and get their galleries [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.andrewford.co.nz/wp-content/uploads/2011/11/Toyota-Supra-CDR-Paint-and-Panel.png"><img src="http://www.andrewford.co.nz/wp-content/uploads/2011/11/Toyota-Supra-CDR-Paint-and-Panel-150x150.png" alt="" title="Facebook Page Photo Gallery plugin for WordPress" width="150" height="150" class="alignright size-thumbnail wp-image-221" /></a>
<p>I recently built a WordPress site for some friends. Being very busy people they were struggling to use the sites theme for galleries (I was struggling too with it). Being iPhone users they had no problem uploading photos of their clients cars to their business Facebook Page. </p>
<p>To help them out and get their galleries on display on their new website I used a great plugin for WordPress called Facebook Page Photo Gallery. It allows you to add galleries from Facebook Pages with a simple short code on the page with the gallery ID. It formats the thumbs nicely and even opens the images in a &#8216;fancy box&#8217; light box.</p>
<p>Great way to maximize the painful time consuming task of uploading images to your site.</p>
<p>Get the plugin from here:<br />
<a href="http://wordpress.org/extend/plugins/facebook-page-photo-gallery/" target="_blank">WordPress Plugin page</a><br />
<a href="http://zoxion.com/facebook-page-photo-gallery/" target="_blank">Developers Plugin Page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewford.co.nz/facebook-page-photo-gallery-plugin-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom share and tweet buttons for Facebook and Twitter</title>
		<link>http://www.andrewford.co.nz/custom-share-tweet-buttons-for-facebook-and-twitter/</link>
		<comments>http://www.andrewford.co.nz/custom-share-tweet-buttons-for-facebook-and-twitter/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 08:23:47 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[social media]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[share]]></category>
		<category><![CDATA[tweet]]></category>

		<guid isPermaLink="false">http://www.andrewford.co.nz/?p=202</guid>
		<description><![CDATA[I came across an issue with a design, where the client didn&#8217;t want the standard Facebook Like and Twitter tweet buttons on their site. Here&#8217;s how I created my own custom share buttons. Lets start with Facebook. There are a couple of items that will need to be added into the header. Step 1: Add [...]]]></description>
			<content:encoded><![CDATA[<p>I came across an issue with a design, where the client didn&#8217;t want the standard Facebook Like and Twitter tweet buttons on their site. Here&#8217;s how I created my own custom share buttons.</p>
<p>Lets start with Facebook. There are a couple of items that will need to be added into the header.</p>
<p>Step 1: Add the following meta tags (if they don&#8217;t already exist).</p>
<pre class="brush: html; gutter: true">&lt;meta name="title" content="This is the Title"&gt;
&lt;meta name="description" content="This is a description"&gt;
&lt;meta name="keywords" content="keywords here"&gt;</pre>
<p class="brush: html; gutter: true">Step 2: Add the Facebook share script</p>
<pre class="brush: html; gutter: true">&lt;script src="//static.ak.fbcdn.net/connect.php/js/FB.Share"&gt;&lt;/script&gt;</pre>
<p class="brush: html; gutter: true">Step 3: Add the following to your custom Facebook share link</p>
<pre class="brush: html; gutter: true">&lt;a name="fb_share" type="button" href="http://www.facebook.com/sharer.php" target="_blank" class="socialLinkFacebook" title="Facebook"&gt;Facebook&lt;/a&gt;</pre>
<p class="brush: html; gutter: true">For Twitter follow these steps.</p>
<p class="brush: html; gutter: true">Step 1: Create a custom Twitter tweet link</p>
<pre class="brush: html; gutter: true">&lt;a href="https://twitter.com/share?url=mydomain.com" class="socialLinkTwitter" title="Twitter" target="_blank"&gt;Twitter&lt;/a&gt;</pre>
<p class="brush: html; gutter: true">Step 2: Add Javascript window popup click handler function (you&#8217;ll need jQuery linked already for this javascript)</p>
<pre class="brush: javascript; gutter: true">$('.socialLinkTwitter').click(function (e) {
        e.preventDefault();
        var sTwitterShare = $(this).attr('href');
window.open(sTwitterShare,'Share','width=550,height=450');
    });</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewford.co.nz/custom-share-tweet-buttons-for-facebook-and-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Travel hacking Air New Zealand</title>
		<link>http://www.andrewford.co.nz/travel-hacking/</link>
		<comments>http://www.andrewford.co.nz/travel-hacking/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 09:24:40 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://www.andrewford.co.nz/?p=186</guid>
		<description><![CDATA[I was reading a great blog post on travel hacking from the team at LifeHacker. So I thought I&#8217;d give some of my pointers. From that article I found my favourite new flight comparison tool, SkyScanner and the best part is it&#8217;s in NZ dollars. Web Jet have a nice monthly deal finder search tool, choose your destination and [...]]]></description>
			<content:encoded><![CDATA[<p>I was reading a great blog post on <a title="The Ultimate Travel Hacking guide" href="http://lifehacker.com/5841147/the-ultimate-travel-hacking-guide" target="_blank">travel hacking</a> from the team at LifeHacker. So I thought I&#8217;d give some of my pointers.</p>
<p>From that article I found my favourite new flight comparison tool, <a title="SkyScanner" href="http://www.skyscanner.co.nz/" target="_blank">SkyScanner</a> and the best part is it&#8217;s in NZ dollars.</p>
<p>Web Jet have a nice monthly deal finder search tool, choose your destination and it can tell you the best price for the next 6 months. <a title="Web Jet" href="http://www.webjet.co.nz/" target="_blank">http://www.webjet.co.nz/</a></p>
<p>Here are a few of my own tips for Air New Zealand:</p>
<p><strong>Tip 1:</strong> For Air New Zealand flyers if you&#8217;ve flown in the last 7 days make sure you enter your details on <a title="Air Points Lucky Seven" href="https://www.airpointsluckyseven.co.nz/" target="_blank" class="broken_link">https://www.airpointsluckyseven.co.nz/</a> and keep checking back everyday at midday to see if you&#8217;ve won.</p>
<p><strong>Tip 2:</strong> Earn Air New Zealand airpoints the easy way by getting a Go Fly Kiwibank mastercard, spend over 15k on it and you&#8217;ll also get free Koru lounge passes. <a title="Go Fly credit card" href="http://www.kiwibank.co.nz/personal-banking/credit-cards/gofly/" target="_blank">http://www.kiwibank.co.nz/personal-banking/credit-cards/gofly/</a> There are also other <a title="Earn airpoints with these credit cards" href="http://www.airnewzealand.co.nz/airpoints-direct-earn-credit-card-comparison-table" target="_blank">credit cards</a> that can help you wing your way overseas.</p>
<p><strong>Tip 3:</strong> With the above credit card every thursday, they have a simple trivia competition for air-points as well as special grab a seat deals for Go Fly Kiwibank customers <a title="Go Fly promo" href="https://www.kiwibank.co.nz/go-fly-promotion/" target="_blank">https://www.kiwibank.co.nz/go-fly-promotion/</a></p>
<p><strong>Tip 4:</strong> Combine your Fly Buys to your Air New Zealand air points, be aware that the conversion rate is pretty low though 1 Airpoints Dollar for every 6.25 Fly Buys Points. <a title="Flybuys to Airpoints" href="https://www.flybuys.co.nz/Airpoints/Pages/Default.aspx" target="_blank">https://www.flybuys.co.nz/Airpoints/Pages/Default.aspx</a></p>
<p><strong>Tip 5:</strong>  Sign up for Colmar Brunton surveys to get more Fly Buys points <a title="All the details about signing up for surveys" href="http://www.flybuyspromotions.co.nz/July07ColmarBrunton/CB.html" target="_blank">http://www.flybuyspromotions.co.nz/July07ColmarBrunton/CB.html</a>. Every week or so I get emails to complete surveys for Fly Buys points.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewford.co.nz/travel-hacking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running incompatible/out of date add ons in Firefox</title>
		<link>http://www.andrewford.co.nz/running-incompatibleout-date-add-ons-firefox/</link>
		<comments>http://www.andrewford.co.nz/running-incompatibleout-date-add-ons-firefox/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 02:47:46 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.andrewford.co.nz/?p=159</guid>
		<description><![CDATA[Today I needed to use a plugin that was out of date with the latest version of Firefox (Firefox 6 is now out). The great Pixel Perfect Plugin, an awesome tool for checking your CSS/HTML layouts match your design by overlaying a graphic over top with opacity. Definitely check it out, helps keep me honest [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.andrewford.co.nz/wp-content/uploads/2011/08/NightlyTesterTools1.png"><img class="alignright size-medium wp-image-175" title="NightlyTesterTools" src="http://www.andrewford.co.nz/wp-content/uploads/2011/08/NightlyTesterTools1-300x186.png" alt="Firefox Addon Nightly Tester Tools" width="300" height="186" /></a>Today I needed to use a plugin that was out of date with the latest version of Firefox (Firefox 6 is now out). The great <a title="Pixel Perfect Plugin for Firefox" href="http://pixelperfectplugin.com/" target="_blank">Pixel Perfect Plugin</a>, an awesome tool for checking your CSS/HTML layouts match your design by overlaying a graphic over top with opacity. Definitely check it out, helps keep me honest to the design.</p>
<p>I did a few quick searches of Google and I came across this little helpful plugin called the &#8220;<a title="Nightly Tester Tools Firefox addon" href="https://addons.mozilla.org/en-US/firefox/addon/nightly-tester-tools/" target="_blank">Nightly Tester Tools</a>&#8221; made to help developers using the latest builds still be able to test and develop plugins. This will allow any disabled plugin to work regardless if it&#8217;s compatible or not.</p>
<p>Simply go to Tools &gt; Nightly Tester Tools &gt; Force Addon Compatibility to enable your out of date plugins.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewford.co.nz/running-incompatibleout-date-add-ons-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript (jQuery) sliders round up</title>
		<link>http://www.andrewford.co.nz/javascript-jquery-sliders/</link>
		<comments>http://www.andrewford.co.nz/javascript-jquery-sliders/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 22:28:17 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[carousel]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://www.andrewford.co.nz/?p=130</guid>
		<description><![CDATA[I&#8217;ve used a number of Javascript based image sliders on a number of projects in the last year. They all have some points of difference so I thought I&#8217;d share what they are and make people aware of them. &#160; Nivo Slider http://nivo.dev7studios.com/ I&#8217;m currently using Nivo slider on this website for the home page. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve used a number of Javascript based image sliders on a number of projects in the last year. They all have some points of difference so I thought I&#8217;d share what they are and make people aware of them.</p>
<p>&nbsp;</p>
<h2>Nivo Slider</h2>
<p><a title="Nivo Slider" href="http://nivo.dev7studios.com/" target="_blank">http://nivo.dev7studios.com/</a><br />
<a href="http://www.andrewford.co.nz/wp-content/uploads/2011/08/Screen-Shot-2011-08-05-at-7.15.11-AM.png"><img class="alignleft size-medium wp-image-133" title="Nivo Slider" src="http://www.andrewford.co.nz/wp-content/uploads/2011/08/Screen-Shot-2011-08-05-at-7.15.11-AM-300x132.png" alt="" width="300" height="132" /></a></p>
<p>I&#8217;m currently using Nivo slider on this website for the home page. It&#8217;s currently pulling in the Featured Post image  using a custom function for my WordPress theme. Nivo slider has a great set of animation effects and has a number of options. If you want a no hassle installation for WordPress Dev7Studios offer a paid plugin as well. There are even a number of other platforms already supported with Drupal, Joomla and Sitefinity.</p>
<p>What I like about Nivo slider is the different types of transitions rather than just the standard slide in from left to right/ top to bottom.   I&#8217;m using &#8220;sliceDown&#8221; on my own site, where it segments up the image and makes each segment slide down, a unique different effect to most other sliders around. Check out the <a title="Nivo Slider demo page" href="http://nivo.dev7studios.com/theme-demos/" target="_blank">demo</a> page here to see the prebuilt themes too.</p>
<p>Points of difference:</p>
<ul>
<li>Unique transitions to most other sliders &#8211; slice down/up, fold, box rain/random</li>
<li>Plugins already available for popular CMS (WordPress, Joomla &amp; Drupal)</li>
<li>Nice looking prebuilt themes</li>
</ul>
<div>Sites I&#8217;ve implemented on:</div>
<div><a href="http://andrewford.co.nz" target="_blank">andrewford.co.nz</a></div>
<p>&nbsp;</p>
<h2>jQuery Cycle</h2>
<p><a title="jQuery Cycle" href="http://jquery.malsup.com/cycle/" target="_blank">http://jquery.malsup.com/cycle/</a></p>
<p>&nbsp;</p>
<p><a href="http://www.andrewford.co.nz/wp-content/uploads/2011/08/Screen-Shot-2011-08-05-at-7.16.04-AM.png"><img class="alignleft size-medium wp-image-134" title="ZESPRI using jQuery Cycle" src="http://www.andrewford.co.nz/wp-content/uploads/2011/08/Screen-Shot-2011-08-05-at-7.16.04-AM-300x131.png" alt="ZESPRI using jQuery Cycle" width="300" height="131" /></a>This great plugin has the most effects of all the sliders here, it also has the honor of being the oldest project of the round up. Very highly configurable, huge number of options and can be paused, progressed etc from a JavaScript call. I&#8217;ve used it on multiple projects and combined with jQuery easing the transition effects can be very smooth and extended (ease in, bounce etc).</p>
<p>Points of difference:</p>
<ul>
<li>Huge number of effects</li>
<li>Mature project, has been around since 2007</li>
<li>Large number of demos available on the site</li>
</ul>
<div>Sites I&#8217;ve implemented on:</div>
<div><a title="ZESPRI" href="http://zespri.com" target="_blank">zespri.com</a></div>
<div><a title="Offerzone" href="http://offerzone.co.nz" target="_blank">offerzone.co.nz</a></div>
<p>&nbsp;</p>
<h2>Orbit</h2>
<p><a title="Zurb Orbit slider" href="http://www.zurb.com/playground/orbit-jquery-image-slider" target="_blank">http://www.zurb.com/playground/orbit-jquery-image-slider</a></p>
<div><a href="http://www.andrewford.co.nz/wp-content/uploads/2011/08/Screen-Shot-2011-08-05-at-7.16.55-AM.png"><img class="alignright size-medium wp-image-135" title="CV for Andrew Ford using Orbit slider" src="http://www.andrewford.co.nz/wp-content/uploads/2011/08/Screen-Shot-2011-08-05-at-7.16.55-AM-300x178.png" alt="Orbit slider example" width="300" height="178" /></a>Orbit is a new comer to the group that uses CSS3 to keep the size of the library down to a mere 4kb. It also has a nice loading animation/pause button.</div>
<p>Points of difference:</p>
<ul>
<li>Loading/countdown animation</li>
<li>Very small at 4kb</li>
<li>Compatibility: IE7+, FF 3.5+, Chrome, Safari</li>
</ul>
<div>Sites I&#8217;ve implemented on:</div>
<div><a title="CV for Andrew Ford" href="http://cv.andrewford.co.nz" target="_blank" class="broken_link">cv.andrewford.co.nz</a></div>
<div>
<h2></h2>
<p>&nbsp;</p>
<h2>bxSlider</h2>
<p><a title="bxSlider " href="http://bxslider.com/" target="_blank">http://bxslider.com/</a></p>
<p><a href="http://www.andrewford.co.nz/wp-content/uploads/2011/08/Screen-Shot-2011-08-05-at-7.17.42-AM.png"><img class="alignleft size-medium wp-image-136" title="bxSlider example" src="http://www.andrewford.co.nz/wp-content/uploads/2011/08/Screen-Shot-2011-08-05-at-7.17.42-AM-300x71.png" alt="Exampled of bxSlider" width="300" height="71" /></a>This is my current favorite slider. I&#8217;m currently using it to do two complete types of transition on the same page, one a simple fade with a pager control and the other a carousel type cycle where I show 3 items and scroll only one at a time using a previous and next buttons. There are a ton of options and plenty of call back functions. Like a before the slider loads so I could stop horrible flashing of images before they were positioned.</p>
</div>
<p>Points of difference:</p>
<ul>
<li>A move slide quantity option (killer feature)</li>
<li>Ticker option to have your images/slides constantly scrolling</li>
<li>Great call back functions, next, previous, before and after.</li>
</ul>
<div>Sites I&#8217;ve implemented on:</div>
<div>Coming soon</div>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewford.co.nz/javascript-jquery-sliders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS3 and my toolset</title>
		<link>http://www.andrewford.co.nz/css3-toolset/</link>
		<comments>http://www.andrewford.co.nz/css3-toolset/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 08:41:38 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.andrewford.co.nz/?p=115</guid>
		<description><![CDATA[These days I&#8217;m trying as much as possible to get away without having to create pixels with websites. To do this I use CSS3 (part of the subset of the HTML 5 standard) to create the styling of elements without needing to open up Fireworks or Photoshop. There are a couple of benefits for this [...]]]></description>
			<content:encoded><![CDATA[<p>These days I&#8217;m trying as much as possible to get away without having to create pixels with websites. To do this I use CSS3 (part of the subset of the HTML 5 standard) to create the styling of elements without needing to open up Fireworks or Photoshop. There are a couple of benefits for this approach:</p>
<ol>
<li>The page weight is usually smaller, and the site doesn&#8217;t require multiple http requests (it shouldn&#8217;t anyway if your using image sprites)</li>
<li>The elements can easily grow and shrink to fit content without having to resort to techniques like &#8220;sliding doors&#8221;</li>
<li>Less time is spent exporting and optimising images for use in the CSS </li>
</ol>
<p>To visually create the styling without resorting to lots of painful CSS properties in my chosen HTML/CSS editor I use the following web sites to quickly create the look I want or that I&#8217;m trying to mimic from provided designs.</p>
<h2><a href="http://www.layerstyles.org" title="Layer Styles">Layer Styles</a></h2>
<p>Layer Styles is a great tool if your familiar (or even if your not) of Photoshop effects. It mimics the same panel interface as Photoshop with the check box and slider panes. Once your happy with the look of the styling you&#8217;ve created simply copy the CSS from the code pane on the bottom of the page. There is one caveat of the Layer Styles, you will need to add the vendor prefixes to your CSS. To save you the hassle simply copy and paste your CSS into the tool below.</p>
<h2><a href="http://prefixmycss.com/" title="Prefix my CSS">Prefix my CSS</a></h2>
<p>Prefix my CSS will add the vendors (Mozilla, Opera, Webkit) prefixes to your styling for what ever browser your&#8217;ve been creating your styles for. Easy as that.</p>
<h2><a href="http://www.colorzilla.com/gradient-editor/" title="Ultimate CSS gradient creator">Ultimate CSS gradient creator</a></h2>
<p>If your used to Photoshops gradient effect tool you&#8217;ll love the Ultimate CSS gradient creator. It allows you to place multiple gradient points along the bar and adjust to your hearts content. Alternatively you can just grab one of the pre-generated presets and edit that. The CSS produced is already prefixed and also there are fall backs for older browsers and IE.  </p>
<h2><a href="http://jsfiddle.net" title="jsFiddle">jsFiddle</a></h2>
<p>jsFiddle is a front end developers playground. The page is divided into 4 panes where you can quickly add your HTML, CSS and JavaScript. Simply hit the run button and you&#8217;ll see the results of your pasted in CSS of the above tools. One of the killer features I love about jsFiddle is the ability to create short codes to your mockup so you can quickly test cross browser simply by copying the short code address into the address bar. There are a ton more features on jsFiddle enough to write an entire article or two. Definitely worth checking out. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewford.co.nz/css3-toolset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic
Database Caching 10/79 queries in 0.925 seconds using disk: basic
Object Caching 1686/1881 objects using disk: basic

Served from: www.andrewford.co.nz @ 2012-05-20 18:32:47 -->
