<?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>killthemessenger &#187; Web</title>
	<atom:link href="http://killthemessenger.net/blog/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://killthemessenger.net/blog</link>
	<description>Mine is the only advice I ever listen to</description>
	<lastBuildDate>Tue, 02 Nov 2010 00:01:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Google Happy Birthday Logo</title>
		<link>http://killthemessenger.net/blog/photo/google-happy-birthday-logo/</link>
		<comments>http://killthemessenger.net/blog/photo/google-happy-birthday-logo/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 13:23:02 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[birthday]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[logo]]></category>

		<guid isPermaLink="false">http://killthemessenger.net/blog/?post_type=photo&#038;p=522</guid>
		<description><![CDATA[<p><img src="http://killthemessenger.net/blog/wp-content/themes/LightBright/timthumb.php?src=http://killthemessenger.net/blog/wp-content/uploads/2010/10/happybirthdaygoogle.gif&amp;h=200&amp;w=300&amp;zc=1"</p>Turns out on your birthday ol&#8217; Google throws up a nice logo for you.]]></description>
			<content:encoded><![CDATA[<p><img src="http://killthemessenger.net/blog/wp-content/themes/LightBright/timthumb.php?src=http://killthemessenger.net/blog/wp-content/uploads/2010/10/happybirthdaygoogle.gif&amp;h=200&amp;w=300&amp;zc=1"</p><p>Turns out on your birthday ol&#8217; Google throws up a nice logo for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://killthemessenger.net/blog/photo/google-happy-birthday-logo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google TV Website</title>
		<link>http://killthemessenger.net/blog/customlink/google-tv-site-live/</link>
		<comments>http://killthemessenger.net/blog/customlink/google-tv-site-live/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 21:38:44 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Bookmarks]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[googletv]]></category>
		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://killthemessenger.net/blog/?post_type=customlink&#038;p=487</guid>
		<description><![CDATA[<p><img width="300" height="224" src="http://killthemessenger.net/blog/wp-content/uploads/2010/10/screen-capture-1-300x224.png" class="attachment-medium wp-post-image" alt="Google TV Website" title="Google TV" /></p>Google TV&#8217;s website is now live. Check out the tour and videos.<p><a href="http://www.google.com/tv/index.html">Link</a></p>]]></description>
			<content:encoded><![CDATA[<p><img width="300" height="224" src="http://killthemessenger.net/blog/wp-content/uploads/2010/10/screen-capture-1-300x224.png" class="attachment-medium wp-post-image" alt="Google TV Website" title="Google TV" /></p><p><a href="http://killthemessenger.net/blog/wp-content/uploads/2010/10/screen-capture-1.png"><img src="http://killthemessenger.net/blog/wp-content/uploads/2010/10/screen-capture-1-150x150.png" alt="Google TV Website" title="Google TV" width="150" height="150" class="alignleft size-thumbnail wp-image-488" /></a>Google TV&#8217;s website is now live. Check out the tour and videos.</p>
<p><a href="http://www.google.com/tv/index.html">Link</a></p>]]></content:encoded>
			<wfw:commentRss>http://killthemessenger.net/blog/customlink/google-tv-site-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>8bit dreams with Cubescape</title>
		<link>http://killthemessenger.net/blog/2010/09/16/8bit-dreams-with-cubescape/</link>
		<comments>http://killthemessenger.net/blog/2010/09/16/8bit-dreams-with-cubescape/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 18:39:51 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Bookmarks]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[cubescape]]></category>
		<category><![CDATA[experiments]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://killthemessenger.net/blog/?p=411</guid>
		<description><![CDATA[I love Chrome experiments, the Arcade Fire recently launched their own to promote their new album. One fantastic experiment I just came across was Cubescape. It allows you to draw 3D isometric pictures by dropping little blocks, it also allows you to play back the entire process from the beginning. This can be especially fun [...]]]></description>
			<content:encoded><![CDATA[<p>I love Chrome experiments, the <a href="http://www.chromeexperiments.com/arcadefire/">Arcade Fire</a> recently launched their own to promote their new album. One fantastic experiment I just came across was <a href="http://www.chromeexperiments.com/detail/cubescape/">Cubescape</a>. It allows you to draw 3D isometric pictures by dropping little blocks, it also allows you to play back the entire process from the beginning. This can be especially fun if you spend a lot of time creating a complex graphic and want to watch your creation grow.<br />
This is a great use of HTML, CSS and JavaScript. Give it a try, it&#8217;ll blow your mind.<br />
<a href="http://killthemessenger.net/blog/wp-content/uploads/2010/09/cubescape.png"><img src="http://killthemessenger.net/blog/wp-content/uploads/2010/09/cubescape-300x254.png" alt="" title="cubescape" width="300" height="254" class="aligncenter size-medium wp-image-412" /></a></p>
<p><small><a href="http://www.chromeexperiments.com/detail/cubescape/">Cubescape</a> was developed by <a href="http://www.themaninblue.com/ ">Cameron Adams</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://killthemessenger.net/blog/2010/09/16/8bit-dreams-with-cubescape/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE9 Beta</title>
		<link>http://killthemessenger.net/blog/2010/09/16/ie9-beta/</link>
		<comments>http://killthemessenger.net/blog/2010/09/16/ie9-beta/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 16:21:43 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[explorer]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[IE9]]></category>
		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://killthemessenger.net/blog/?p=405</guid>
		<description><![CDATA[Microsoft has released Internet Explorer 9 beta, and quite surprisingly it works well. The interface for IE9 is quite streamlined, less chrome more web. 'm most pleased with the support for HTML5 standards and CSS3 support.]]></description>
			<content:encoded><![CDATA[<p>Microsoft has released Internet Explorer 9 beta, and quite surprisingly it works well. In an early pre-release I was privy to, there was a huge gap in SVG support namely using <a href="http://www.raphaeljs.com">Raphael</a>. The issue may in fact be more of a JavaScript issue after further investigation&#8230; IE9 alpha threw an error because <a href="http://www.raphaeljs.com">Raphael</a> omitted the time parameter on a setTimout call. The beta version accepts the missing paramater.<br />
Suffice it to say, having the code not work in IE9 was a problem and I&#8217;m happy it&#8217;s fixed.</p>
<p>The interface for IE9 is quite streamlined, less chrome more web. I cant help but feel they might be taking a page from Firefox 4&#8242;s book, which could lead to a race to the finish line on a &#8216;who gets it out first came up with the idea&#8217; race. Regardless, competition fosters innovation and we all win in this case.</p>
<p>I&#8217;m most pleased with the support for HTML5 standards and CSS3 support. The <a href="http://nightly.mozilla.org/">Firefox nightly builds</a> are constantly implementing support for newer features (border-radius most recently) and Microsoft is making no excuses here. The<a href="http://ie.microsoft.com/testdrive/"> IE9 test drive</a> page is filled with examples of their support of modern web standards. A far shot from <a href="http://www.chromeexperiments.com/">Chrome&#8217;s experiments</a>, but a noble effort.</p>
<p>What does this mean for the web? It means that developers will now have support of the world&#8217;s #1 browser in the fight to transition to universal web standards. It means consumers will be able to view richer more compelling content. It means Microsoft has finally grown up.</p>
]]></content:encoded>
			<wfw:commentRss>http://killthemessenger.net/blog/2010/09/16/ie9-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back to Delicious</title>
		<link>http://killthemessenger.net/blog/2010/06/10/back-to-delicious/</link>
		<comments>http://killthemessenger.net/blog/2010/06/10/back-to-delicious/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 16:50:19 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[bookmarks]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[delicious]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[tags]]></category>

		<guid isPermaLink="false">http://killthemessenger.net/blog/?p=307</guid>
		<description><![CDATA[There's something to be said for the bookmarks toolbar and it's quick access to frequently used items, and the social aspect of Delicious. I don't think it's too much work to install the extension and use both services, and there's a definite benefit to using both. ]]></description>
			<content:encoded><![CDATA[<p>Since I made the transition to <a href="http://www.google.com/chrome">Chrome</a> from <a href="http://www.firefox.com">Firefox</a>, I forgot about my old friends at <a href="http://www.delicious.com">Delicious</a>. I started getting used to having different sets of bookmarks on different machines, and it didn&#8217;t bother me too much that I&#8217;d have to look up a link again at home (one I might have saved on my work computer). Enter Chrome&#8217;s bookmark syncing, a wonderful way to sync your bookmarks among all of your Chrome browsers simply by being logged in with your Google account. There was one problem though, no social aspect.<br />
One of the reasons I really enjoyed using Delicious was that I could find new links and information daily from friends and complete strangers in the Delicious community. Well, now I&#8217;m using both. There&#8217;s something to be said for the bookmarks toolbar and it&#8217;s quick access to frequently used items, and the social aspect of Delicious. I don&#8217;t think it&#8217;s too much work to install the extension and use both services, and there&#8217;s a definite benefit to using both. The key here is to utilize the plug-in for those links you&#8217;d <em>tweet</em> or <em>buzz</em> or even <em>email</em> to another person, in order to get the most out of it.</p>
<p>Here are a few links for you to get set up.<br />
<strong>At the time of this post, you need the Beta version of Chrome to use extensions.</strong><br />
<a href="http://www.google.com/chrome/eula.html?extra=betachannel">Chrome Beta</a><br />
<a href="https://chrome.google.com/extensions/detail/lnejbeiilmbliffhdepeobjemekgdnok">Delicious Extension</a><br />
<a href="http://www.google.com/support/chrome/bin/answer.py?hl=en&#038;answer=165139">Syncing in Chrome</a></p>
]]></content:encoded>
			<wfw:commentRss>http://killthemessenger.net/blog/2010/06/10/back-to-delicious/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alpha Transparency for PNG’s in IE6</title>
		<link>http://killthemessenger.net/blog/2010/05/05/alpha-transparency-for-pngs-in-ie6/</link>
		<comments>http://killthemessenger.net/blog/2010/05/05/alpha-transparency-for-pngs-in-ie6/#comments</comments>
		<pubDate>Wed, 05 May 2010 21:56:04 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[transparency]]></category>

		<guid isPermaLink="false">http://killthemessenger.net/blog/?p=298</guid>
		<description><![CDATA[&#8220;Internet Explorer 6, I hate you. Alas, I must work to correct you.&#8221; &#8211; Craig McRae If you need to use a 24 bit PNG in IE6 and want it to work, you&#8217;re going to need a little help. First, start by creating a new stylesheet just for IE6, call it &#8216;f**kYouIE6.css&#8217; or whatever you&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p><em>&#8220;Internet Explorer 6, I hate you. Alas, I must work to correct you.&#8221;</em> &#8211; Craig McRae</p>
<p>If you need to use a 24 bit PNG in IE6 and want it to work, you&#8217;re going to need a little help. First, start by creating a new stylesheet just for IE6, call it &#8216;f**kYouIE6.css&#8217; or whatever you&#8217;d like. Then call the css with the following code <strong>after</strong> all of your other CSS calls.</p>
<p><code>&lt;!--[if lt IE 7]&gt;<br />
&lt;link rel="stylesheet" type="text/css" href="css/ie6Blows.css"&gt;<br />
&lt;![endif]--&gt;</code></p>
<p>Then, in your CSS file, add the following property to whatever class/id/object will be using the alpha layer transparency.</p>
<p><code>img {<br />
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader("images/button.png");<br />
}</code></p>
<p><small>please keep in mind, that if you&#8217;re making a website for anybody other than yourself, the aforementioned naming conventions for css files is <strong>strongly</strong> discouraged.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://killthemessenger.net/blog/2010/05/05/alpha-transparency-for-pngs-in-ie6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Certificate Errors</title>
		<link>http://killthemessenger.net/blog/2010/04/13/certificate-errors/</link>
		<comments>http://killthemessenger.net/blog/2010/04/13/certificate-errors/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 05:47:44 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[7]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://killthemessenger.net/blog/?p=294</guid>
		<description><![CDATA[If you're unable to log into GMail or any type of secured site with a legitimate security certificate, ensure your date and time is correct on your machine.]]></description>
			<content:encoded><![CDATA[<p>To save you the trouble and frustration, if you&#8217;re unable to log into GMail or any type of secured site with a legitimate security certificate, ensure your date and time is correct on your machine. Do this by checking your cell phone, or asking someone nearby what the correct &#8216;date and time&#8217; are. My issue happened to be that one of the time servers I was using wasn&#8217;t updating properly, so I switched it and all was well.<br />
If that&#8217;s not your issue, try Windows Update for any new security patches.</p>
<p>Note: This is targeted towards Windows users; this will affect all browsers.</p>
]]></content:encoded>
			<wfw:commentRss>http://killthemessenger.net/blog/2010/04/13/certificate-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>encodeURIComponent (PHP Motion)</title>
		<link>http://killthemessenger.net/blog/2010/02/17/encodeuricomponent-php-motion/</link>
		<comments>http://killthemessenger.net/blog/2010/02/17/encodeuricomponent-php-motion/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 15:46:24 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[encodeURIComponent]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[pair]]></category>
		<category><![CDATA[phpmotion]]></category>
		<category><![CDATA[value]]></category>

		<guid isPermaLink="false">http://killthemessenger.net/blog/?p=281</guid>
		<description><![CDATA[I was having some trouble with comments in phpmotion. Turns out the genius developers over there don&#8217;t understand that not all users of the internet forget how to punctuate. After burrowing deep into the code, I found where the key value pair was being created for the POST. At this point all I needed to [...]]]></description>
			<content:encoded><![CDATA[<p>I was having some trouble with comments in phpmotion. Turns out the genius developers over there don&#8217;t understand that not all users of the internet forget how to punctuate. After burrowing deep into the code, I found where the key value pair was being created for the POST. At this point all I needed to do was convert the special characters in the string.</p>
<p><code>204. url += chiave + "=" + encodeURIComponent(valore) + "&amp;"; <span style="color: #008000;">//encodeURIComponent removes special characters that may break the key/value pair.</span></code></p>
<p>If you enter an apostrophe, it thinks the string has ended. If you enter an ampersand it thinks you&#8217;re joining a new key/value pair. So we just encode those (and all) values that would otherwise break the code.  Pretty simple solution to an annoying problem.</p>
<p>Further documentation: <a href="http://www.w3schools.com/jsref/jsref_encodeURIComponent.asp" target="_blank">W3Schools &#8211; encodeURIComponent</a></p>
]]></content:encoded>
			<wfw:commentRss>http://killthemessenger.net/blog/2010/02/17/encodeuricomponent-php-motion/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Organize Incoming Mail in Outlook 2007</title>
		<link>http://killthemessenger.net/blog/2010/02/16/organize-incoming-mail-in-outlook-2007/</link>
		<comments>http://killthemessenger.net/blog/2010/02/16/organize-incoming-mail-in-outlook-2007/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 20:30:49 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[filtering]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[outlook 2007]]></category>
		<category><![CDATA[rules]]></category>

		<guid isPermaLink="false">http://killthemessenger.net/blog/?p=274</guid>
		<description><![CDATA[A simple way to organize incoming mail in Outlook is by setting up a rule. Recently I was receiving a lot of mail from a specific discussion group at work, and wanted to organize this mail specifically to one folder outside of my Inbox.]]></description>
			<content:encoded><![CDATA[<p><a href="http://killthemessenger.net/blog/wp-content/uploads/2010/02/outlook_rules_3.gif"></a>A simple way to organize incoming mail in Outlook is by setting up a rule. Recently I was receiving a lot of mail from a specific discussion group at work, and wanted to organize this mail specifically to one folder outside of my Inbox.</p>
<p>The first step is to open up the rules window.</p>
<p><a href="http://killthemessenger.net/blog/wp-content/uploads/2010/02/outlook_rules_1.gif"><img class="aligncenter size-medium wp-image-275" title="Outlook Rules 1/3" src="http://killthemessenger.net/blog/wp-content/uploads/2010/02/outlook_rules_1-300x203.gif" alt="" width="300" height="203" target="_blank" /></a></p>
<p>Go to Tools &gt; Rules and Alerts&#8230;</p>
<p><a href="http://killthemessenger.net/blog/wp-content/uploads/2010/02/outlook_rules_2.gif"><img class="aligncenter size-medium wp-image-276" title="Outlook Rules 2/3" src="http://killthemessenger.net/blog/wp-content/uploads/2010/02/outlook_rules_2-300x232.gif" alt="" width="300" height="232" target="_blank" /></a>Create a New Rule&#8230;</p>
<p>The example above is a completed rule, in order to achieve this you will need to select the conditions of your rule.</p>
<p><a href="http://killthemessenger.net/blog/wp-content/uploads/2010/02/outlook_rules_3.gif"><img class="aligncenter size-medium wp-image-277" title="Outlook Rules 3/3" src="http://killthemessenger.net/blog/wp-content/uploads/2010/02/outlook_rules_3-249x300.gif" alt="" width="249" height="300" target="_blank" /></a>Since the incoming mail was sent to a discussion group, I simply select the &#8216;sent to people or distribution list&#8217; option, and below in the <em>Step 2</em> window I click the highlighted links to open up my Global Address Book and select the distribution list (or user if you like). Then select the folder I want it to go to.</p>
<p>Additional options are available in this process, such as marking the item as read. It is important to note that <span style="text-decoration: underline;">these will only work as client side rules</span>, so if you&#8217;re on the road and you&#8217;re receiving emails via your mobile device, the rules will not apply unless you have this machine running and checking for incoming mail.</p>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://killthemessenger.net/blog/2010/02/16/organize-incoming-mail-in-outlook-2007/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Forms in IE vs FF (and the rest)</title>
		<link>http://killthemessenger.net/blog/2010/02/14/forms-in-ie-vs-ff-and-the-rest/</link>
		<comments>http://killthemessenger.net/blog/2010/02/14/forms-in-ie-vs-ff-and-the-rest/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 20:11:16 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[compatability]]></category>
		<category><![CDATA[default]]></category>
		<category><![CDATA[explorer]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[prevent]]></category>
		<category><![CDATA[submission]]></category>
		<category><![CDATA[submit]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://killthemessenger.net/blog/?p=266</guid>
		<description><![CDATA[If you&#8217;re trying to prevent the default action of a form to do some JavaScript validation, or for whatever reason, you may have to make some adjustments for Internet Explorer. The key here is capturing the event and telling it what you want, and not letting the browsers default actions take over. The button on [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re trying to prevent the default action of a form to do some JavaScript validation, or for whatever reason, you may have to make some adjustments for Internet Explorer. The key here is capturing the event and telling it what you want, and not letting the browsers default actions take over.</p>
<p>The button on your form should look something like this:</p>
<p><code>&lt;button id="submit" onclick="validate(event); <span style="color: #ff0000;">return false;</span>"&gt;Send Email&lt;/button&gt;</code> the return false prevents the default action here</p>
<p>The validation code might go something like this:</p>
<p><code>function foo(evt){</code></p>
<p><code>evt = evt || window.event;</code></p>
<p><code>var theform = document.contactForm; <span style="color: #008000;">//this is how I capture my form, by using the form's name</span></code></p>
<p><code><span style="color: #008000;">/* validation code can go here */</span></code></p>
<p><code>if (isvalid){ <span style="color: #008000;">//a test i'm using based on validation requirements</span></code></p>
<p><code>theform.submit();<span style="color: #008000;"> //will submit the form</span><br />
}</code></p>
<p><code><span style="color: #008000;">//the following test will cancel bubbling and default actions across the form, we use this for IE.</span><br />
if (evt.stopPropagation)</p>
<p>evt.stopPropagation();</p>
<p>else</p>
<p></code></p>
<p><code>evt.cancelBubble = true;<br />
</code></p>
<p><code>}</code></p>
<p>Essentially what you&#8217;re doing is stopping the browsers natural reaction to an event, such as clicking the submit button on the form and letting it run through your validation code. The added lines at the bottom prevent certain browsers from continuing on with the default actions even though you&#8217;ve coded <code>return false;</code> in your button click. Thanks Internet Explorer.</p>
<p><small>This is some knowledge dropped on me by my good friend Lawrence. Check <a title="Lawrence O'Sullivan's Website" href="http://lawrence.ecorp.net" target="_blank">his site</a> out for some other useful tips.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://killthemessenger.net/blog/2010/02/14/forms-in-ie-vs-ff-and-the-rest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

