Recent Additionshttp://www.olmec.co.nz/abode/Recent AdditionsOlmec Sinclair - Personal projects, web design & development experience & life in New Zealanden-usCarbon.org.nzhttp://www.carbon.org.nzDetails: <p><span class="productDetails"><span class="attribute textarea Details"><span class="attValue">Our tree planting program is aimed at helping other individuals and businesses work with us to offset their carbon emissions.</span></span></span></p><br/> Image: carbonOrgLogo.jpg<br/> Website: http://www.carbon.org.nz<br/> http://www.blockhill.co.nzDetails: <span class="productDetails"><span class="attribute textarea Details altRow"><span class="attValue">Eco-friendly rural living, organic<br />gardening and other healthy<br />pursuits.</span></span></span><br/> Image: blockhillLogo.gif<br/> Website: http://www.blockhill.co.nz<br/> Thoughts on Techno-Triumphalism in 2012 'Biblical' Floodhttp://www.olmec.co.nz/abode/getProduct.do/_productId__111102/_siteId__43/method__getProduct/_categoryId__43Details: Our blind faith in technology as a remedy or savior in times of difficulty and challenge.<br /><br />How logical is the expectation that technology will deliver us from the impending catastrophes that face humanity...<br/> Date: 2010-02-03T00:00:00.000+13:00<br/> Image: http://www.armageddononline.org/2012%20joke.jpg<br/> jQuery: Match or target specific elements not containing some other elementDetails: The other day I was working on a project that called for a specific class to be applied to table cells that did not contain input fields.<br /><br />It seemed that jquery was the obvious solution but the exact syntax eluded me until Hamish Dobson pointed me at this:<br /><br /><strong>$('td.classname').filter(<br />&nbsp;&nbsp;&nbsp; function() {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return $("input", this).length == 0;<br />&nbsp;&nbsp; }<br />).addClass('myclass');</strong><br/> Date: 2009-12-11T00:00:00.000+13:00<br/> Dynamically Include JQuery Pluginshttp://www.olmec.co.nz/abode/getProduct.do/_productId__108802/_siteId__43/method__getProduct/_categoryId__43Details: I develop and maintain complex websites that often make use of JQuery technology for improved usability.<br />There are so many useful plugins but not every page requires them all. Rather than slow down the site by loading all the script libraries every time it is possible to dynamically include those that are required for the current page.<br />For example, only include the lightbox plugin for pages where there are images that will make use of it.<br />Sounds simple right... well it should have been.<br/> Date: 2009-11-10T00:00:00.000+13:00<br/> Video Postcardhttp://www.olmec.co.nz/abode/getProduct.do/_productId__106850/_siteId__43/method__getProduct/_categoryId__43Details: A brief video tour of the Sinclair estate in early Spring.<br /><br />This video was created using Pitivi, an open source linux video editor. It's a promising application but currently light on features. As such the sound and video mixing is a little choppy.<br /><br/> Date: 2009-09-01T00:00:00.000+12:00<br/> Image: 2009/postcard.jpg<br/>