<?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>Graphic Euphoria&#187; browsers</title>
	<atom:link href="http://www.graphic-euphoria.co.uk/tag/browsers/feed" rel="self" type="application/rss+xml" />
	<link>http://www.graphic-euphoria.co.uk</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 12 Oct 2009 14:57:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Detect Internet Explorer 6 (IE6) and other popular browsers with Mootools</title>
		<link>http://www.graphic-euphoria.co.uk/detect-internet-explorer-6-ie6-and-other-popular-browsers-with-mootools</link>
		<comments>http://www.graphic-euphoria.co.uk/detect-internet-explorer-6-ie6-and-other-popular-browsers-with-mootools#comments</comments>
		<pubDate>Thu, 09 Jul 2009 11:43:26 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[mootools]]></category>

		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=280</guid>
		<description><![CDATA[Mootools is a great, stable, open source javascript library which is maintained by a limited number of proffesional developers. It does have a browser detection class built in but it doesn't natively provide a method to detect the version of Internet Explorer.]]></description>
			<content:encoded><![CDATA[One of the top keyword searches on this blog is &#8216;<strong>detect ie6 mootools</strong>&#8216;; As popular as this search term is, it&#8217;s not actually covered, so this post should fill that gap!

<a title="visit mootools.net" href="http://mootools.net/" target="_blank">Mootools </a>is a great, <strong>stable</strong>, <strong>open source javascript librar</strong>y which is maintained by a limited number of proffesional developers. It does have a <strong>browser detection</strong> class built in but it doesn&#8217;t natively provide a method to detect the version of <strong>Internet Explorer</strong>.

The <strong>Mootools </strong>developers are code purists; Extending their browser class would be easy but they do not want to do it. They do provide a method to get the <strong>browser </strong>build and this could be used along with the remaining <strong>browser </strong>string to work out the version. Essentially, they like to keep their code relevant and streamlined.

In a previous post i covered how to <strong><a title="how to detect IE6 with one line of javascript" href="http://www.graphic-euphoria.co.uk/detect-all-versions-of-internet-explorer-6" target="_self">detect IE6</a></strong><a title="how to detect IE6 with one line of javascript" href="http://www.graphic-euphoria.co.uk/detect-all-versions-of-internet-explorer-6" target="_self"> with one line of </a><strong><a title="how to detect IE6 with one line of javascript" href="http://www.graphic-euphoria.co.uk/detect-all-versions-of-internet-explorer-6" target="_self">Javascript</a></strong>. This solves the problem where later builds of <strong>IE6</strong> can show a browser string similar to <strong>IE7</strong>.

This can be combined with the <strong>Mootools </strong>browser class to produce browser variables.
<pre name="code" class="javascript">//declare global variables
var WEBKIT = Browser.Engine.webkit;
var GECKO = Browser.Engine.gecko;
var OPERA = Browser.Engine.presto;
var IE = Browser.Engine.trident;
var IE6 = (navigator.userAgent.toLowerCase().indexOf('msie 6') != -1)
&amp;&amp; (navigator.userAgent.toLowerCase().indexOf('msie 7') == -1);

//test variables (delete)
if(WEBKIT) alert("WEBKIT");
if(GECKO) alert("GECKO");
if(OPERA) alert("OPERA");
if(IE) alert("IE");
if(IE6) alert("IE6");</pre>
Placing this code at the top of your <strong>JavaScript </strong>include will give you simple global  <strong>boolean </strong>variables for each <strong>browser </strong>platform. Creating one variable per <strong>browser </strong>at the very start means the calls to the <strong>browser </strong>class are limited to one and the detection script is ran only once. It also means you have very simple and easy to remember variables to use throughout your code.<script src="http://feeds.feedburner.com/~s/sidonaldson?i=http://www.graphic-euphoria.co.uk/detect-internet-explorer-6-ie6-and-other-popular-browsers-with-mootools" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.graphic-euphoria.co.uk/detect-internet-explorer-6-ie6-and-other-popular-browsers-with-mootools/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Save IE6 &#8211; if only Internet Explorer 6 was as good as this site</title>
		<link>http://www.graphic-euphoria.co.uk/save-ie6-website</link>
		<comments>http://www.graphic-euphoria.co.uk/save-ie6-website#comments</comments>
		<pubDate>Thu, 02 Apr 2009 08:37:55 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[ie]]></category>

		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=215</guid>
		<description><![CDATA[Just like every other web designer i can't wait for Internet Explorer 6 to be gone. There are some people who do not share this view. Maybe IE6 does have some good points. Just maybe it might be worth saving...]]></description>
			<content:encoded><![CDATA[<a title="Save IE6 screenshot" href="http://www.saveie6.com/"><img src="http://www.graphic-euphoria.co.uk/uploads/2009/04/ie6-save.jpg" alt="Save IE6 screenshot" width="600" height="223" /></a>

Just like every other <strong>web designer</strong> <a href="http://www.graphic-euphoria.co.uk/is-ie6-dead-how-much-longer-do-we-have-to-wait">i can&#8217;t wait for Internet Explorer 6 to be gone</a>. There are some people who do not share this view. Maybe <strong>IE6 </strong>does have some good points. Just maybe it might be worth saving&#8230;

visit <a title="visit http://www.saveie6.com/" href="http://www.saveie6.com/" target="_blank">Save IE6</a>

Ha! Tongue is definately in cheek.
Forget about <strong>IE6 </strong>for a second and you are looking at a nice site, it even works perfectly in <strong>IE6</strong>. Check out the download link where you are forced to complete a compatibility test first and then sign the petition.

I&#8217;d like to think the writing is on the wall for <strong>IE6 </strong>and that it won&#8217;t be around for much longer. In that case it really does need your help. Let&#8217;s hope it&#8217;s too late!<script src="http://feeds.feedburner.com/~s/sidonaldson?i=http://www.graphic-euphoria.co.uk/save-ie6-website" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.graphic-euphoria.co.uk/save-ie6-website/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone emulator built with Safari 3</title>
		<link>http://www.graphic-euphoria.co.uk/iphone-emulator-built-with-safari-3</link>
		<comments>http://www.graphic-euphoria.co.uk/iphone-emulator-built-with-safari-3#comments</comments>
		<pubDate>Sun, 22 Feb 2009 23:03:06 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[safari]]></category>

		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=157</guid>
		<description><![CDATA[Ajaxian recently posted a link to blackbaud.com and the release of an iPhone Browser Simulator.

The guys over at blackbaud labs have carefully skinned a full version of safari 3 into a windows compatible program. The iPhone is apparently based on an older version of Safari than the current released one so this provides an excellent way to check your websites compatibility without having to bug your friends who own an iPhone!]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a title="blackbaud labs have released an iPhone emulator for windows" href="http://labs.blackbaud.com/NetCommunity/article?artid=662"><img class="size-full wp-image-158 aligncenter" title="iphone_emulator" src="http://www.graphic-euphoria.co.uk/uploads/2009/02/iphone_emulator.jpg" alt="iphone_emulator" width="397" height="728" /></a></p>

<a title="visit ajaxian.com" href="http://ajaxian.com/archives/windows-iphone-simulator" target="_blank">Ajaxian </a>recently posted a link to <a title="visit blackbaud.com" href="http://labs.blackbaud.com/" target="_blank">blackbaud.com</a> and the release of an <a title="iPhone emulator" href="http://labs.blackbaud.com/NetCommunity/article?artid=662" target="_blank">iPhone Browser Simulator</a>.

The guys over at <strong>blackbaud labs</strong> have carefully skinned a full version of <strong>safari 3</strong> into a <strong>windows </strong>compatible program. The <strong>iPhone </strong>is apparently based on an older version of Safari than the current released one so this provides an excellent way to check your websites <strong>compatibility </strong>without having to bug your friends who own an iPhone!<script src="http://feeds.feedburner.com/~s/sidonaldson?i=http://www.graphic-euphoria.co.uk/iphone-emulator-built-with-safari-3" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.graphic-euphoria.co.uk/iphone-emulator-built-with-safari-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detect ALL versions of internet explorer 6 with one line of javascript!</title>
		<link>http://www.graphic-euphoria.co.uk/detect-all-versions-of-internet-explorer-6</link>
		<comments>http://www.graphic-euphoria.co.uk/detect-all-versions-of-internet-explorer-6#comments</comments>
		<pubDate>Sat, 21 Feb 2009 20:27:26 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[ie]]></category>

		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=135</guid>
		<description><![CDATA[One of the projects i am currently working on required me to determine if the user's browser was Internet Explorer 6 or not.]]></description>
			<content:encoded><![CDATA[One of the projects i am currently working on required me to determine if the user&#8217;s <strong>browser </strong>was <strong>Internet Explorer 6</strong> or not. The website&#8217;s menu came slightly out of alignment by a few pixels. I would normally use a <strong>conditional statement</strong> to add extra <strong>CSS </strong>but since this was a <strong>javascript </strong>menu my choice was limited to one..

..change the variable by a couple of pixels!

After some quick googling i found a way of doing it by using the <strong>user-agent string</strong>.

<a title="visit the future of web design" href="http://www.thefutureoftheweb.com/blog/detect-ie6-in-javascript" target="_blank">The Future of the Web » Detect Internet Explorer 6 in JavaScript</a>

This seemed perfect until i read the comments and stumbled across something. I was already aware that there are several different versions of <strong>IE6 </strong>and <strong>IE7 </strong>in existance but i didn&#8217;t know that some IE7&#8242;s return &#8216;<strong>msie 6</strong>&#8216; as it&#8217;s user string. An oversight by Microsoft perhaps?

Thankfully the user who pointed this out also offered a solution. Kudos to <strong>James King</strong> (comment number 8)!
<pre name="code" class="javascript">var IE6 = (navigator.userAgent.toLowerCase().indexOf('msie 6') != -1)
 &amp;&amp; (navigator.userAgent.toLowerCase().indexOf('msie 7') == -1)</pre><script src="http://feeds.feedburner.com/~s/sidonaldson?i=http://www.graphic-euphoria.co.uk/detect-all-versions-of-internet-explorer-6" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.graphic-euphoria.co.uk/detect-all-versions-of-internet-explorer-6/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is IE6 dead? &#8211; how much longer do we have to wait!</title>
		<link>http://www.graphic-euphoria.co.uk/is-ie6-dead-how-much-longer-do-we-have-to-wait</link>
		<comments>http://www.graphic-euphoria.co.uk/is-ie6-dead-how-much-longer-do-we-have-to-wait#comments</comments>
		<pubDate>Tue, 17 Feb 2009 14:09:54 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[ie]]></category>

		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=121</guid>
		<description><![CDATA[It's a question on every modern, aware, dynamic and forward thinking web designers mind..

Is IE6 dead? - yet?

This site is cool, i have no idea who made it or how they calculate the date, but i hope they are wrong! Get IE6 out now!]]></description>
			<content:encoded><![CDATA[It&#8217;s a question on every <strong>modern</strong>, <strong>dynamic</strong>, <strong>aware </strong>and <strong>forward thinking</strong> <strong>web designers</strong> mind..

<a title="click to view isie6dead.com" href="http://isie6dead.com/" target="_blank">Is IE6 dead?</a> &#8211; yet?

This site is cool, i have no idea who made it or how they calculate the date, but i hope they are wrong! Get <strong>IE6 </strong>out now!<script src="http://feeds.feedburner.com/~s/sidonaldson?i=http://www.graphic-euphoria.co.uk/is-ie6-dead-how-much-longer-do-we-have-to-wait" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.graphic-euphoria.co.uk/is-ie6-dead-how-much-longer-do-we-have-to-wait/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Firefox 3 is here!</title>
		<link>http://www.graphic-euphoria.co.uk/firefox-3-is-here</link>
		<comments>http://www.graphic-euphoria.co.uk/firefox-3-is-here#comments</comments>
		<pubDate>Sat, 14 Feb 2009 01:53:23 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.graphic-euphoria.co.uk/?p=37</guid>
		<description><![CDATA[After months and months of hard work the peeps over at Mozilla.org have released the latest copy of Firefox. If you haven’t heard of Firefox before WHERE HAVE YOU BEEN? It is the best independently developed compliant browser in the world.. FACT!]]></description>
			<content:encoded><![CDATA[<a title="Click here to download firefox 3" href="http://www.mozilla.com/en-US/" target="_blank"><img src="http://www.graphic-euphoria.co.uk/uploads/images/june_08/firefox-wordmark-horizontal.png" alt="Firefox 3 is released!" /></a>
<h3><strong>Firefox</strong> &#8211;  a compliant browser</h3>
After months and months of hard work the peeps over at <a title="Click to view Mozilla.org" href="http://www.mozilla.org/" target="_blank">Mozila.org</a> have released the latest copy of <a title="Click to download firefox 3" href="http://www.mozilla.com/en-US/" target="_blank">Firefox</a>. If you haven’t heard of Firefox before <strong>WHERE HAVE YOU BEEN?</strong> It is the <strong>best independently developed compliant browser</strong> in the world.. FACT!

In a world dominated by <a title="Microsoft sucks" href="http://www.youtube.com/watch?v=wR1OOqaefws" target="_blank">Microsoft</a>, and their policy of ignoring any <strong>web design standards</strong>, Firefox offers a breath of fresh air. It is fully <strong>compliant </strong>to <a title="Click here to find out about W3C standards" href="http://www.w3.org/" target="_blank">W3C standards</a> and fully supports CSS 2. <a title="Click here to view css3.info and find out about firefox 3.1" href="http://www.css3.info/firefox-developers-accelerate-css-implementation/" target="_blank">Version 3.1 will offer even more and will start supporting <strong>CSS 3 selectors!</strong></a>.

It also supports open source <strong>plugins</strong>, <strong>themes </strong>and of course <strong>add-ons</strong> such as <strong>Flash </strong>or <strong>Java</strong>. It even now supports things like the <a title="Click to visit turntool.com" href="http://www.turntool.com/" target="_blank">Turntool Viewer</a>. Added together with the auto-install and update features it is easy to keep up to date with the newest releases.

Basically to sum up… Firefox works and it makes the web look <strong>beautiful </strong>again. If you’re not a fancy dan with your lovely purrrdy mac then you need to install this!
<h3>Plugins &#8211; browser heaven</h3>
One of the best features of <strong>Firefox </strong>is the ability to install <strong>plugins </strong>which enhance your net use. As a <strong>web developer</strong> these plugins are even more fantastic as they can cut development time, help find bugs and generally make your day to day job easier.

Some of the plugins that i use include:

<a title="Click here to download the Web Developer plugin" href="https://addons.mozilla.org/en-US/firefox/addon/60" target="_blank">Web Developer</a> &#8211; This tool bar is so useful i almost forgot it was a plugin. It has an amazing array of features, too many to list, each one is super useful. I guess the best ones would be disabling CSS or Javascript or Flash, cookies, forms, images, displaying meta info, clearing the browser cache, outlining elements, resizing the window, viewing source code in colour and validating your code.

<a title="Click here to download the Firebug plugin" href="https://addons.mozilla.org/en-US/firefox/addon/1843" target="_blank">Firebug</a> &#8211; this plugin allows you to edit html, CSS, Javascript ‘LIVE’ in a web page. The results are show in the browser and if you have ftp support you can even save the edited file. This is great for correcting CSS bugs or layout issues. Another great feature is its debugging tool, if you write any form of JavaScript you will find this feature irreplaceable!

<a title="Click here to download the Colorzilla plugin" href="https://addons.mozilla.org/en-US/firefox/addon/271" target="_blank">ColorZilla</a> &#8211; This tool has more features that you might think! The two main ones that I use are the colour dropper tool which allows you to sample a colour from anywhere within a web page, and the outline tool which displays a dashed red line around all elements. This is especially useful when designing CSS layouts as you can view divs and other elements.

<a title="Click here to download the Screengrab! plugin" href="https://addons.mozilla.org/en-US/firefox/addon/1146" target="_blank">Screengrab!</a> &#8211; Anther simple but great tool! It simply allows you to screen capture a web page and either output a png file or copy it to your clipboard where you can then paste it into your authoring software. This is especially useful as it can screen grab the whole web page and not just the visible partition.

<a title="Click here to download the ViewSourceWith plugin" href="https://addons.mozilla.org/en-US/firefox/addon/394" target="_blank">ViewSourceWith</a> &#8211; A simple idea but nether-the-less immensely useful. View the web pages source directly in your authoring software ie Dreamweaver!

<a title="Click here to download the Live HTTP headers plugin" href="https://addons.mozilla.org/en-US/firefox/addon/3829" target="_blank">Live HTTP headers</a> &#8211; This plugin displays your web sites live HTTP header requests are they are sent and received.

<a title="Click here to download the Tamper Data plugin" href="https://addons.mozilla.org/en-US/firefox/addon/966" target="_blank">Tamper Data</a> &#8211; If you should want to do such a thing as tamper with your HTTP headers then this is the plugin for you. Just start it up and it intercepts all the headers, you then edit them and submit away!!

<a title="Click here to download FireFTP plugin" href="https://addons.mozilla.org/en-US/firefox/addon/684" target="_blank">FireFTP</a> &#8211; Turn Firefox into a ftp client

<a title="Click here to download the GSpace plugin" href="https://addons.mozilla.org/en-US/firefox/addon/1593" target="_blank">GSpace</a> &#8211; You will never need your USB key fob again. This uses gmail as a ftp remote folder. You can upload anything directly to your gmail inbox. It will use the gmail mp3 player to stream mp3’s and you can view images by thumbnail. One downside is gmails 19mb cap per upload but you can split your files. One bonus.. my 6gig gmail account!

<a title="Click here to download the English Dictionary plugin" href="https://addons.mozilla.org/en-US/firefox/addon/3366" target="_blank">English Dictionary</a> &#8211; Speaks for itself. Right click a misspelt word and just select the right one. Bing bang bosh

<a title="Click here to download the Piclens plugin" href="https://addons.mozilla.org/en-US/firefox/addon/5579" target="_blank">PicLens</a> &#8211; A 3D virtual wall for displaying photo albums and videos. The sites have to be compatible but with flickr, facebook and myspace in the loop it’s a winner already

<a title="Click here to download the Download status bar plugin" href="https://addons.mozilla.org/en-US/firefox/addon/26" target="_blank">Download Status Bar</a> &#8211; If the download pop-up annoys you this is what you need. It integrates the download status into you status bar and has many extra features to make downloading a neat and tidy business.

So first impressions are good. The interface is smart but clean. Everything seems to work. I guess this is what it must be like to own a mac!<script src="http://feeds.feedburner.com/~s/sidonaldson?i=http://www.graphic-euphoria.co.uk/firefox-3-is-here" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.graphic-euphoria.co.uk/firefox-3-is-here/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
