<?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>handyHTML</title>
	<atom:link href="http://www.handy-html.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.handy-html.com</link>
	<description>Handy Web Development Code Snippets, Tutorials and Resources</description>
	<lastBuildDate>Mon, 08 Apr 2013 20:53:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Change the &#8216;Howdy&#8217; Greeting Message on the WordPress User Menu Bar</title>
		<link>http://www.handy-html.com/change-the-howdy-greeting-message-on-the-wordpress-user-menu-bar/</link>
		<comments>http://www.handy-html.com/change-the-howdy-greeting-message-on-the-wordpress-user-menu-bar/#comments</comments>
		<pubDate>Mon, 08 Apr 2013 20:38:38 +0000</pubDate>
		<dc:creator>George Orsmond</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[howdy]]></category>
		<category><![CDATA[menu bar]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.handy-html.com/?p=469</guid>
		<description><![CDATA[If you want to change or remove completely the "Howdy, Username" greeting on the Wordpress User Menu Bar, just use ...]]></description>
				<content:encoded><![CDATA[<p>If you want to change or remove completely the &#8220;Howdy, Username&#8221; greeting on the WordPress User Menu Bar, just use this simple bit of code&#8230;<span id="more-469"></span></p>
<h3 class="h3-page">Open up your functions.php file</h3>
<p>Copy and paste this into your <strong>functions.php</strong> file. Just change the <strong>&#8220;Hello, welcome back!&#8221;</strong> text to suit your needs.</p>
<p></p><pre class="crayon-plain-tag">// Change or remove the &quot;Howdy, Username&quot; Greeting on the Menu bar
function replace_howdy( $wp_admin_bar ) {
 $my_account=$wp_admin_bar-&gt;get_node('my-account');
 $newtitle = str_replace( 'Howdy,', 'Hello, welcome back!', $my_account-&gt;title );
 $wp_admin_bar-&gt;add_node( array(
 'id' =&gt; 'my-account',
 'title' =&gt; $newtitle,
 ) );
 }
 add_filter( 'admin_bar_menu', 'replace_howdy',25 );</pre><p></p>
<p>&#8230;and there we have it, simple!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.handy-html.com/change-the-howdy-greeting-message-on-the-wordpress-user-menu-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use a custom gravatar in WordPress</title>
		<link>http://www.handy-html.com/use-a-custom-gravatar-in-wordpress/</link>
		<comments>http://www.handy-html.com/use-a-custom-gravatar-in-wordpress/#comments</comments>
		<pubDate>Tue, 12 Mar 2013 22:01:18 +0000</pubDate>
		<dc:creator>George Orsmond</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[gravatar]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.handy-html.com/?p=151</guid>
		<description><![CDATA[Ever wondered how to change the default Gravatar in Wordpress? Here we will show you how to take your websites ...]]></description>
				<content:encoded><![CDATA[<p>Ever wondered how to change the default Gravatar in WordPress? Here we will show you how to take your websites branding to the next level.<span id="more-151"></span></p>
<h3 class="h3-page">Open up your functions.php file</h3>
<p>Copy and paste the following code into your <strong>functions.php</strong> file, this is located within your theme folder.</p><pre class="crayon-plain-tag">add_filter( 'avatar_defaults', 'newgravatar' );

function newgravatar ($avatar_defaults) {
$myavatar = get_bloginfo('template_directory') . '/images/gravatar.gif';
$avatar_defaults[$myavatar] = &quot;WPBeginner&quot;;
return $avatar_defaults;
}</pre><p></p>
<p>You need to understand the variables in the code above.</p>
<p>‘/images/gravatar.gif’ is the location of the image file. It must be saved under the theme folder that you are using.</p>
<p>Change WPBeginner to the name that you want to give your Gravatar and you should be set. Upload the file then login to your WordPress Admin Panel and click on <strong>Settings > Discussion</strong>.</p>
<p><img src="http://cdn.wpbeginner.com/changegravatar/gravatarsettings.gif" alt="Gravatar Settings" style="padding: 5px; border: 1px solid #ddd;"></p>
<p><a href="http://www.wpbeginner.com/wp-tutorials/how-to-change-the-default-gravatar-on-wordpress/" target="_blank">Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.handy-html.com/use-a-custom-gravatar-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show your latest tweets on your website</title>
		<link>http://www.handy-html.com/show-your-latest-tweets-on-your-website/</link>
		<comments>http://www.handy-html.com/show-your-latest-tweets-on-your-website/#comments</comments>
		<pubDate>Tue, 12 Mar 2013 21:41:41 +0000</pubDate>
		<dc:creator>George Orsmond</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[latest]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tweets]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.handy-html.com/?p=447</guid>
		<description><![CDATA[Want to show your latest tweets on your website? The following code will do just that and it's very simple ...]]></description>
				<content:encoded><![CDATA[<p>Want to show your latest tweets on your website? The following code will do just that and it&#8217;s very simple to implement.<span id="more-447"></span></p>
<p>All you need to do is copy and paste the following code where you would like your tweets to show, then make some minor edits (I will tell you how below), and you are good to go!</p>
<h3 class="h3-page">First off, the PHP</h3>
<p></p><pre class="crayon-plain-tag">&lt;?php
$username = &quot;handyHTML&quot;; // Your twitter username.
$limit = &quot;4&quot;; // Number of tweets to pull in.

/* These prefixes and suffixes will display before and after the entire block of tweets. */
$prefix = &quot;&lt;ul'&gt;&quot;; // Prefix - some text you want displayed before all your tweets.
$suffix = &quot;&lt;/ul&gt;&quot;; // Suffix - some text you want displayed after all your tweets.
$tweetprefix = &quot;&lt;li&gt;&quot;; // Tweet Prefix - some text you want displayed before each tweet.
$tweetsuffix = &quot;&lt;/li&gt;&quot;; // Tweet Suffix - some text you want displayed after each tweet.

$feed = &quot;http://search.twitter.com/search.atom?q=from:&quot; . $username . &quot;&amp;rpp=&quot; . $limit;

function parse_feed($feed, $prefix, $tweetprefix, $tweetsuffix, $suffix) {

$feed = str_replace(&quot;&amp;lt;&quot;, &quot;&lt;&quot;, $feed);
$feed = str_replace(&quot;&amp;gt;&quot;, &quot;&gt;&quot;, $feed);
$clean = explode(&quot;&lt;content type=\&quot;html\&quot;&gt;&quot;, $feed);

$amount = count($clean) - 1;

echo $prefix;

for ($i = 1; $i &lt;= $amount; $i++) {
$cleaner = explode(&quot;&lt;/content&gt;&quot;, $clean[$i]);
echo $tweetprefix;
echo $cleaner[0];
echo $tweetsuffix;
}

echo $suffix;
}

$twitterFeed = file_get_contents($feed);
parse_feed($twitterFeed, $prefix, $tweetprefix, $tweetsuffix, $suffix);
?&gt;</pre><p></p>
<p>Secondly, you need to edit the <strong>$username</strong> variable, where as the above is handyHTML simply change that to your Twitter username. Then you can edit the <strong>$limit</strong> variable to show &#8216;X&#8217; number of tweets. In the above code it will pull in the 4 latest tweets.</p>
<p>You can then also make some edits to the HTML so you can display the tweets to suit your website design. Just edit the <strong>$prefix, $suffix, $tweetprefix</strong> and <strong>$tweetsuffix</strong> variables with, lists, divs etc.</p>
<p>We are using this same code for our latest tweets in the footer.</p>
<p>Follow us on Twitter&#8230; <a href="http://www.twitter.com/handyHTML/">handyHTML</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.handy-html.com/show-your-latest-tweets-on-your-website/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Tooltips using jQuery</title>
		<link>http://www.handy-html.com/tooltips-using-jquery/</link>
		<comments>http://www.handy-html.com/tooltips-using-jquery/#comments</comments>
		<pubDate>Fri, 01 Mar 2013 00:59:10 +0000</pubDate>
		<dc:creator>George Orsmond</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[tooltip]]></category>
		<category><![CDATA[tooltips]]></category>

		<guid isPermaLink="false">http://www.handy-html.com/?p=425</guid>
		<description><![CDATA[In this snippet I am going to show you how to implement a nice Tooltip using jQuery. It is very ...]]></description>
				<content:encoded><![CDATA[<p>In this snippet I am going to show you how to implement a nice Tooltip using jQuery. It is very simple <span id="more-425"></span></p>
<h3 class="h3-page">Step 1: The Scripts</h3>
<p>Add the following code in between your <strong>< head > < / head ></strong> tags.</p><pre class="crayon-plain-tag">&lt;head&gt;

&lt;link rel=&quot;stylesheet&quot; href=&quot;http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css&quot; /&gt;
&lt;script src=&quot;http://code.jquery.com/jquery-1.9.1.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;http://code.jquery.com/ui/1.10.1/jquery-ui.js&quot;&gt;&lt;/script&gt;

&lt;script&gt;
$(function() {
$( document ).tooltip();
});
&lt;/script&gt;
&lt;style&gt;
label {
display: inline-block;
width: 5em;
}
&lt;/style&gt;

&lt;/head&gt;</pre><p></p>
<h3 class="h3-page">Step 2: The HTML Content</h3>
<p>Add the following code in between your <strong>< body > < / body ></strong> tags. You can edit the content to suit your needs.</p><pre class="crayon-plain-tag">&lt;body&gt;

&lt;p&gt;&lt;a href=&quot;#&quot; title=&quot;That's what this widget is&quot;&gt;Tooltips&lt;/a&gt; can be attached to any element. When you hover
the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.&lt;/p&gt;
&lt;p&gt;But as it's not a native tooltip, it can be styled.&lt;/p&gt;

&lt;p&gt;Tooltips are also useful for form elements, to show some additional information in the context of each field.&lt;/p&gt;
&lt;p&gt;&lt;label for=&quot;age&quot;&gt;Your age:&lt;/label&gt;&lt;input id=&quot;age&quot; title=&quot;We ask for your age only for statistical purposes.&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Hover the field to see the tooltip.&lt;/p&gt;

&lt;/body&gt;</pre><p></p>
<p>The <strong>title=&#8221;"</strong> attribute is the important part with this snippet, whatever you put inside it will be the content that will show in your tooltips.</p>
<p>&#8230;and there you have it, a quick and simple way to incorporate tooltips into your website.</p>
<div class="button-cont">
<a class="button" href="http://www.handy-html.com/wp-content/uploads/2013/03/tooltips-with-jquery.html" target="_blank">You can see a LIVE PREVIEW here</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.handy-html.com/tooltips-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cool CSS3 Thumbnail Hover Effects</title>
		<link>http://www.handy-html.com/cool-css3-thumbnail-hover-effects/</link>
		<comments>http://www.handy-html.com/cool-css3-thumbnail-hover-effects/#comments</comments>
		<pubDate>Thu, 25 Oct 2012 14:21:00 +0000</pubDate>
		<dc:creator>George Orsmond</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[effect]]></category>
		<category><![CDATA[hover]]></category>
		<category><![CDATA[thumbnail]]></category>

		<guid isPermaLink="false">http://www.handy-html.com/?p=409</guid>
		<description><![CDATA[In this tutorial, I’m going to tell you how to make a simple, yet very engaging thumbnail rollover for your ...]]></description>
				<content:encoded><![CDATA[<p>In this tutorial, I’m going to tell you how to make a simple, yet very engaging thumbnail rollover for your website in CSS3.</p>
<p><span id="more-409"></span></p>
<p>With CSS3 we can do smooth transitions that we weren’t capable of doing back then without using Flash or javascript and the Jquery library. Actually, there’s a massive amount of effects we can add to the transitioning graphic upon hovering over it. Some of  them are the following:</p>
<ol>
<li>Opacity</li>
<li>Border Radius</li>
<li>Rotate</li>
<li>Animation (infinite possibilities are here)</li>
</ol>
<h3 class="h3-page">The HTML</h3>
<p>The html should be pretty simple for showing these kind of effects.</p>
<p>I start off by wrapping my thumbnails in a div (&#8220;thumbWrap&#8221;). All the thumbnail images are individually wrapped in a <strong>< span > < / span ></strong> tag, We’ll just hash the link (here you can give the address of the full size picture on which you want thumbnail effect to apply). </p>
<p>Place the following HTML in between your <strong>< body > < / body ></strong> tags.</p><pre class="crayon-plain-tag">&lt;div id=&quot;thumbWrap&quot;&gt;
    &lt;span&gt;&lt;a href=&quot;#&quot;&gt;&lt;img class=&quot;css3Thumbnail&quot; src=&quot;thumb.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;
    &lt;span&gt;&lt;a href=&quot;#&quot;&gt;&lt;img class=&quot;css3Thumbnail&quot; src=&quot;thumb.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;
    &lt;span&gt;&lt;a href=&quot;#&quot;&gt;&lt;img class=&quot;css3Thumbnail&quot; src=&quot;thumb.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;
    &lt;span&gt;&lt;a href=&quot;#&quot;&gt;&lt;img class=&quot;css3Thumbnail&quot; src=&quot;thumb.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;
&lt;/div&gt;</pre><p></p>
<h3 class="h3-page">The CSS</h3>
<p>First, you define the width &#038; height of your <span> container – this should be the size of the thumbnail in its small state. I float my container to the left and set its position to relative.</p>
<p>Second, I set the width and height (125px) of my thumbnail in its original state and absolute position it with top and left margin set to 0px. Next I add the transition effect, opacity of 0.8 and a border. </p>
<p>Last, I add the hover state of the thumbnail by setting its width and height to 150px. Then I change the opacity to 1 (i.e. no transparency), and a border radius of 10px.</p>
<p>Next, I change the top and left margins to -15px and -25px so that the image is perfectly centered above the original thumbnail. This will change depending on your thumbnail’s original size. Last, I make the z-index 100 in order for the image to float above all images surrounding it.</p>
<p><strong>Note:</strong> IE Problem. Although transitions don’t work in IE, the fallback just takes us back to pre-css3. I do use CSS conditionals for IE7 because the thumbnail doesn’t pop out like how it’s suppose to, so instead I set the top and left margins to 0px. </p>
<p>Place the following CSS in between your <strong>< head > < / head ></strong> tags.</p><pre class="crayon-plain-tag">&lt;style&gt;
#thumbWrap {
	width: 540px;
	margin: 0 auto;
}
#thumbWrap span
 {
width: 125px;
height: 125px;
float: left;
position: relative;
margin: 10px 0 10px 10px;
     
}

.css3Thumbnail { 
    -webkit-transition-duration: 1.2s;
    -moz-transition-duration: 1.2s;
    -o-transition-duration: 1.2s;
    transition-duration: 1.2s;
     
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    transition-property: transform; }

.css3Thumbnail:hover {
width: 150px;
height: 150px;
border: 5px solid #FFF;
border-radius: 10px;
-moz-radius: 10px;
-webkit-radius: 10px;
opacity: 1;
position: absolute;
top: -10px;
left: -20px;
z-index: 100;
-moz-box-shadow: 3px 2px 5px 0px #494949; 
-webkit-box-shadow: 3px 2px 5px 0px #494949; 
box-shadow: 3px 2px 5px 0px #494949;
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}

.ie7 .css3Thumbnail:hover {
width: 150px;
height: 150px;
border: 5px solid #CCC;
z-index: 100;
position: absolute;
top: 0;
left: 0;
}
&lt;/style&gt;</pre><p></p>
<p>And there we have it! Some cool effects to show off your thumbnails on your website!</p>
<div class="button-cont">
<a class="button" href="http://handy-html.com/wp-content/themes/handyhtmlv2/uploads/tutorial-files/cool-css3-thumbnail-hover-effects.html" target="_blank">You can see a LIVE PREVIEW here</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.handy-html.com/cool-css3-thumbnail-hover-effects/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Simple CSS Drop Down Menu Updated</title>
		<link>http://www.handy-html.com/simple-css-dropdown-menu-updated/</link>
		<comments>http://www.handy-html.com/simple-css-dropdown-menu-updated/#comments</comments>
		<pubDate>Sat, 20 Oct 2012 00:26:02 +0000</pubDate>
		<dc:creator>George Orsmond</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[down]]></category>
		<category><![CDATA[drop]]></category>
		<category><![CDATA[drop down]]></category>
		<category><![CDATA[dropdown]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[simple]]></category>

		<guid isPermaLink="false">http://www.handy-html.com/?p=399</guid>
		<description><![CDATA[I have updated the previous CSS drop down menu, this is now Cross Browser Compatible (Chrome, Safari, Firefox, IE7+). This ...]]></description>
				<content:encoded><![CDATA[<p>I have updated the previous CSS drop down menu, this is now Cross Browser Compatible (Chrome, Safari, Firefox, IE7+). This drop down is a lot better then before and easier to integrate into existing websites.<span id="more-399"></span></p>
<h3 class="h3-page">First off, the CSS</h3>
<p>Place the following CSS in between your <strong>< head > < / head ></strong> tags.</p>
<p></p><pre class="crayon-plain-tag">&lt;style&gt;
/*---- CROSS BROWSER DROPDOWN MENU ----*/
ul#nav {margin: 0 0 0 200px;}
ul.drop a { display:block; color: #fff; font-family: Verdana; font-size: 14px; text-decoration: none;}
ul.drop, ul.drop li, ul.drop ul { list-style: none; margin: 0; padding: 0; border: 1px solid #fff; background: #555; color: #fff;}
ul.drop { position: relative; z-index: 597; float: left; }
ul.drop li { float: left; line-height: 1.3em; vertical-align: middle; zoom: 1; padding: 5px 10px; }
ul.drop li.hover, ul.drop li:hover { position: relative; z-index: 599; cursor: default; background: #1e7c9a; }
ul.drop ul { visibility: hidden; position: absolute; top: 100%; left: 0; z-index: 598; width: 195px; background: #555; border: 1px solid #fff; }
ul.drop ul li { float: none; }
ul.drop ul ul { top: -2px; left: 100%; }
ul.drop li:hover &gt; ul { visibility: visible }
&lt;/style&gt;</pre><p></p>
<h3 class="h3-page">and secondly, the HTML</h3>
<p>Place the following HTML in between your <strong>< body > < / body ></strong> tags.</p>
<p></p><pre class="crayon-plain-tag">&lt;ul id=&quot;nav&quot; class=&quot;drop&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;About Us
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;History&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Clients&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Testimonials&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Staff&lt;/a&gt;
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;George Orsmond&lt;/a&gt;
            &lt;ul&gt;
              &lt;li&gt;Web Design&lt;/li&gt;
              &lt;li&gt;Graphic Design&lt;/li&gt;
              &lt;li&gt;HTML&lt;/li&gt;
              &lt;li&gt;CSS&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Dave Macleod&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;FAQs&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Services
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Web Design&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Graphic Design&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Logo Design&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Products
    &lt;ul&gt;
      &lt;li class=&quot;dir&quot;&gt;&lt;a href=&quot;#&quot;&gt;Templates&lt;/a&gt;&lt;/li&gt;
      &lt;li class=&quot;dir&quot;&gt;&lt;a href=&quot;#&quot;&gt;Stock Images&lt;/a&gt;
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Category 1&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Category 2&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Category 3&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Category 4&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Category 5&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Featured&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Top Rated&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Resources&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Gallery&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;Contact Us
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Contact Form&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;How to get here&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#&quot;&gt;View the map&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;</pre><p></p>
<p>&#8230;and there you have it, a cross browser compatible and very customizable CSS Dropdown Menu. You can also add as many tiers as you like! This example has 3 tiers.</p>
<p>Again, as usual if any of you have any problems with this, do please let me know and I can work to help you resolve them.</p>
<div class="button-cont">
<a class="button" href="http://handy-html.com/wp-content/themes/handyhtmlv2/uploads/tutorial-files/cross-browser-compatible-dropdown-menu.html" target="_blank">You can see a LIVE PREVIEW here</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.handy-html.com/simple-css-dropdown-menu-updated/feed/</wfw:commentRss>
		<slash:comments>159</slash:comments>
		</item>
		<item>
		<title>jQuery Form Validation</title>
		<link>http://www.handy-html.com/jquery-form-validation/</link>
		<comments>http://www.handy-html.com/jquery-form-validation/#comments</comments>
		<pubDate>Tue, 25 Sep 2012 21:01:18 +0000</pubDate>
		<dc:creator>George Orsmond</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://www.handy-html.com/?p=345</guid>
		<description><![CDATA[In this short tutorial, I will show you how to use a jQuery validation plugin to setup front-end form validation ...]]></description>
				<content:encoded><![CDATA[<p>In this short tutorial, I will show you how to use a jQuery validation plugin to setup front-end form validation in just a few minutes.<br />
<span id="more-345"></span><br />
I’ve kept this tutorial very simple with clear instructions so that anyone can implement some validation on their webpage forms. This can be done in just four simple steps&#8230;</p>
<h3 class="h3-page">Step 1: Include the latest version of jQuery</h3>
<p>You can download the latest version of jquery library here <a href="http://docs.jquery.com/Downloading_jQuery" title="Latest jQuery Version" target="_blank">http://docs.jquery.com/Downloading_jQuery</a></p>
<p>&#8230;or you can use the Google hosted API below:</p>
<p>Insert the following code between your <strong>< head > < / head ></strong> tags:</p><pre class="crayon-plain-tag">&lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js&quot;&gt;&lt;/script&gt;</pre><p></p>
<h3 class="h3-page">Step 2: Download the jQuery Validation Plugin</h3>
<p>You can download the latest version of jquery validation plugin from here<br />
<a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/" title="jQuery Validation Plugin" target="_blank">http://bassistance.de/jquery-plugins/jquery-plugin-validation/</a></p>
<p>&#8230;or use the Microsoft Ajax CDN hosted file as below:</p><pre class="crayon-plain-tag">&lt;script src=&quot;http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js&quot;&gt;&lt;/script&gt;</pre><p></p>
<h3 class="h3-page">Step 3: Insert the Javascript</h3>
<p>Add the following JavaScript validation rules to your webpage (or include as external JavaScript File)</p>
<p>The below code contains the rules and error messages for input field validation. It also includes a direct submit handler (can be used for multiple forms on a single webpage).</p>
<p></p><pre class="crayon-plain-tag">&lt;script type=&quot;text/javascript&quot;&gt;
(function($,W,D)
{
    var FORMVAL = {};
 
    FORMVAL.UTIL =
    {
        setupValidation: function()
        {
            //form validation rules
            $(&quot;#signup-form&quot;).validate({
                rules: {
                    name: &quot;required&quot;,
                    email: {
                        required: true,
                        email: true
                    },
                    password: {
                        required: true,
                        minlength: 8
                    },
                    agree: &quot;required&quot;
                },
                messages: {
                    name: &quot;Name is required!&quot;,
                    password: {
                        required: &quot;Password is required!&quot;,
                        minlength: &quot;Your password must be at least 8 characters long&quot;
                    },
                    email: &quot;Please enter a valid email address&quot;,
                    agree: &quot;Please accept our policy&quot;
                },
                submitHandler: function(form) {
                    form.submit();
                }
            });
        }
    }
 
    //setup the validation on when the webpage is loaded
    $(D).ready(function($) {
        FORMVAL.UTIL.setupValidation();
    });
 
})(jQuery, window, document);
&lt;/script&gt;</pre><p></p>
<h3 class="h3-page">Step 4: Create the HTML form for validation</h3>
<p>Here is the code snippet for the HTML form which is used to apply above validation rules. Insert this into the body of your webpage.</p>
<p></p><pre class="crayon-plain-tag">&lt;!-- HTML form for validation --&gt;
&lt;form action=&quot;&quot; method=&quot;post&quot; id=&quot;signup-form&quot; novalidate=&quot;novalidate&quot;&gt;
 
    &lt;h2&gt;Sign Up&lt;/h2&gt;
 
    &lt;div id=&quot;form-data&quot;&gt;
        &lt;fieldset&gt;
 
            &lt;div class=&quot;fieldgroup&quot;&gt;
                &lt;label for=&quot;name&quot;&gt; Name&lt;/label&gt;
                &lt;input type=&quot;text&quot; name=&quot;name&quot;&gt;
            &lt;/div&gt;
 
            
            &lt;div class=&quot;fieldgroup&quot;&gt;
                &lt;label for=&quot;email&quot;&gt;Email&lt;/label&gt;
                &lt;input type=&quot;text&quot; name=&quot;email&quot;&gt;
            &lt;/div&gt;
 
            &lt;div class=&quot;fieldgroup&quot;&gt;
                &lt;label for=&quot;password&quot;&gt;Password&lt;/label&gt;
                &lt;input type=&quot;password&quot; name=&quot;password&quot;&gt;
            &lt;/div&gt;
 
            &lt;div class=&quot;fieldgroup&quot;&gt;
                &lt;p class=&quot;right&quot;&gt;By clicking register you agree to our &lt;a target=&quot;_blank&quot; href=&quot;/policy&quot;&gt;policy&lt;/a&gt;.&lt;/p&gt;
                &lt;input type=&quot;submit&quot; value=&quot;Sign up&quot; class=&quot;submit&quot;&gt;
            &lt;/div&gt;
 
        &lt;/fieldset&gt;
    &lt;/div&gt;
 
        &lt;div class=&quot;fieldgroup&quot;&gt;
            &lt;p&gt;Already registered? &lt;a href=&quot;/login&quot;&gt;Sign in&lt;/a&gt;.&lt;/p&gt;
        &lt;/div&gt;
&lt;/form&gt;</pre><p></p>
<p>That is all for the jQuery form validation. Add some styles to form to make it looking nice.</p>
<div class="button-cont">
<a href="http://www.ozroyal.com/tutorials/jquery-validation.html" target="_blank" class="button">You can see a LIVE PREVIEW here</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.handy-html.com/jquery-form-validation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Join handyHTML on Facebook</title>
		<link>http://www.facebook.com/pages/handyHTML/354448837957105</link>
		<comments>http://www.facebook.com/pages/handyHTML/354448837957105#comments</comments>
		<pubDate>Tue, 04 Sep 2012 21:10:01 +0000</pubDate>
		<dc:creator>George Orsmond</dc:creator>
				<category><![CDATA[Updates]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[fan]]></category>
		<category><![CDATA[join]]></category>
		<category><![CDATA[like]]></category>
		<category><![CDATA[likes]]></category>
		<category><![CDATA[page]]></category>

		<guid isPermaLink="false">http://www.handy-html.com/?p=339</guid>
		<description><![CDATA[Join us today on Facebook, we update the page daily. Bringing to you the latest news, tips and tricks in ...]]></description>
				<content:encoded><![CDATA[<p>Join us today on Facebook, we update the page daily. Bringing to you the latest news, tips and tricks in Web Development! Our &#8220;like&#8217;s&#8221; are ever growing, so get on the bandwagon today for some great updates straight to your news feed! Click now to visit our Facebook page!<span id="more-339"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.facebook.com/pages/handyHTML/354448837957105/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple jQuery Hover Effect</title>
		<link>http://www.handy-html.com/simple-jquery-hover-effect/</link>
		<comments>http://www.handy-html.com/simple-jquery-hover-effect/#comments</comments>
		<pubDate>Mon, 20 Aug 2012 10:39:28 +0000</pubDate>
		<dc:creator>George Orsmond</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[effect]]></category>
		<category><![CDATA[fade]]></category>
		<category><![CDATA[hover]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[simple]]></category>

		<guid isPermaLink="false">http://www.handy-html.com/?p=258</guid>
		<description><![CDATA[In this snippet I will show you how to create a simple jquery hover effect for your images. What this ...]]></description>
				<content:encoded><![CDATA[<p>In this snippet I will show you how to create a simple jquery hover effect for your images. What this effect does is lower the opacity when you hover over it. Very simple, but very effective!<span id="more-258"></span></p>
<h3 class="h3-page">Step 1: Calling jQuery</h3>
<p>You will need to copy and paste the following code between your <em><strong>< head > </ head ></strong></em> tags.</p><pre class="crayon-plain-tag">&lt;!-- include jQuery Library From Google --&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://jqueryjs.googlecode.com/files/jquery-1.3.2.js&quot;&gt;&lt;/script&gt;

&lt;!-- include jQuery UI  From Google --&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js&quot;&gt;&lt;/script&gt;</pre><p>What this code does is calls the latest versions of jQuery hosted at Google.</p>
<h3 class="h3-page">Step 2: The jQuery Functions</h3>
<p>Also copy and paste this code into your <em><strong>< head > </ head ></strong></em> tags.</p><pre class="crayon-plain-tag">&lt;script type=&quot;text/javascript&quot;&gt;
  $(document).ready(function(){
    $(&quot;img&quot;).hover(function() {
      $(this).stop().animate({opacity: &quot;0.8&quot;}, 'slow');
    },
    function() {
      $(this).stop().animate({opacity: &quot;1&quot;}, 'slow');
    });
  });
&lt;/script&gt;</pre><p>This code calls the jQuery functions and slowly lowers the opacity of an image when you hover over it, then slowly brings the opacity back to normal when you take the mouse off of the image.</p>
<div class="button-cont">
<a href="http://www.handy-html.com/wp-content/uploads/2012/07/simple-jquery-hover-effect.html" class="button">You can see a LIVE PREVIEW here</a>
</div>
<p>&#8230;and there we have it! A simple jQuery Hover Effect for use on your projects! Great for use in portfolios with thumbnails!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.handy-html.com/simple-jquery-hover-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build a quick and simple Contact Form</title>
		<link>http://www.handy-html.com/build-quick-simple-contact-form/</link>
		<comments>http://www.handy-html.com/build-quick-simple-contact-form/#comments</comments>
		<pubDate>Fri, 03 Aug 2012 10:02:36 +0000</pubDate>
		<dc:creator>George Orsmond</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[contact]]></category>
		<category><![CDATA[contactform]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[quick]]></category>
		<category><![CDATA[simple]]></category>

		<guid isPermaLink="false">http://www.handy-html.com/?p=256</guid>
		<description><![CDATA[Need a quick and easy contact form for your website? Then this is the code for you, It is a ...]]></description>
				<content:encoded><![CDATA[<p>Need a quick and easy contact form for your website? Then this is the code for you, It is a very simple script.<span id="more-256"></span></p>
<h3 class="h3-page">Step 1: The Markup</h3>
<p>Create a new file, call it <strong>contact.html</strong> or similar. Now let&#8217;s actually create the form fields. Copy and paste the following code into the newly created .html file.</p><pre class="crayon-plain-tag">&lt;form method=&quot;post&quot; action=&quot;contactengine.php&quot;&gt;
				&lt;label for=&quot;Name&quot;&gt;Name:&lt;/label&gt;
				&lt;input type=&quot;text&quot; name=&quot;Name&quot; id=&quot;Name&quot; size=&quot;45&quot; /&gt;
				&lt;br /&gt;
				&lt;label for=&quot;Tel&quot;&gt;Tel:&lt;/label&gt;
				&lt;input type=&quot;text&quot; name=&quot;Tel&quot; id=&quot;Tel&quot; size=&quot;45&quot; /&gt;
	&lt;br /&gt;
				&lt;label for=&quot;Email&quot;&gt;Email:&lt;/label&gt;
				&lt;input type=&quot;text&quot; name=&quot;Email&quot; id=&quot;Email&quot; size=&quot;45&quot; /&gt;
				&lt;br /&gt;&lt;br /&gt;
				&lt;label for=&quot;Message&quot;&gt;Details of Quote / Query&lt;/label&gt;&lt;br /&gt;
				&lt;textarea name=&quot;Message&quot; rows=&quot;5&quot; cols=&quot;45&quot; id=&quot;Message&quot;&gt;&lt;/textarea&gt;

				&lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;Submit&quot; class=&quot;submit-button&quot; /&gt;
			&lt;/form&gt;</pre><p></p>
<p>As you may notice the forms &#8220;action&#8221; is &#8220;contactengine.php&#8221; this file, which we will create in the next step is the functioning of the whole contact form. Now save and close this file.</p>
<h3 class="h3-page">Step 2: The workings of the Contact form</h3>
<p>Now create a file called <strong>contactengine.php</strong> This is the workings of the contact form, all the magic happens in here. Copy and paste the following code into this file.</p>
<p></p><pre class="crayon-plain-tag">&lt;?php

$EmailFrom = &quot;noreply@yoursite.com&quot;; // From email address
$EmailTo = &quot;youremail@yoursite.com&quot;; // Email address you want submitted forms to go to
$Subject = &quot;YourSite.com - Contact Form Submission&quot;; // subject line for emails
$Name = Trim(stripslashes($_POST['Name'])); 
$Tel = Trim(stripslashes($_POST['Tel'])); 
$Email = Trim(stripslashes($_POST['Email'])); 
$Message = Trim(stripslashes($_POST['Message'])); 

// validation
$validationOK=true;
if (!$validationOK) {
  print &quot;There has been an error, please make sure you entered a correct email address.&quot;; // You can edit this to your own error message
  exit;
}

// prepare email body text
$Body = &quot;&quot;;
$Body .= &quot;Name: &quot;;
$Body .= $Name;
$Body .= &quot;\n&quot;;
$Body .= &quot;Tel: &quot;;
$Body .= $Tel;
$Body .= &quot;\n&quot;;
$Body .= &quot;Email: &quot;;
$Body .= $Email;
$Body .= &quot;\n&quot;;
$Body .= &quot;Message: &quot;;
$Body .= $Message;
$Body .= &quot;\n&quot;;

// send email 
$success = mail($EmailTo, $Subject, $Body, &quot;From: &lt;$EmailFrom&gt;&quot;);

// redirect to success page 
if ($success){
  print &quot;Thank you, your email has been sent! We will be in touch shortly!&quot;; // You can edit this to your own success message
}
else{
  print &quot;There has been an error, please make sure you have entered your details correctly.&quot;; // You can edit this to your own error message
}
?&gt;</pre><p></p>
<p>This code basically grabs all of the detials input into the contact form and sets them out into an email which you will receive to the email specified.</p>
<p>You can edit the parts I have commented to your own details / messages. Now save this file in the same directory as the contact.html file and upload to your server&#8230;</p>
<p>Voila, a simple and quick email form for your website. Very easy to integrate and style to suit your own websites. If you have any trouble please just leave a comment and we will be happy to help you out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.handy-html.com/build-quick-simple-contact-form/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
