<?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>stephen&#039;s blog &#187; Web Development</title>
	<atom:link href="http://stephengentle.com/blog/tag/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://stephengentle.com/blog</link>
	<description>i like computers</description>
	<lastBuildDate>Thu, 10 Jun 2010 09:24:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>I hate people that use javascript: in links!</title>
		<link>http://stephengentle.com/blog/tech/i-hate-people-that-use-javascript-in-links/</link>
		<comments>http://stephengentle.com/blog/tech/i-hate-people-that-use-javascript-in-links/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 05:27:18 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://stephengentle.com/blog/?p=151</guid>
		<description><![CDATA[Seriously. It&#8217;s just plain annoying, and it&#8217;s bad practice. Time and time again, I go and read an article, which has a few little pictures. Now, when we click a link, we expect it to open in the window (or tab) that we&#8217;re currently on. So instead of clicking an image, I&#8217;ll middle click it [...]]]></description>
			<content:encoded><![CDATA[<p>Seriously. It&#8217;s just plain annoying, and it&#8217;s bad practice. Time and time again, I go and read an article, which has a few little pictures. Now, when we click a link, we expect it to open in the window (or tab) that we&#8217;re currently on. So instead of clicking an image, I&#8217;ll middle click it to open it in a new tab for viewing after I&#8217;m finished reading the page. </p>
<p><strong>What should happen</strong> is that I have a few tabs showing the full image in them. What <em>often does happen</em> though is that instead, I have four or five tabs with blank pages and <em>javascript:show_image_popup(&#8230;) </em> or something in the address bar. It&#8217;s now very irritating to have to go back and find the article if I want to actually see the pictures.</p>
<p><strong>So don&#8217;t ever do this:</strong><br />
<code><span class="e">&lt;a</span> <span class="an">href</span><span class="a">=&quot;javascript:show_image_popup('lolcat.jpg')</span>&quot;<span class="e">&gt; ... &lt;/a&gt;</span></code></p>
<p><strong>The right way</strong><br />
<code><span class="e">&lt;a</span> <span class="an">href</span><span class="a">=&quot;lolcat.jpg&quot;</span> <span class="an">onclick</span><span class="a">=&quot;show_image_popup('lolcat.jpg')&quot;</span><span class="e">&gt; ... &lt;/a&gt;</span></code><br />
Notice that the link actually points to the picture now? This way, when I open the link in a new window, or a new tab, I actually see what I want to see &#8211; the picture. If I just normally click it though, the javascript runs and you can pop up your annoying image window. Now, I hear you asking &#8220;but won&#8217;t the browser navigate away from this page if the link is set to the picture?&#8221;. The answer is no, as long as you <em>make sure your javascript function returns false</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://stephengentle.com/blog/tech/i-hate-people-that-use-javascript-in-links/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New Site for Symmetry</title>
		<link>http://stephengentle.com/blog/news/new-site-for-symmetry/</link>
		<comments>http://stephengentle.com/blog/news/new-site-for-symmetry/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 11:46:11 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://stephengentle.com/blog/?p=97</guid>
		<description><![CDATA[I recently made a new website for my operating system project, Symmetry. The old site I was using for it was basically just the default WordPress theme with a slightly different header image. The new site is a completely custom theme that I made, and I think it is a lot simpler and cleaner. I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sos.joox.net"><img src="/media/blog/symmetry.png" alt="Symmetry Web Site" /></a></p>
<p>I recently made a new website for my operating system project, Symmetry. The old site I was using for it was basically just the default WordPress theme with a slightly different header image. The new site is a completely custom theme that I made, and I think it is a lot simpler and cleaner.</p>
<p>I also did a bit of re-branding as well. Although the project has retained its logo, I made up a new name for it &#8211; Symmetry. I had been wanting to change the name for a while, but never got around to it until I decided to sign up for free Git hosting at <a href="http://gitorious.org/">Gitorious</a>. It was a bit of a spur of the moment thing &#8211; I needed to put in a project name, so I thought for a few seconds and came up with Symmetry. It fits in with the old logo, and the old name can be used as an abbreviation &#8211; Symmetry Operating System (sos).</p>
]]></content:encoded>
			<wfw:commentRss>http://stephengentle.com/blog/news/new-site-for-symmetry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated Blog</title>
		<link>http://stephengentle.com/blog/news/updated-blog/</link>
		<comments>http://stephengentle.com/blog/news/updated-blog/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 13:22:40 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://stephengentle.com/blog/?p=84</guid>
		<description><![CDATA[I have updated the blog to the newest version of WordPress recently. In fact, I am running the bleeding edge version from the Subversion repository. So now when I need to upgrade, all that should be required is SSHing into the server and doing an svn up in the directory. You&#8217;ll also notive that I [...]]]></description>
			<content:encoded><![CDATA[<p>I have updated the blog to the newest version of WordPress recently. In fact, I am running the bleeding edge version from the Subversion repository. So now when I need to upgrade, all that should be required is SSHing into the server and doing an svn up in the directory.</p>
<p>You&#8217;ll also notive that I moved the blog out of its own subdomain, and into the main site. I think its better this way, and makes it easier to keep all the images and media together.</p>
<p>And finally, I hope you like the new design! I have been working on the new site for a while now, and I think that it is much improved from the old version.</p>
]]></content:encoded>
			<wfw:commentRss>http://stephengentle.com/blog/news/updated-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
