  <?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>Chob</title>
	<atom:link href="http://blog.chop.com.au/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chop.com.au</link>
	<description>Blog of Leon Wilson, a freelance flash developer based in Sydney, Australia.</description>
	<lastBuildDate>Sat, 17 Mar 2012 22:51:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>The alignment of blocks with different heights within a grid using jQuery</title>
		<link>http://blog.chop.com.au/2012/03/the-alignment-of-blocks-with-different-heights-within-a-grid-using-jquery/</link>
		<comments>http://blog.chop.com.au/2012/03/the-alignment-of-blocks-with-different-heights-within-a-grid-using-jquery/#comments</comments>
		<pubDate>Sat, 17 Mar 2012 22:33:34 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[inline-block]]></category>
		<category><![CDATA[onresize]]></category>
		<category><![CDATA[tiles]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=1328</guid>
		<description><![CDATA[Yesterday while working on a current job, I came across a simple layout that couldn&#8217;t simply be done using CSS. Its been see around a lot lately and is common for mobile devices. I had a &#8216;news feed&#8217; which I wanted to be displayed in a grid, however due to the fact they would have [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://labs.chop.com.au/dynamic_tiles.php"><img class="alignnone size-large wp-image-1329" title="Click to see demo" src="http://blog.chop.com.au/wp-content/uploads/dynamic_tiles-1024x527.jpg" alt="demo" /></a></p>
<p>Yesterday while working on a current job, I came across a simple layout that couldn&#8217;t simply be done using CSS. Its been see around a lot lately and is common for mobile devices. I had a &#8216;news feed&#8217; which I wanted to be displayed in a grid, however due to the fact they would have alternate heights, simply using css float or inline-block would result in vertical uneven spaces.</p>
<p>To solve this I used jQuery to rewrite the html onload and onresize. One of the concerns was the items also needed to display left to right then onto the next line, NOT top to bottom then next coloumn.</p>
<p>The main function determines the number of columns available in the given space, then adds each block to the column using a modulo function to determine the right column.</p>
<p>Feel free to copy and use at your peril, I&#8217;de like to here of any improvements.</p>
<p><a href="http://labs.chop.com.au/dynamic_tiles.php">View the demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2012/03/the-alignment-of-blocks-with-different-heights-within-a-grid-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loop through XML elements using PHP</title>
		<link>http://blog.chop.com.au/2012/01/loop-through-xml-nodes-using-php/</link>
		<comments>http://blog.chop.com.au/2012/01/loop-through-xml-nodes-using-php/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 22:33:57 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[foreach]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=1323</guid>
		<description><![CDATA[If you don&#8217;t know the absolute path of an element in your xml file the using xpath and &#8216;//&#8217; acts as a wildcard (similar to &#8216;..&#8217; in as3 i guess) you can run a loop and return all values for those elements. Handy for this likes RSS feeds or KML files ect.]]></description>
			<content:encoded><![CDATA[<p>If you don&#8217;t know the absolute path of an element in your xml file the using xpath and &#8216;//&#8217; acts as a wildcard (similar to &#8216;..&#8217; in as3 i guess) you can run a loop and return all values for those elements.</p>
<p>Handy for this likes RSS feeds or KML files ect.</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php

$xml = simplexml_load_file('my.xml');

	foreach ($xml-&gt;xpath('//xmlnode')  as $node) {
    	echo &quot;\t node: $node &lt;br /&gt;\n&quot;;

	}
?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2012/01/loop-through-xml-nodes-using-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3D text intro</title>
		<link>http://blog.chop.com.au/2012/01/3d-text-intro/</link>
		<comments>http://blog.chop.com.au/2012/01/3d-text-intro/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 09:44:57 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[3D]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=1311</guid>
		<description><![CDATA[This is an Animation test in Cinema 4D using MoGraph PolyFX and Randomiser. Im also using a shader by Matt Savard to create falloff in the shadow. (http://www.helloluxx.com/tag/distance-falloff/) You can view the clip on YouTube]]></description>
			<content:encoded><![CDATA[<p>This is an Animation test in Cinema 4D using MoGraph PolyFX and Randomiser. Im also using a shader by Matt Savard to create falloff in the shadow. (http://www.helloluxx.com/tag/distance-falloff/)</p>
<p><a href="http://youtu.be/oBg3rHuTCVQ">You can view the clip on YouTube</a></p>
<p><a href="http://blog.chop.com.au/wp-content/uploads/typoart0043.jpg"><img class="alignnone size-large wp-image-1321" title="typoart0043" src="http://blog.chop.com.au/wp-content/uploads/typoart0043-1024x576.jpg" alt="" /></a></p>
<p><a href="http://blog.chop.com.au/wp-content/uploads/typoart_35.png"><img class="alignnone size-large wp-image-1313" title="typoart_35" src="http://blog.chop.com.au/wp-content/uploads/typoart_35-1024x576.png" alt="" /></a><a href="http://blog.chop.com.au/wp-content/uploads/typoart_45.png"><img class="alignnone size-large wp-image-1314" title="typoart_45" src="http://blog.chop.com.au/wp-content/uploads/typoart_45-1024x576.png" alt="" /></a><a href="http://blog.chop.com.au/wp-content/uploads/typoart_70.png"><img class="alignnone size-large wp-image-1315" title="typoart_70" src="http://blog.chop.com.au/wp-content/uploads/typoart_70-1024x576.png" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2012/01/3d-text-intro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Threadless Submission &#8211; No Parking (stick it to the man)</title>
		<link>http://blog.chop.com.au/2011/11/my-threadless-submission-no-parking-stick-it-to-the-man/</link>
		<comments>http://blog.chop.com.au/2011/11/my-threadless-submission-no-parking-stick-it-to-the-man/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 02:49:42 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=1302</guid>
		<description><![CDATA[Score this design: &#8220;No Parking,&#8221; to help it get printed on Threadless!]]></description>
			<content:encoded><![CDATA[<p>Score this design: &#8220;<a href="http://www.threadless.com/submission/381092/No_Parking?utm_source=share&#038;utm_medium=email&#038;utm_content=No_Parking&#038;utm_campaign=designstreetteam=Leehoss">No Parking</a>,&#8221; to help it get printed on <a href="http://www.threadless.com?utm_source=share&#038;utm_medium=email&#038;utm_content=No_Parking&#038;utm_campaign=designstreetteam=Leehoss">Threadless</a>!<br/><br/><a href="http://www.threadless.com/submission/381092/No_Parking?utm_source=share&#038;utm_medium=email&#038;utm_content=No_Parking&#038;utm_campaign=designstreetteam=Leehoss"><img src="http://media.threadless.com/subs/big/381092.jpg" width="640" height="800" border="0"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2011/11/my-threadless-submission-no-parking-stick-it-to-the-man/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RIP Oscar &#8211; 26th December 1995 to 22nd October 2011</title>
		<link>http://blog.chop.com.au/2011/10/rip-oscar-26th-december-1995-to-22nd-october-2011/</link>
		<comments>http://blog.chop.com.au/2011/10/rip-oscar-26th-december-1995-to-22nd-october-2011/#comments</comments>
		<pubDate>Sat, 22 Oct 2011 07:35:13 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Oscar]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=1293</guid>
		<description><![CDATA[Today I lost my best mate, my brother the family dog Oscar Wilson. He left us peacefully in our family home when the vet put him to sleep, after his final play in the park bush with his favourite stick. I&#8217;ll miss him incredibly as he was such an important part of my life. He [...]]]></description>
			<content:encoded><![CDATA[<p>Today I lost my best mate, my brother the family dog Oscar Wilson. He left us peacefully in our family home when the vet put him to sleep, after his final play in the <span style="text-decoration: line-through;">park</span> bush with his favourite stick.</p>
<p>I&#8217;ll miss him incredibly as he was such an important part of my life. He will be rembered by his love for sticks, his cheeky yet loving attitude, his un-deniable loyalty and his overall eccentric character. I&#8217;ll miss his growling whilst dragging his bed, his upright wanting to go to the park anytime I put shoes on, his sneeky roams around the neighbour hood (the rangers never got him), his undying love for all his family and being there all the always in times of need.</p>
<p><a href="http://blog.chop.com.au/wp-content/uploads/oscar.jpg"><img class="alignnone size-full wp-image-1295" title="oscar" src="http://blog.chop.com.au/wp-content/uploads/oscar.jpg" alt="" width="670" height="419" /></a></p>
<p>There are soooo many tales to tell about Oscar, he was well known throughout the community</p>
<p>Rest in peace my dearest buddy</p>
<p>Love Leon</p>
<p>Ive made a gellery in memory of <a href="http://www.flickr.com/photos/chop/sets/72157627829927307/">Oscar in my flickr page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2011/10/rip-oscar-26th-december-1995-to-22nd-october-2011/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>XD Visuals HTML website</title>
		<link>http://blog.chop.com.au/2011/07/xd-visuals-html-website/</link>
		<comments>http://blog.chop.com.au/2011/07/xd-visuals-html-website/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 03:10:54 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[Freelance]]></category>
		<category><![CDATA[Graphic Design]]></category>
		<category><![CDATA[Identity]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=1251</guid>
		<description><![CDATA[Just finished a website for Job Wallis at xD Visuals. Comes complete with a customised CMS that is styled as the main website. Built in HTML (no Flash) I used webfonts which are very cool and a billion times more reliable than flash&#8230; ;~ This shows the projects administration page&#8230;.]]></description>
			<content:encoded><![CDATA[<p>Just finished a website for Job Wallis at <a href="http://www.xdvisuals.com">xD Visuals</a>. Comes complete with a customised CMS that is styled as the main website. Built in HTML (no Flash) I used webfonts which are very cool and a billion times more reliable than flash&#8230; ;~</p>
<p><a href="http://blog.chop.com.au/wp-content/uploads/xd_ss_home.jpg"><img class="alignnone size-full wp-image-1271" title="xd_ss_home" src="http://blog.chop.com.au/wp-content/uploads/xd_ss_home.jpg" alt="" width="670" height="481" /></a></p>
<p><a href="http://blog.chop.com.au/wp-content/uploads/xd_ss_admin.jpg"><img class="alignnone size-full wp-image-1261" title="xd_ss_admin" src="http://blog.chop.com.au/wp-content/uploads/xd_ss_admin.jpg" alt="" width="670" height="481" /></a></p>
<p>This shows the projects administration page&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2011/07/xd-visuals-html-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Telegraph Olympics &#8211; [Pitch]</title>
		<link>http://blog.chop.com.au/2011/06/telegraph-olympics-pitch/</link>
		<comments>http://blog.chop.com.au/2011/06/telegraph-olympics-pitch/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 05:57:57 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[Freelance]]></category>
		<category><![CDATA[Graphic Design]]></category>
		<category><![CDATA[illustration]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=1201</guid>
		<description><![CDATA[I&#8217;ve just done some design/illustration work a pitch for my friends over at http://www.caffeinehit.com/. All going to plan there could be 10 different mini games to be designed and illustrated, all to be developed in CSS3 and HTML5.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just done some design/illustration work a pitch for my friends over at <a href="http://www.caffeinehit.com/">http://www.caffeinehit.com/</a>. All going to plan there could be 10 different mini games to be designed and illustrated, all to be developed in CSS3 and HTML5.</p>
<p><a href="http://blog.chop.com.au/wp-content/uploads/interface-crop1.jpg"><img class="alignnone size-full wp-image-1221" title="interface-crop" src="http://blog.chop.com.au/wp-content/uploads/interface-crop1.jpg" alt="" width="650" height="347" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2011/06/telegraph-olympics-pitch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Roo Burger</title>
		<link>http://blog.chop.com.au/2011/06/roo-burger/</link>
		<comments>http://blog.chop.com.au/2011/06/roo-burger/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 23:43:09 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[General Banta]]></category>
		<category><![CDATA[burger]]></category>
		<category><![CDATA[food]]></category>
		<category><![CDATA[kangaroo burger]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=1131</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.chop.com.au/wp-content/uploads/burger1.png"><img src="http://blog.chop.com.au/wp-content/uploads/burger1.png" alt="" title="burger" width="650" height="481" class="alignnone size-full wp-image-1171" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2011/06/roo-burger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Update with join.</title>
		<link>http://blog.chop.com.au/2011/05/sql-update-with-join/</link>
		<comments>http://blog.chop.com.au/2011/05/sql-update-with-join/#comments</comments>
		<pubDate>Fri, 20 May 2011 07:18:30 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[update join]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=1081</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: sql; title: ; notranslate">
UPDATE a INNER JOIN b ON a.id = b.id  SET a.column = b.column
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2011/05/sql-update-with-join/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript onclick=&#8221;return validateForm()&#8221;;</title>
		<link>http://blog.chop.com.au/2011/05/javascript-onclickreturn-validateform/</link>
		<comments>http://blog.chop.com.au/2011/05/javascript-onclickreturn-validateform/#comments</comments>
		<pubDate>Fri, 20 May 2011 02:07:32 +0000</pubDate>
		<dc:creator>chop</dc:creator>
				<category><![CDATA[Code Snippet]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[form check]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[onclick]]></category>

		<guid isPermaLink="false">http://blog.chop.com.au/?p=1051</guid>
		<description><![CDATA[This is the basics for an checking if a Terms and Conditions checkbox has been checked, using javascript.]]></description>
			<content:encoded><![CDATA[<p>This is the basics for an checking if a Terms and Conditions checkbox has been checked, using javascript.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;script&gt;
function validateForm()
    {

 		if(!document.getElementById(&quot;tandc&quot;).checked){
			document.getElementById(&quot;tandc&quot;).focus();
			alert(&quot;You must agree to the terms and conditions&quot;);
			return false;
		}

		return true;
	}
--&gt;
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;input id=&quot;tandc&quot; name=&quot;terms&quot; type=&quot;checkbox&quot; value=&quot;&quot; /&gt;
 &lt;a href=&quot;process.php&quot; onclick=&quot;return validateForm();&quot;&gt;&lt;input type=&quot;button&quot; name=&quot;Submit&quot; value=&quot;Submit&quot; /&gt;&lt;/a&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.chop.com.au/2011/05/javascript-onclickreturn-validateform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

