<?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>Absolute Banter &#187; Programming Tips</title>
	<atom:link href="http://www.absolute-advantage.net/banter/categories/programming-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.absolute-advantage.net/banter</link>
	<description>We *heart* the Internet.</description>
	<lastBuildDate>Thu, 25 Mar 2010 08:57:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Our jQuery Love Child &#8211; Mint Innovation</title>
		<link>http://www.absolute-advantage.net/banter/2009/09/our-jquery-love-child-mint-innovation/</link>
		<comments>http://www.absolute-advantage.net/banter/2009/09/our-jquery-love-child-mint-innovation/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 16:07:34 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Programming Tips]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[creative design]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://absolute-advantage.net/banter/?p=114</guid>
		<description><![CDATA[Our recent web design project called for something different. Something with a bit of pizazz and flare. Now convention would turn straight to flash for the visual effects but here at Absolute Advantage we try not to. With the seemingly endless array of visual effects, sites made entirely from Flash suffer from too many downsides. [...]]]></description>
			<content:encoded><![CDATA[<p>Our recent web design project called for something different. Something with a bit of pizazz and flare. Now convention would turn straight to flash for the visual effects but here at Absolute Advantage we try not to. With the seemingly endless array of visual effects, sites made entirely from Flash suffer from too many downsides. We won&#8217;t go into them now but you can find some very good info at <a title="flash sites disadvantages" href="http://www.moongrabber.com/web-design/why-flash-based-websites-are-bad">Moongrabber</a> and <a title="Flash SEO" href="http://www.seoblogr.com/seo/flash-and-seo-is-flash-still-bad-for-your-website/">SeoBlogr</a> on the disadvantages of Flash only sites.</p>
<div class="wp-caption aligncenter" style="width: 540px"><a href="http://www.mintinnovation.com"><img title="Mint Innovation by Absolute Advantage" src="http://absolute-advantage.net/banter/wp-content/uploads/2009/09/mint1.png" alt="Mint Innovation by Absolute Advantage" width="530" height="332" /></a><p class="wp-caption-text">Mint Innovation by Absolute Advantage</p></div>
<p>So when you want stunning visual effects without using Flash, where do you turn. jQuery is the answer. The Mint Innovation project  uses a collection of jQuery effects together to bring the look and feel of a Flash based site.</p>
<h3>1. jQuery Coda Slider</h3>
<p>Based on the <a href="http://www.ndoherty.com/demos/coda-slider/1.1.1/">Niall Doherty coda slider</a> effect, the moving business card on Mint Innovation forms the foundation for the site. Using jQuery and cods-slider.js it allows left and right scrolling along with cross links to scroll to any page from any part of the site.</p>
<p style="text-align: center;">
<p style="text-align: center;"><a href="http://www.ndoherty.com/blog/category/coda-slider"><img class=" aligncenter" title="Coda Slider" src="http://www.ndoherty.biz/wp-content/uploads/2007/09/coda-slider.png" alt="Coda Slider by Nial Dohery" width="450" height="298" /></a></p>
<p><a title="coda slider jquery" href="http://www.ndoherty.com/demos/coda-slider/1.1.1/coda-slider.1.1.1.zip">Download Coda Slider Pack</a><br />
<a href="http://jqueryfordesigners.com/coda-slider-effect/">Alternative Coda Slider documentation</a></p>
<h3>2. jQuery Unobtrusive Tabs</h3>
<p style="text-align: left;">Within the sliding panels we utilised another jQuery function &#8211; jquery.tabs.js. Based on the <a href="http://stilbuero.de/jquery/tabs/">Unobtrusive Tabs</a> by <a href="http://www.stilbuero.de/">Klaus Hartl</a>, the jquery tabs plugin allows us to dynamically load tabbed content within the page. For added effect we used the on click fade for transition.</p>
<p style="text-align: left;">
<p style="text-align: left;">
<div class="wp-caption aligncenter" style="width: 540px"><a href="http://absolute-advantage.net/website-design-portfolio.html"><img title="jQuery tabs within coda slider panel" src="http://absolute-advantage.net/banter/wp-content/uploads/2009/09/mint2.png" alt="jQuery tabs within coda slider panel" width="530" height="334" /></a><p class="wp-caption-text">jQuery tabs within coda slider panel</p></div>
<p style="text-align: left;">
<p style="text-align: center;">
<p><a href="http://stilbuero.de/jquery/tabs/jquery.tabs.zip">Download the jQuery Tabs files</a><br />
<a href="http://www.stilbuero.de/2006/05/13/accessible-unobtrusive-javascript-tabs-with-jquery/">Read the documentation</a></p>
<h3>3. jQuery Innerfade</h3>
<p>The transitioning effect you see on the first page of the panel could have easily been achieved with an animated gif. However, that wouldn&#8217;t offer us the same amount of flexibility as using jQuery. Additionally, it reduces the sizes of the image files on an already very busy page.</p>
<p>The<a title="jquery innerfade" href="http://medienfreunde.com/lab/innerfade/"> Innerfade with jQuery</a> offers you the ability to dynamically tweak the fade type, speed, pause, and even create hyperlinks from each separate image in the transition.</p>
<p><a title="jquery innerfade" href="http://medienfreunde.com/lab/innerfade/">Download the jQuery innerfade package<br />
View documentation on the jQuery innerfade</a></p>
<h3>4. jQuery No Conflict</h3>
<p>Now with all this loading of jQuery going on there is bound to be some conflicts in the coding. This is where <a href="http://docs.jquery.com/Core/jQuery.noConflict">jQuery No Conflict</a> comes in. This neat function allows you to switch the $ variable on conflicting scripts.</p>
<p id="line1">See our previous post on <a title="jquery conflict solution" href="http://absolute-advantage.net/banter/2009/07/jquery-running-slow-with-conflicting-scripts-a-solution/">jQuery Running Slow with Conflicting Scripts &#8211; A Solution</a><br />
See the <a href="http://docs.jquery.com/Core/jQuery.noConflict">jQuery No Conflict documentation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.absolute-advantage.net/banter/2009/09/our-jquery-love-child-mint-innovation/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Designing HTML for Email Campaigns &#8211; Tips and Tricks [Part 1]</title>
		<link>http://www.absolute-advantage.net/banter/2009/07/designing-html-for-email-campaigns-tips-and-tricks-part-1/</link>
		<comments>http://www.absolute-advantage.net/banter/2009/07/designing-html-for-email-campaigns-tips-and-tricks-part-1/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 17:13:57 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Email Marketing]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Programming Tips]]></category>
		<category><![CDATA[Email Campaign]]></category>
		<category><![CDATA[Internet Marketing]]></category>

		<guid isPermaLink="false">http://absolute-advantage.net/banter/?p=61</guid>
		<description><![CDATA[HTML email campaigns are here to stay. With recent announcements from Microsoft claiming that they are basing Outlook&#8217;s HTML content on a MS Word layout, the need design specifically for emails is more important than ever before. Too many people assume that designing HTML emails is just the same as designing a web page &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>HTML email campaigns are here to stay. With recent announcements from Microsoft claiming that they are basing Outlook&#8217;s HTML content on a MS Word layout, the need design specifically for emails is more important than ever before. Too many people assume that designing HTML emails is just the same as designing a web page &#8211; it&#8217;s not. I even have clients that ask me to send an email based on one of their pages on their current site and are shocked about the amount of work that is involved.</p>
<p><a href="http://www.gopomelo.com"><img src="http://absolute-advantage.net/banter/wp-content/uploads/2009/07/gopomelo_mailer.png" alt="Email Campaign GoPomelo" /></a></p>
<p>There are a plethora of factors that you need to consider when designing HTML emails that actually do their job &#8211; get to the recipient and get the message across. The list below is by no means exhaustive but it should put you in good stead.<br />
</br></br><br />
<h1></h1>
<h2>1. Size Matters</h2>
<p>You&#8217;ve designed your HTML content, previewed it in your favourite web browser and it looks fantastic. Well, sorry to burst your bubble. The truth is, most of us read our emails in preview panes and windows half or a quarter of the size of a normal web page. Designing a HTML email for a 1024&#215;768 window will not display well in most email clients.</p>
<p>As a rule of thumb I try to keep the width of the template as narrow as possible without spoiling the look of the email. Most email preview panes are scrollable which means that the height is less of an issue.</p>
<p><strong>Tip: Keep the width of your template quite narrow.<br />
Trick: Center your content so it looks fine in both wide and narrow readers.</strong></p>
<p><strong><br />
</strong></p>
<h2>2. Pretend it&#8217;s 1998 &#8211; Tables Rule, CSS Positioning is Gibberish!</h2>
<p>For all you CSS lovers and web designers out there, I&#8217;m sure that you&#8217;ll agree that it hurts when you are forced to regress into old standards and markup. Well unfortunately, when designing HTML emails you have to do exactly that.</p>
<p>Firstly, you should have seen that attaching a CSS document isn&#8217;t possible. Why don&#8217;t you stick it in the document head tags, I hear you say. Well, this does work &#8211; sometimes. We can use CSS to style the content of the page, however it must be put inline if it is to work properly in email clients. This makes most web designers shudder at the thought but if you want your styling to be displayed in all the different email clients this is the only way to go. And yes, it does mean repeating that styling for your page links!<br />
</br><br />
<img src="http://absolute-advantage.net/banter/wp-content/uploads/2009/07/inline_style.png" alt="Email Campaign Inline styling" /><em><br />
Ugly, but it works</em><br />
</br><br />
CSS positioning is a big no no when designing for HTML emails. You have to imagine you&#8217;re designing for Internet Explorer 5 &#8211; imbrace those sloppy, untidy tables. It will save you heaps of headaches in the long run. Having your divs display differently in 10 email clients is a problem we can all do without.</p>
<p><strong>Tip: Use tables to define your layout.<br />
Trick: Use CSS to style inline, not on a stylesheet or in the header.</strong></p>
<p><strong><br />
</strong></p>
<h2>3. Image to Text Ratio</h2>
<p>Too many images compared to the amount of text is quite hazardous. Spam filters tend to flag image heavy emails. It seems natural to create a flyer style image and then send that as an email. Without any text, it is more likely that the email will be rejected by SPAM filters.</p>
<p>A lot of email clients deactivate images as standard. An email with just one image &#8216;e-flyer&#8217; would get no message across in these cases.</p>
<p><strong>Tip: Use small images and avoid filling the email with an image e-flyer.<br />
Trick: If you don&#8217;t have much text to fill the email with don&#8217;t use more than one or two images.</strong></p>
<p><strong><br />
</strong></p>
<h2>4. Don&#8217;t rely on images to get your message across.</h2>
<p>As already said most email clients don&#8217;t necessarily display the images by default. Gmail, yahoo, and the like de-activate images as standard. It&#8217;s not only until the user clicks &#8216;activate images&#8217; that they will get displayed.</p>
<p>This means that if you use images to display text then your message will not get across. Additionally, if the layout of your email relys too heavily on images then it may look silly when they are de-activated. To test how your email looks without images use the <a title="web design toolbar" href="https://addons.mozilla.org/en-US/firefox/addon/60" target="_blank">Web Developer</a> add-on for Firefox and select de-activate images. If it doesn&#8217;t make sense without the images you need a re-design.</p>
<p><img src="http://absolute-advantage.net/banter/wp-content/uploads/2009/07/gmail.png" alt="" /></p>
<p><strong>Tip: Don&#8217;t rely on images to get the message across.<br />
Trick: Test the HTML with images deactivated to see how it would appear without images.</strong></p>
<p><strong><br />
</strong></p>
<h2>5. Use the image &#8220;alt&#8221; tag to good effect.</h2>
<p>If you&#8217;re images aren&#8217;t necessarily going to get displayed using the alt tag is essential. This will be the text displayed instead of the image. To take it a step further, you can even style this text by using the style settings for font and background within the image tags. For example,</p>
<div class="code"><code> &lt;img src="myimage.jpg" alt="Image Alternate Text" style="font-family: Arial; font-size:14px; color:#FF000; background: #000; padding:3px" /&gt;</code></div>
<p>will display</p>
<p><img style="font-family: Arial; font-size:14px; color:#FFFFFF; background: #000; padding:3px" src="myimage.jpg" alt="Image Alternate Text" /></p>
<p>when the image myimage.jpg is not displayed.</p>
<p><strong>Tip: Always use the alt tag within images.<br />
Trick: Use the style element to manipulate how alt text and background is displayed when images are deactivated.</strong></p>
<p><strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.absolute-advantage.net/banter/2009/07/designing-html-for-email-campaigns-tips-and-tricks-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Running Slow with Conflicting Scripts &#8211; A Solution</title>
		<link>http://www.absolute-advantage.net/banter/2009/07/jquery-running-slow-with-conflicting-scripts-a-solution/</link>
		<comments>http://www.absolute-advantage.net/banter/2009/07/jquery-running-slow-with-conflicting-scripts-a-solution/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 17:11:27 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Programming Tips]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Solutions]]></category>

		<guid isPermaLink="false">http://absolute-advantage.net/banter/?p=68</guid>
		<description><![CDATA[In a recent website build I wanted to incorporate two different ]]></description>
			<content:encoded><![CDATA[<p>In a recent website build I wanted to incorporate two different <a href="http://jquery.com/>jQuery</a> effects on the same page. To be more specific I was using a <a href="http://jqueryfordesigners.com/coda-slider-effect/">coda style slider</a> and the <a href="http://stilbuero.de/jquery/tabs/">jQuery tabs</a> effect together. Although they worked, when running them together on the same page they ran sluggish and the effects rendered slowly. The chaps woking on jQuery have built a quick fix for this exact problem.</p>
<p>The jQuery.noConflict(); solves this very neatly. Here&#8217;s how to implement it:</p>
<p>1. Insert the following in your header with the other scripts. This is basically saying that the variable J is replacing the $ due to the conflict.</p>
<div class="code">
&lt;script language=&#8221;javascript&#8221; type=&#8221;text/javascript&#8221;&gt;<br />
var J = jQuery.noConflict();<br />
&lt;/script&gt;
</div>
<p>2. Open one of the conflicting scripts and replace all instances of $ with the variable J. Use a find and replace tool for speed.</p>
<p>3. Save the script and refresh the page. The scripts should run cleanly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.absolute-advantage.net/banter/2009/07/jquery-running-slow-with-conflicting-scripts-a-solution/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Displaying your wordpress blog posts on another site</title>
		<link>http://www.absolute-advantage.net/banter/2009/06/displaying-your-wordpress-blog-posts-on-another-site/</link>
		<comments>http://www.absolute-advantage.net/banter/2009/06/displaying-your-wordpress-blog-posts-on-another-site/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 18:24:33 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Programming Tips]]></category>
		<category><![CDATA[Feedburner]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://absolute-advantage.net/banter/?p=54</guid>
		<description><![CDATA[Displaying your posts on an external site doesn&#8217;t have to involve time-sapping programming. All wordpress and indeed most blogging sites come with RSS feeds as standard. Why not use these to display a summary of your recent posts on other sites just like the one on Absolute Advantage homepage

In fact, if you really want to [...]]]></description>
			<content:encoded><![CDATA[<p>Displaying your posts on an external site doesn&#8217;t have to involve time-sapping programming. All wordpress and indeed most blogging sites come with RSS feeds as standard. Why not use these to display a summary of your recent posts on other sites just like the one on <a href="http://absolute-advantage.net">Absolute Advantage homepage</a></p>
<p><img src="http://absolute-advantage.net/banter/wp-content/themes/lightword/images/feedburner.png" alt="adding a blog summary to another site" /></p>
<p>In fact, if you really want to get the most out of your blog you should be using <a href="http://feedburner.google.com">Feedburner</a> anyway. Feedburner, now owned by Google offer a neat service called BuzzBoost. BuzzBoost republishes your burned feed&#8217;s content as HTML you can use on any other site. You can adjust the settings within the Feedburner account and create CSS classes to adjust the way it displays.</p>
<p>Some helpful links&#8230;<br />
<a href="http://feedburner.google.com">Google Feedburner</a></br><br />
<a href="http://www.google.com/support/feedburner/bin/answer.py?answer=78991">Styling the appearance of BuzzBoost</a></br></p>
]]></content:encoded>
			<wfw:commentRss>http://www.absolute-advantage.net/banter/2009/06/displaying-your-wordpress-blog-posts-on-another-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Magento on XAMPP and MAMP for Mac OS X</title>
		<link>http://www.absolute-advantage.net/banter/2009/06/using-magento-on-xampp-and-mamp-for-mac-os-x/</link>
		<comments>http://www.absolute-advantage.net/banter/2009/06/using-magento-on-xampp-and-mamp-for-mac-os-x/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 16:33:08 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Programming Tips]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[MAMP]]></category>
		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://localhost:8888/wordpress/?p=3</guid>
		<description><![CDATA[I was recently testing Magento Commerce on the Mac and went through an afternoon of headaches trying to get it to work on XAMPP.
Problem: When using XAMPP on mac os x the following message appears:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently testing Magento Commerce on the Mac and went through an afternoon of headaches trying to get it to work on XAMPP.</p>
<p>Problem: When using XAMPP on mac os x the following message appears:</p>
<div class="code">
<strong>Internal Server Error</strong></p>
<p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p>
<p>Please contact the server administrator,  you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p>
<p>More information about this error may be available in the server error log.
</p></div>
<p>Solution: Use MAMP instead.</p>
<p>That really is it. When I installed the file system on the MAMP powered apache server it worked fine the first time.</p>
<p><a title="MAMP for Mac Homepage" href="http://www.google.co.th/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fwww.mamp.info%2F&amp;ei=OwJBSuyJDseLkAWPr-DsCA&amp;usg=AFQjCNE3Eeh78-JAsRygzNjtPVbj-miJkQ&amp;sig2=jWk-1jAbBzRx7TRkIZU4CA">MAMP for Mac OS X</a></p>
<p><a title="xampp for mac homepage" href="http://www.apachefriends.org/en/xampp-macosx.html">XAMPP for Mac OS X</a></p>
<p><a title="Magento Commerce Homepage" href="http://www.magentocommerce.com/">Magento Commerce Homepage</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.absolute-advantage.net/banter/2009/06/using-magento-on-xampp-and-mamp-for-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
