<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Edd Turtle</title>
	
	<link>http://www.eddturtle.co.uk</link>
	<description>Helping the World One Website at a Time</description>
	<lastBuildDate>Wed, 22 Feb 2012 14:47:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/EddTurtle" /><feedburner:info uri="eddturtle" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>CSS Speech Bubbles &amp; Triangles</title>
		<link>http://feedproxy.google.com/~r/EddTurtle/~3/qVJX8k-dVAg/</link>
		<comments>http://www.eddturtle.co.uk/2012/css-speech-bubbles-triangles/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 14:03:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS & HTML]]></category>
		<category><![CDATA[after]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[selector]]></category>
		<category><![CDATA[speech bubbles]]></category>
		<category><![CDATA[triangles]]></category>

		<guid isPermaLink="false">http://www.eddturtle.co.uk/?p=336</guid>
		<description><![CDATA[You may have seen various types of speech bubbles across the web, some use images and others use pure CSS to create this effect. In this article we will be looking at how you can create a triangle with CSS and how you can use this triangle to then create simple speech bubbles. Photo by [...]]]></description>
			<content:encoded><![CDATA[<img src="http://www.eddturtle.co.uk/wp-content/uploads/2012/02/speech.jpg" alt="Speech Bubbles by StreetFly JZ" title="Speech Bubbles by StreetFly JZ" width="638" class="alignnone size-full wp-image-340 coverPhoto" />
<p>You may have seen various types of speech bubbles across the web, some use images and others use pure CSS to create this effect. In this article we will be looking at how you can create a triangle with CSS and how you can use this triangle to then create simple speech bubbles.</p>

<p>Photo by <a href="http://www.flickr.com/photos/streetfly_jz/2787709166/" target="_blank">StreetFly JZ</a>.</p>

<span id="more-336"></span>

<h2>Triangles</h2>

<p>The basics of CSS triangles is illustrated brilliantly by both <a href="http://css-tricks.com/snippets/css/css-triangle/" target="_blank">CSS-Tricks</a> and <a href="http://davidwalsh.name/css-triangles" target="_blank">Dave Walsh</a>. Triangles basically consist of an element with zero width and height, a single large border and two transparent borders &#8211; so shown in the example below.</p>

<h4>HTML</h4>
<pre class="prettyprint">
&lt;div class="triangle"&gt;&lt;/div&gt;
</pre>

<h4>CSS</h4>
<pre class="prettyprint">
.triangle
{
	width: 0;
	height: 0;
	border-top: 25px solid transparent;
	border-bottom: 25px solid transparent;

	border-left: 25px solid MediumVioletRed;
}
</pre>

<h4>Demo</h4><br />
<style>
.triangle
{
	width: 0;
	height: 0;
	border-top: 25px solid transparent;
	border-bottom: 25px solid transparent;

	border-left: 25px solid MediumVioletRed;
}
</style>
<div class="triangle"></div>

<p>There are many different shapes and sizes you can achieve using this method of rendering, as well as many uses &#8211; arrows being the obvious choice. But my favourite, and the one we&#8217;ll be covering in this article, is using CSS triangles to create speech bubbles.</p>

<h2>Speech Bubbles</h2>

<p>A huge number of variations can be achieved simply by tweaking certain areas of the code, so here&#8217;s just one example:</p>


<h4>HTML</h4>
<pre class="prettyprint">
&lt;div class="bubble"&gt;Hello World!&lt;/div&gt;
</pre>

<h4>CSS</h4>
<pre class="prettyprint">
.bubble
{
	position: relative;
	width: 160px;
	padding: 20px;
	background-color: SteelBlue;
	border-radius: 2px;
	color: #FFF;
	text-align: center;
}
.bubble:after
{
	content: "";
	position: absolute;
	top: 100%;
	left: 75px;
	width: 0;
	height: 0;
	border-left: 30px solid transparent;
	border-right: 30px solid transparent;

	border-top: 30px solid SteelBlue;
}
</pre>

<h4>Demo</h4><br />
<style>
.bubble
{
	position: relative;
	width: 160px;
	padding: 20px;
	margin-bottom: 50px;
	background-color: SteelBlue;
	border-radius: 2px;
	color: #FFF;
	text-align: center;
	text-shadow: none;
}
.bubble:after
{
	content: "";
	position: absolute;
	top: 100%;
	left: 75px;
	width: 0;
	height: 0;
	border-left: 30px solid transparent;
	border-right: 30px solid transparent;

	border-top: 30px solid SteelBlue;
}
</style>
<div class="bubble">Hello World!</div>


<p>So that&#8217;s all for now folks! If you&#8217;re interested in this subject there are some more interesting articles available, like <a href="http://css-tricks.com/speech-bubble-arrows-that-inherit-parent-color/" target="_blank">Speech Bubble Arrows that Inherit Parent Color by CSS-Tricks</a> and <a href="http://nicolasgallagher.com/pure-css-speech-bubbles/" target="_blank">Pure CSS speech bubbles by Nicolas Gallagher</a>. Also, if you like this article remember to share it.</p><img src="http://feeds.feedburner.com/~r/EddTurtle/~4/qVJX8k-dVAg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eddturtle.co.uk/2012/css-speech-bubbles-triangles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eddturtle.co.uk/2012/css-speech-bubbles-triangles/</feedburner:origLink></item>
		<item>
		<title>First-look at WordPress 3.3 Beta</title>
		<link>http://feedproxy.google.com/~r/EddTurtle/~3/Xgi4tWNP9jk/</link>
		<comments>http://www.eddturtle.co.uk/2011/first-look-at-wordpress-3-3-beta/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 16:40:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[adminbar]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[dashboard]]></category>
		<category><![CDATA[media uploader]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.eddturtle.co.uk/?p=298</guid>
		<description><![CDATA[Yesterday, the 20th of October 2011, WordPress 3.3 Beta 2 was released. With an array of minor and major changes, this is still just a Beta copy but gives great incite into what&#8217;s to come. An in-depth list of changes are available for Beta 1 and Beta 2 on their blog. The WordPress development team [...]]]></description>
			<content:encoded><![CDATA[<img src="http://www.eddturtle.co.uk/wp-content/uploads/2011/10/About-‹-Beta-Test-—-WordPress1-e1319282595927-638x334.png" alt="About ‹ Beta Test — WordPress" title="About ‹ Beta Test — WordPress" width="638" class="alignnone size-large wp-image-330 coverPhoto" />

<p>Yesterday, the 20th of October 2011, WordPress 3.3 Beta 2 was released. With an array of minor and major changes, this is still just a Beta copy but gives great incite into what&#8217;s to come. An in-depth list of changes are available for <a href="http://wordpress.org/news/2011/10/wordpress-3-3-beta-1/" target="_blank">Beta 1</a> and <a href="http://wordpress.org/news/2011/10/wordpress-3-3-beta-2/" target="_blank">Beta 2</a> on their blog. The WordPress development team are aiming to release the full version of version 3.3 by the end of November.</p><span id="more-298"></span>

<h3>The Admin Bar</h3>

<img src="http://www.eddturtle.co.uk/wp-content/uploads/2011/10/Dashboard-‹-Beta-Test-—-WordPress1-e1319214035477-595x206.png" alt="" title="Dashboard ‹ Beta Test — WordPress" width="595" height="206" class="alignnone size-medium wp-image-312 standardBorder" />

<p>One of the major improvements to WordPress 3.3 so far is the Admin bar with general aesthetic enhancements, simpler interface and a few interesting features.</p>

<h3>Theme Design</h3>

<img src="http://www.eddturtle.co.uk/wp-content/uploads/2011/10/Theme-Options-‹-Beta-Test-—-WordPress-e1319214870116-595x341.png" alt="Theme Options ‹ Beta Test — WordPress" title="Theme Options ‹ Beta Test — WordPress" width="595" height="341" class="alignnone size-medium wp-image-320 standardBorder" />

<p>This Beta also includes improvements such as Theme Options. So, for example, the Twenty Eleven Theme has the option of a Light or Dark colour scheme.</p>

<h3>Media Uploader</h3>

<img src="http://www.eddturtle.co.uk/wp-content/uploads/2011/10/Add-New-Post-‹-Beta-Test-—-WordPress-e1319214845634-595x333.png" alt="Add New Post ‹ Beta Test — WordPress" title="Add New Post ‹ Beta Test — WordPress" width="595" height="333" class="alignnone size-medium wp-image-323 standardBorder" />

<p>Beta 2 is also bundled with a new media uploader, allowing you to drag and drop image files straight into the uploader. A simple and effect difference which adds nicely to the feel of WordPress.</p>

<h3>Download</h3>

<p><a href="http://wordpress.org/wordpress-3.3-beta2.zip" target="_blank">Download WordPress 3.3 Beta 2</a></p>

<p>Note: This should only be used to test-drive and learn what&#8217;s to come with WordPress and shouldn&#8217;t be used to run a production copy of a website (yet!).</p><img src="http://feeds.feedburner.com/~r/EddTurtle/~4/Xgi4tWNP9jk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eddturtle.co.uk/2011/first-look-at-wordpress-3-3-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eddturtle.co.uk/2011/first-look-at-wordpress-3-3-beta/</feedburner:origLink></item>
		<item>
		<title>Preview Gmail’s New Interface</title>
		<link>http://feedproxy.google.com/~r/EddTurtle/~3/_BssTmopAjg/</link>
		<comments>http://www.eddturtle.co.uk/2011/preview-gmails-new-interface/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 15:49:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[The Web]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[preview]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.eddturtle.co.uk/?p=282</guid>
		<description><![CDATA[Google accidentally released a video earlier this month showing the new Gmail interface which is on its way soon. In my personal option it is about time and it looks amazing (from watching the video). Within Gmail, it is possible to use the Preview Theme to get similar qualities and appearance to the proposed interface. [...]]]></description>
			<content:encoded><![CDATA[<img src="http://www.eddturtle.co.uk/wp-content/uploads/2011/10/gmail1.jpg" alt="Gmail&#039;s New Interface" title="Gmail&#039;s New Interface" width="630" class="alignnone size-full wp-image-287 coverPhoto" />

<p>Google accidentally released a <a href="http://www.youtube.com/watch?v=aF2I8c3fNQs" target="_blank">video</a> earlier this month showing the new Gmail interface which is on its way soon. In my personal option it is about time and it looks amazing (from watching the video).</p> <span id="more-282"></span>

<p>Within Gmail, it is possible to use the Preview Theme to get similar qualities and appearance to the proposed interface. To activate the preview theme, as you would with any other theme. Go into &#8216;Settings&#8217; by clicking the cog icon in the top right corner, then down to Mail Settings. Once in Settings, click the &#8216;Themes&#8217; tabs and click on Preview to try an intermediate version of the interface. Note: this is not in any way the final version, just a refined theme for the current interface. Have fun!</p>

<img src="http://www.eddturtle.co.uk/wp-content/uploads/2011/10/Settings-eddturtle@gmail.com-Gmail.png" alt="Settings - Gmail" title="Settings - Gmail" width="595" height="346" class="alignnone size-full wp-image-290 standardBorder" /><img src="http://feeds.feedburner.com/~r/EddTurtle/~4/_BssTmopAjg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eddturtle.co.uk/2011/preview-gmails-new-interface/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eddturtle.co.uk/2011/preview-gmails-new-interface/</feedburner:origLink></item>
		<item>
		<title>CSS Text Multi-Columns</title>
		<link>http://feedproxy.google.com/~r/EddTurtle/~3/cyXOd-R6WcU/</link>
		<comments>http://www.eddturtle.co.uk/2011/css-text-multi-columns/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 20:29:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS & HTML]]></category>
		<category><![CDATA[column]]></category>
		<category><![CDATA[column-count]]></category>
		<category><![CDATA[column-gap]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[fallback]]></category>
		<category><![CDATA[prefix]]></category>

		<guid isPermaLink="false">http://www.eddturtle.co.uk/?p=244</guid>
		<description><![CDATA[Columns are lovely things. They allow you to read text easier, make chunks of text look nicer and now with the power and beauty of CSS3 you can make columns dynamically &#8211; yey! No more table columns and splitting of paragraphs to achieve the same effect. This is supported by Chrome (with prefix), Firefox 3.5+ [...]]]></description>
			<content:encoded><![CDATA[<img src="http://www.eddturtle.co.uk/wp-content/uploads/2011/10/2119924191_301a705636_b-e1319282909148-638x361.jpg" alt="CSS Columns" title="CSS Columns" width="638" class="alignnone size-large wp-image-334 coverPhoto" />

<p>Columns are lovely things. They allow you to read text easier, make chunks of text look nicer and now with the power and beauty of CSS3 you can make columns dynamically &#8211; yey! No more table columns and splitting of paragraphs to achieve the same effect.</p><span id="more-244"></span>

<p>This is supported by Chrome (with prefix), Firefox 3.5+ (with prefix) and Opera.</p>

<h4>Style.css</h4>

<pre class="prettyprint">
p
{
	column-count: 2;
	column-gap: 30px;
}
</pre>

<h4>Demo</h4>

<style>
#columndemo
{
	-moz-column-count: 2;
	-moz-column-gap: 30px;
	-moz-column-rule: 2px solid #36F;
	-webkit-column-count: 2;
	-webkit-column-gap: 30px;
	-webkit-column-rule: 2px solid #36F;
	column-count: 2;
	column-gap: 30px;
	column-rule: 2px solid #36F;

	text-align: justify;
}
</style>

<p id="columndemo">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ut lorem erat. Suspendisse blandit pellentesque mattis. Donec condimentum venenatis quam at vulputate. Suspendisse potenti. Quisque pretium enim nec lectus sodales molestie. Suspendisse sollicitudin justo diam, in bibendum arcu. Vestibulum a nunc elit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec et nulla augue.</p>

<pre class="prettyprint">
#columndemo
{
	-moz-column-count: 2;
	-moz-column-gap: 30px;
	-moz-column-rule: 2px solid #36F;
	-webkit-column-count: 2;
	-webkit-column-gap: 30px;
	-webkit-column-rule: 2px solid #36F;
	column-count: 2;
	column-gap: 30px;
	column-rule: 2px solid #36F;

	text-align: justify;
}
</pre>

<p>This is all well and good if you&#8217;re using an adequate web browser, but what if you&#8217;re not? Shouldn&#8217;t you get a similar user experience which ever browser you&#8217;re using? Well, like with most CSS3 functionality, it is possible to run a JavaScript fall-back. More information on this can be found <a href="http://www.csscripting.com/css-multi-column/" target="_blank">here</a>.

</p><p>Photo by <a href="http://www.flickr.com/photos/96dpi/2119924191/in/photostream/" target="_blank">96dpi</a></p><img src="http://feeds.feedburner.com/~r/EddTurtle/~4/cyXOd-R6WcU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eddturtle.co.uk/2011/css-text-multi-columns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eddturtle.co.uk/2011/css-text-multi-columns/</feedburner:origLink></item>
		<item>
		<title>Stop CSS Caching After a Change in WordPress</title>
		<link>http://feedproxy.google.com/~r/EddTurtle/~3/ny6GoIpthGU/</link>
		<comments>http://www.eddturtle.co.uk/2011/stop-css-caching-after-a-change-in-wordpress/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 13:09:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS & HTML]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[busting]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.eddturtle.co.uk/?p=221</guid>
		<description><![CDATA[If you&#8217;re in the process of developing a WordPress theme, browser caching isn&#8217;t necessary and it can be a pain because your theme won&#8217;t always update after you have made a change. On the other hand caching plays a crucial role in the speed and download times of websites. So what are we to do? [...]]]></description>
			<content:encoded><![CDATA[<a href="http://www.flickr.com/photos/mauriz/4059476052/"><img src="http://www.eddturtle.co.uk/wp-content/uploads/2011/10/css-e1318780465774.jpg" alt="CSS Carved Pumpkin" title="CSS Carved Pumpkin" width="594" class="alignnone size-full wp-image-234 coverPhoto" /></a>



<p>If you&#8217;re in the process of developing a WordPress theme, browser caching isn&#8217;t necessary and it can be a pain because your theme won&#8217;t always update after you have made a change. On the other hand caching plays a crucial role in the speed and download times of websites. So what are we to do? In WordPress it&#8217;s actually very simple, if you know what you&#8217;re doing, to set up a function to force the browser cache into re-downloading the CSS file again. Depending on your level of PHP knowledge, there is a plugin already built for this task called <a href="http://wordpress.org/extend/plugins/css-cache-buster/" target="_blank">CSS Cache Buster</a>, or you can write your own function.</p><span id="more-221"></span>

<p>All the code for doing this yourself can be found on <a href="http://www.alistercameron.com/2008/09/10/smart-cache-busting-for-your-wordpress-stylesheet/" target="_blank">Alister Cameron&#8217;s website</a> which is what my code is based on.</p>

<h4>Functions.php</h4>
<pre class="prettyprint lang-php">
// Stop CSS Caching
function stop_css_caching()
{
	$split = explode("wp-content", get_bloginfo('stylesheet_url'));
	return get_bloginfo('stylesheet_url') . "?" . filemtime(ABSPATH . "/wp-content" . $split[1]);
}
</pre>

<p>This function basically takes the URL of the default stylesheet and adds the time modified variable to the end of it.</p>

<h4>Header.php</h4>
<pre class="prettyprint lang-html">
&lt;link rel="stylesheet" type="text/css" href="&lt;? echo stop_css_caching() ?&gt;"&gt;
</pre>

<p>The browser will see this as a different stylesheet and download it again and show your recent change.</p>

<p>Photo by <a href="http://www.flickr.com/photos/mauriz/4059476052/" target="_blank">mauricesvay</a></p><img src="http://feeds.feedburner.com/~r/EddTurtle/~4/ny6GoIpthGU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eddturtle.co.uk/2011/stop-css-caching-after-a-change-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eddturtle.co.uk/2011/stop-css-caching-after-a-change-in-wordpress/</feedburner:origLink></item>
		<item>
		<title>CSS3 Transitions : The Basics</title>
		<link>http://feedproxy.google.com/~r/EddTurtle/~3/uetSL5D88SA/</link>
		<comments>http://www.eddturtle.co.uk/2011/css3-transitions-the-basics/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 16:59:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS & HTML]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[transitions]]></category>

		<guid isPermaLink="false">http://www.eddturtle.co.uk/?p=187</guid>
		<description><![CDATA[JavaScript libraries, such as jQuery, make easy work of animations and effects when working with websites. They allow you to move, change and fade different DOM elements in your web page, which can improve your website visually and sometimes make it more usable. There are, however, disadvantages to using jQuery, for example, most modern web [...]]]></description>
			<content:encoded><![CDATA[<a href="http://www.flickr.com/photos/brianjmatis/5267614291/"><img src="http://www.eddturtle.co.uk/wp-content/uploads/2011/10/5267614291_37caf694c0_b.jpg" alt="CSS3" title="CSS3" width="596" class="alignnone size-full wp-image-214 coverPhoto" /></a>

<p>JavaScript libraries, such as jQuery, make easy work of animations and effects when working with websites. They allow you to move, change and fade different DOM elements in your web page, which can improve your website visually and sometimes make it more usable. There are, however, disadvantages to using jQuery, for example, most modern web browsers have the ability to turn JavaScript off and Firefox has a popular addons called &#8216;<a href="http://noscript.net/" target="_blank">NoScript</a>&#8216; which will also disable JavaScript &#8211; and your effects too. CSS, with <a href="http://www.w3.org/TR/css3-transitions/" target="_blank">version three</a> of its specification, has CSS transitions which allow you to do very similar animations and effects as jQuery.</p><span id="more-187"></span>

<p>At the moment CSS transitions are supported by FF4+ (with Prefix), Chrome (with Prefix), IE10 (with Prefix) &#038; Opera 10.5+ (with Prefix).</p>

<h4>style.css</h4>
<pre class="prettyprint">
a
{
	-webkit-transition: all 0.6s ease-out;
	-moz-transition: all 0.6s ease-out;
	-ms-transition: all 0.6s ease-out;
	-o-transition: all 0.6s ease-out;
	transition: all 0.6s ease-out;  
}
</pre>

<h4>Demo</h4>
<style>
#example
{
	display: inline-block;
 	margin: 16px 0 5px 0;
	padding: 6px 10px 6px 0;
 	font: 18px Georgia, serif;
	-webkit-transition: all 0.6s ease-out;
	-moz-transition: all 0.6s ease-out;
	-ms-transition: all 0.6s ease-out;
	-o-transition: all 0.6s ease-out;
	transition: all 0.6s ease-out;
}

#example:hover
{
	padding-left: 200px;
	background-color: #333;
	text-shadow: 0 0 4px #000;
	border-radius: 16px;
	color: #FFF;
	font-style: italic;
}
</style>

<a href="#" id="example">Hover Over Me!</a>

<pre class="prettyprint">
#example
{
	display: inline-block;
 	margin-top: 16px;
	padding: 6px 10px 6px 0;
 	font: 18px Georgia, serif;
	-webkit-transition: all 0.6s ease-out;
	-moz-transition: all 0.6s ease-out;
	-ms-transition: all 0.6s ease-out;
	-o-transition: all 0.6s ease-out;
	transition: all 0.6s ease-out;
}

#example:hover
{
	padding-left: 200px;
	background-color: #333;
	text-shadow: 0 0 4px #000;
	border-radius: 16px;
	color: #FFF;
	font-style: italic;
}
</pre>

<p>For more information on CSS transitions I would recommend reading &#8216;<a href="http://net.tutsplus.com/tutorials/html-css-techniques/css-fundametals-css-3-transitions/" target="_blank">CSS3 Transitions</a>&#8216; on Net|tuts+ and &#8216;<a href="http://coding.smashingmagazine.com/2010/05/27/css-three-connecting-the-dots/" target="_blank">Connecting The Dots</a>&#8216; by Smashing Magazine.</p>

<p>[Photo <a href="http://www.flickr.com/photos/brianjmatis/5267614291/" target="_blank">Source</a>]</p><img src="http://feeds.feedburner.com/~r/EddTurtle/~4/uetSL5D88SA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eddturtle.co.uk/2011/css3-transitions-the-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eddturtle.co.uk/2011/css3-transitions-the-basics/</feedburner:origLink></item>
		<item>
		<title>Load jQuery from Google CDN in WordPress</title>
		<link>http://feedproxy.google.com/~r/EddTurtle/~3/zH9saTSnqYg/</link>
		<comments>http://www.eddturtle.co.uk/2011/load-jquery-from-google-cdn-in-wordpress/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 15:53:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.eddturtle.co.uk/?p=147</guid>
		<description><![CDATA[WordPress, by default, includes a local copy of jQuery which gets loaded up on your website and also used by the WordPress Admin Dashboard. This is great because it makes life easier but wouldn&#8217;t it be even greater if WordPress used a copy of jQuery which was stored on Google&#8217;s CDN (or jQuery&#8217;s CDN for [...]]]></description>
			<content:encoded><![CDATA[<a href="http://www.flickr.com/photos/huasonic/3008912290/"><img src="http://www.eddturtle.co.uk/wp-content/uploads/2011/10/3008912290_bcbba5268e_b1.jpg" alt="" title="jQuery with WordPress" width="590"  class="aligncenter size-full wp-image-165 coverPhoto" /></a>

<p>WordPress, by default, includes a local copy of jQuery which gets loaded up on your website and also used by the WordPress Admin Dashboard. This is great because it makes life easier but wouldn&#8217;t it be even greater if WordPress used a copy of jQuery which was stored on <a href="http://code.google.com/apis/libraries/devguide.html" target="_blank">Google&#8217;s CDN</a> (or <a href="http://docs.jquery.com/Downloading_jQuery" target="_blank">jQuery&#8217;s CDN</a> for that matter). Well, with a tiny bit of theme editing this is possible.</p>
<span id="more-147"></span>
<h4>Functions.php</h4>
<pre class="prettyprint">
// JQUERY FROM GOOGLE CDN
// IS_ADMIN() == DASHBOARD

if ( !is_admin() )
{
	wp_deregister_script('jquery');
	wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"), false, '1.6.4', true);
	wp_enqueue_script('jquery');
}
</pre>

<p>There are many advantages to using jQuery from a content delivery network, it&#8217;s faster for a start because it&#8217;s likely that the script has been cached already and it puts less strain on your server. But what if, however unlikely, that Google&#8217;s CDN goes offline? Well, jQuery wouldn&#8217;t get loaded. So the bullet-proof approach would be to also add the fall-back into your theme.</p>

<h4>Footer.php</h4>
<pre class="prettyprint">
&lt;script&gt;
	window.jQuery || document.write('&lt;script src="/js/jquery-1.6.4.min.js"&gt;&lt;\/script&gt;')
&lt;/script&gt;
</pre><img src="http://feeds.feedburner.com/~r/EddTurtle/~4/zH9saTSnqYg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eddturtle.co.uk/2011/load-jquery-from-google-cdn-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eddturtle.co.uk/2011/load-jquery-from-google-cdn-in-wordpress/</feedburner:origLink></item>
		<item>
		<title>Smooth Page Scroll with jQuery</title>
		<link>http://feedproxy.google.com/~r/EddTurtle/~3/2AahkQZhi3A/</link>
		<comments>http://www.eddturtle.co.uk/2011/smooth-page-scroll-with-jquery/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 20:18:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.eddturtle.co.uk/?p=73</guid>
		<description><![CDATA[Many popular websites have the &#8216;Back to Top&#8217; same-page links, which allow you to get back to the top of the page quickly. Some websites even scroll upwards smoothly. This jQuery code, written by LearningjQuery, allows you to do just that. Just include this code in your $(document).ready() function and it enables itself on all [...]]]></description>
			<content:encoded><![CDATA[<p>Many popular websites have the &#8216;Back to Top&#8217; same-page links, which allow you to get back to the top of the page quickly. Some websites even scroll upwards smoothly. This jQuery code, written by <a href="http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links" target="_blank">LearningjQuery</a>, allows you to do just that. Just include this code in your $(document).ready() function and it enables itself on all same-page hash links.</p>

<span id="more-73"></span><br />

<h4>jQuery</h4>
<pre class="prettyprint">
// SMOOTH-SCROLLING

function filterPath(string) {
	return string
	.replace(/^\//,'')
	.replace(/(index|default).[a-zA-Z]{3,4}$/,'')
	.replace(/\/$/,'');
}
var locationPath = filterPath(location.pathname);
var scrollElem = scrollableElement('html', 'body');

$('a[href*=#]').each(function() {
	var thisPath = filterPath(this.pathname) || locationPath;
	if ( locationPath == thisPath &#038;&#038; (location.hostname == this.hostname || !this.hostname) &#038;&#038; this.hash.replace(/#/,'') )
	{
		var $target = $(this.hash), target = this.hash;
		if (target)
		{
			var targetOffset = $target.offset().top;
			$(this).click(function(event)
			{
				event.preventDefault();
				$(scrollElem).animate({scrollTop: targetOffset}, 400, function()
				{
					location.hash = target;
				});
			});
		}
	}
});

// use the first element that is "scrollable"
function scrollableElement(els)
{
	for (var i = 0, argLength = arguments.length; i <arglength ; i++)
	{
		var el = arguments[i],
		$scrollElement = $(el);
		if ($scrollElement.scrollTop()> 0)
		{
			return el;
		}
		else
		{
			$scrollElement.scrollTop(1);
			var isScrollable = $scrollElement.scrollTop()> 0;
			$scrollElement.scrollTop(0);
			if (isScrollable)
			{
				return el;
			}
		}
	}
	return [];
}</arglength></pre>

<p><a href="http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links" target="_blank">Code Source</a></p><img src="http://feeds.feedburner.com/~r/EddTurtle/~4/2AahkQZhi3A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eddturtle.co.uk/2011/smooth-page-scroll-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eddturtle.co.uk/2011/smooth-page-scroll-with-jquery/</feedburner:origLink></item>
		<item>
		<title>10 Useful Linux Terminal Commands</title>
		<link>http://feedproxy.google.com/~r/EddTurtle/~3/wmeI2fEzYdU/</link>
		<comments>http://www.eddturtle.co.uk/2011/10-useful-linux-terminal-commands/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 20:07:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.eddturtle.co.uk/?p=69</guid>
		<description><![CDATA[1. $ whoamiOkay, I hear you, this might not be that useful, but shh! I enjoy it nonetheless. This command basically just prints out the name of the current user. After a long programming session I occasionally like being told my own name. 2. $ archThis is a surprisingly useful terminal command if you spend [...]]]></description>
			<content:encoded><![CDATA[<img src="http://www.eddturtle.co.uk/wp-content/uploads/2011/10/Screenshot-at-2011-10-12-173849.png" alt="Gnome Terminal" title="Gnome Terminal" width="590" class="alignnone size-full wp-image-171 coverPhoto" />

<h3>1. $ whoami</h3><p>Okay, I hear you, this might not be that useful, but shh! I enjoy it nonetheless. This command basically just prints out the name of the current user. After a long programming session I occasionally like being told my own name.</p>

<span id="more-69"></span>

<h3>2. $ arch</h3><p>This is a surprisingly useful terminal command if you spend your time installing many different Linux distributions and changing between 32-bit and 64-bit. This command will simply and quickly tell you if whether you are using x86_64 or x86_32.</p>

<h3>3. $ xset -dpms</h3><p>If you have recently upgraded to using gnome3 you may have found it has very little in the way of customizing it&#8217;s power settings. This means your <a href="http://forums.fedoraforum.org/showthread.php?t=264528&#038;page=2" target="_blank">monitor might turn off</a> half way through watching a video. The xset -dpms command basically just turns off power management in X.</p>

<h3>4. $ hostname</h3><p>The command hostname on its own will print the current hostname of your computer, which is great if you don&#8217;t already know it, but if you were to type: &#8216;hostname newHostname&#8217; it would set newHostname as your newHostname. Note: This will be lost on restart and needs to be set in /etc/hosts as well.</p>

<h3>5. $ netstat -tulpn | less</h3><p>This is a quick way to list which ports are open in your systems firewall. Great for checking if a recent change is active. If you want to <a href="http://www.cyberciti.biz/faq/howto-rhel-linux-open-port-using-iptables/" target="_blank">open a port</a> in your firewall use the &#8216;sudo gedit /etc/sysconfig/iptables&#8217; command to edit the iptables file.</p>

<h3>6. $ sensors</h3><p>The package &#8216;lm_sensors&#8217; is required for this to work. Once setup correctly this command will print out the temperatures and voltages of your CPU and mainboard. This is a great way to check your computer/sever is running correctly over an ssh connection. If you use Ubuntu <a href="http://ubuntuforums.org/showthread.php?t=2780" target="_blank">this</a> page might help.</p>

<h3>7. $ ping -i 5 -a &lt;IP&gt;</h3><p>The ping command, as I&#8217;m sure you&#8217;re aware, basically checks to see if there is a response from an IP address but this command specifically checks for the IP every 5 seconds and then beeps once it gets a response. Great for checking when your internet connection comes back online.</p>

<h3>8. $ sudo shutdown -h 60</h3><p>I love watching films in bed but commonly fall asleep to them, with this command I can tell the computer to shutdown by itself in an hours time. The time is calculated in minutes by default but you can specify an exact time, such as 8:00.</p>

<h3>9. $ ps aux | sort -nrk 4 | head</h3><p>List the top 10 resource intensive applications currently running on your computer, which can be an efficient way to find out which applications are causing your system to grind to a halt. Once you have found the application in question you can shut it down with the <a href="http://linux.about.com/library/cmd/blcmdl_kill.htm" target="_blank">kill command</a>.</p>

<h3>10. $ ssh username@hostname</h3><p>I have, admittedly, only just got into ssh but I find it amazingly useful being able to run commands on different computers. For the future I would like to look into more X Forwarding over ssh.</p><img src="http://feeds.feedburner.com/~r/EddTurtle/~4/wmeI2fEzYdU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eddturtle.co.uk/2011/10-useful-linux-terminal-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eddturtle.co.uk/2011/10-useful-linux-terminal-commands/</feedburner:origLink></item>
	</channel>
</rss>

