<?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>My Website Designers Blog</title>
	<atom:link href="http://www.mywebsitedesignersblog.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mywebsitedesignersblog.com</link>
	<description>x</description>
	<lastBuildDate>Thu, 05 Apr 2012 14:45:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Getting the FULL url of an image, even with relative paths&#8230;</title>
		<link>http://www.mywebsitedesignersblog.com/2012/04/getting-the-full-url-of-an-image-even-with-relative-paths/</link>
		<comments>http://www.mywebsitedesignersblog.com/2012/04/getting-the-full-url-of-an-image-even-with-relative-paths/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 14:45:37 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.mywebsitedesignersblog.com/?p=913</guid>
		<description><![CDATA[I was recently trying to get hold of a &#8220;full&#8221; image URL from the source of a page. I tried the following: ..and even using some JS code to try and work out if the image was a relative, absolute, or full URL&#8230; but that prooved very messy (and probably buggy). After some research I [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently trying to get hold of a &#8220;full&#8221; image URL from the source of a page. I tried the following:</p>
<pre class="brush: jscript; title: ; notranslate">$(this).attr('src')</pre>
<p>..and even using some JS code to try and work out if the image was a relative, absolute, or full URL&#8230; but that prooved very messy (and probably buggy). After some research I came across this option:</p>
<pre class="brush: jscript; title: ; notranslate">$(this).get(0).src</pre>
<p>This works perfectly with stuff like:</p>
<pre class="brush: xml; title: ; notranslate">&lt;img src=&quot;../images/foo.gif&quot; /&gt;
&lt;img src=&quot;../../images/foo.gif&quot; /&gt;
&lt;img src=&quot;/images/foo.gif&quot; /&gt;
&lt;img src=&quot;http://www.site.com/images/foo.gif&quot; /&gt;</pre>
<p>An example of it running would be:</p>
<pre class="brush: jscript; title: ; notranslate">$('img').each(function() {
		alert(&quot;Full URL of image found is: &quot; + $(this).get(0).src);
});</pre>
<div id="dprv_cp_v1.14" lang="en" xml:lang="en" class="notranslate" style="vertical-align:baseline; padding: 3px 3px 1px 3px; margin-top:2px; margin-bottom:2px; line-height:16px;float:none; font-family: Tahoma, MS Sans Serif; font-size:13px;border:1px solid #bbbbbb;background:#FFFFFF none;display:table;" title="certified 5 April 2012 15:45:48 UTC by Digiprove certificate P270751" ><a href="http://www.digiprove.com/prove_compliance.aspx?id=P270751" target="_blank" rel="copyright" style="height:16px; line-height: 16px; border:0px; padding:0px; margin:0px; float:none; display:inline; text-decoration: none; background:transparent none; line-height:normal; font-family: Tahoma, MS Sans Serif; font-style:normal; font-weight:normal; font-size:11px;"><img src="http://www.mywebsitedesignersblog.com/wp-content/plugins/digiproveblog/dp_seal_trans_16x16.png" style="max-width:none !important;vertical-align:-3px; display:inline; border:0px; margin:0px; padding:0px; float:none; background:transparent none" border="0" alt=""/><span style="font-family: Tahoma, MS Sans Serif; font-style:normal; font-size:11px; font-weight:normal; color:#636363; border:0px; float:none; display:inline; text-decoration:none; letter-spacing:normal; padding:0px; padding-left:8px; vertical-align:1px;margin-bottom:2px" onmouseover="this.style.color='#A35353';" onmouseout="this.style.color='#636363';">Copyright&nbsp;secured&nbsp;by&nbsp;Digiprove&nbsp;&copy;&nbsp;2012</span></a><a title='Click to see details of license' href="javascript:DisplayLicense('913')" style="font-family: Tahoma, MS Sans Serif; font-style:normal; display:block; font-size:11px; font-weight:normal; color:#636363; border:0px; float:none; text-align:left; text-decoration:none; letter-spacing:normal; line-height:16px; vertical-align:1px; padding:0px; padding-left:24px;margin-bottom:2px;" onmouseover="this.style.color='#A35353';" onmouseout="this.style.color='#636363';"target='_self'></a><!--609188EB253BB698FAC1E29F28A9CD78C7171CEF1D8EA550DEF9EC8CCAD41E24--></div>
<div id="license_panel913" style="position: absolute; display:none ; font-family: Tahoma, MS Sans Serif; font-style:normal; font-size:11px; font-weight:normal; color:#636363;border:1px solid #bbbbbb; float:none; max-width:640px; text-decoration:none; letter-spacing:normal; line-height:16px; vertical-align:1px; padding:0px;background:#FFFFFF none;">
<table cellpadding="0" cellspacing="0" border="0" style="line-height:17px;margin:0px;padding:0px;background-color:transparent;font-family: Tahoma, MS Sans Serif; font-style:normal; font-weight:normal; font-size:11px; color:#636363">
<tbody>
<tr>
<td colspan="2" style="background-color:transparent;border:0px;font-weight:bold;padding:0px;padding-left:6px; text-align:left">Original content here is published under these license terms:</td>
<td style="width:20px;background-color:transparent;border:0px;padding:0px"><span style="float:right; background-color:black; color:white; width:20px; text-align:center; cursor:pointer" onclick="HideLicense('913')">&nbsp;X&nbsp;</span></td>
</tr>
<tr>
<td colspan="3" style="height:4px;padding:0px;background-color:transparent;border:0px"></td>
</tr>
<tr>
<td style="width:130px;background-color:transparent;padding:0px;padding-left:4px;border:0px; text-align:left">License Type:</td>
<td style="width:300px;background-color:transparent;border:0px;padding:0px; text-align:left">1</td>
<td style="border:0px; background-color:transparent"></td>
</tr>
<tr>
<td colspan="3" style="height:4px;background-color:transparent;padding:0px;border:0px"></td>
</tr>
<tr>
<td style="background-color:transparent;padding:0px;padding-left:4px;border:0px; vertical-align:top; text-align:left">License Summary:</td>
<td colspan="2" style="background-color:transparent;border:0px;padding:0px; vertical-align:top; text-align:left"></td>
</tr>
</tbody>
</table>
</div>
<p>&copy;2012 <a href="http://www.mywebsitedesignersblog.com">My Website Designers Blog</a>. All Rights Reserved.</p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebsitedesignersblog.com/2012/04/getting-the-full-url-of-an-image-even-with-relative-paths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert HTML HEX code (#ffff00, etc) into RGB (255,255,0)</title>
		<link>http://www.mywebsitedesignersblog.com/2012/04/convert-html-hex-code-ffff00-etc-into-rgb-2552550/</link>
		<comments>http://www.mywebsitedesignersblog.com/2012/04/convert-html-hex-code-ffff00-etc-into-rgb-2552550/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 13:54:53 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Perl Coding]]></category>

		<guid isPermaLink="false">http://www.mywebsitedesignersblog.com/?p=908</guid>
		<description><![CDATA[I recently needed to convert a HEX value in a database into a RBG (red-green-blue) value for using in some Javascript. I ended up doing it in the Perl code, as it worked out pretty simple: Then call with: This would convert the above into rgb(255,0,255) Enjoy! &#169;2012 My Website Designers Blog. All Rights Reserved. [...]]]></description>
			<content:encoded><![CDATA[<p>I recently needed to convert a HEX value in a database into a RBG (red-green-blue) value for using in some Javascript. I ended up doing it in the Perl code, as it worked out pretty simple:</p>
<pre class="brush: perl; title: ; notranslate">sub hex2rgb {
	my @rgb = map {hex($_) } unpack 'a2a2a2', $_[0];
	return &quot;rgb(&quot; . join(&quot;,&quot;, @rgb) . &quot;)&quot;;
}</pre>
<p>Then call with:</p>
<pre class="brush: perl; title: ; notranslate">my $rgb = hex2rgb('ff00ff');</pre>
<p>This would convert the above into rgb(255,0,255)</p>
<p>Enjoy!
<p>&copy;2012 <a href="http://www.mywebsitedesignersblog.com">My Website Designers Blog</a>. All Rights Reserved.</p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebsitedesignersblog.com/2012/04/convert-html-hex-code-ffff00-etc-into-rgb-2552550/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checking the validity of a &#8220;price&#8221; in Javascript</title>
		<link>http://www.mywebsitedesignersblog.com/2012/03/checking-the-validity-of-a-price-in-javascript/</link>
		<comments>http://www.mywebsitedesignersblog.com/2012/03/checking-the-validity-of-a-price-in-javascript/#comments</comments>
		<pubDate>Fri, 09 Mar 2012 16:08:16 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.mywebsitedesignersblog.com/?p=903</guid>
		<description><![CDATA[I recently needed to verify that someone entered a valid price for a field on one of my forms. I did a bit of looking around, and everything I found seemed a little over the top! Here is what I came up with: &#8230;simply call with: It will accept the format of: 1 10 10.99 [...]]]></description>
			<content:encoded><![CDATA[<p>I recently needed to verify that someone entered a valid price for a field on one of my forms. I did a bit of looking around, and everything I found seemed a little over the top! Here is what I came up with:</p>
<pre class="brush: jscript; title: ; notranslate">function checkPrice(the_value) {
		var regtest = /^([\d]+|[\d]+\.[\d]{2})$/;
		if (regtest.test(the_value)) {
			return true;
		} else {
			return false;
		}
}</pre>
<p>&#8230;simply call with:</p>
<pre class="brush: jscript; title: ; notranslate">if (checkPrice(your_value) == false) {
   alert(&quot;invalid price!&quot;);
}</pre>
<p>It will accept the format of:</p>
<p>1<br />
10<br />
10.99<br />
10.50<br />
9.99<br />
etc</p>
<p>.,..it WONT accept stuff like:</p>
<p>10.1</p>
<p>Enjoy
<p>&copy;2012 <a href="http://www.mywebsitedesignersblog.com">My Website Designers Blog</a>. All Rights Reserved.</p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebsitedesignersblog.com/2012/03/checking-the-validity-of-a-price-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery &#8220;Add Bookmark&#8221; plugin &#8211; abookmark</title>
		<link>http://www.mywebsitedesignersblog.com/2012/02/jquery-add-bookmark-plugin-abookmark/</link>
		<comments>http://www.mywebsitedesignersblog.com/2012/02/jquery-add-bookmark-plugin-abookmark/#comments</comments>
		<pubDate>Sat, 25 Feb 2012 12:57:16 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.mywebsitedesignersblog.com/?p=890</guid>
		<description><![CDATA[After the popularity of my other post which gave you info on how to use jQuery to create a bookmark, I thought I would write an easier to use &#8220;plugin&#8221; for jQuery which would let you do it much easier. You can see an example of it here: http://www.mywebsitedesignersblog.com/examples/abookmark/index.html You can download the plugin from [...]]]></description>
			<content:encoded><![CDATA[<p>After the popularity of my other post which gave you info on how to use jQuery to create a bookmark, I thought I would write an easier to use &#8220;plugin&#8221; for jQuery which would let you do it much easier.</p>
<p>You can see an example of it here: </p>
<p><a href="http://www.mywebsitedesignersblog.com/examples/abookmark/index.html" target="_blank">http://www.mywebsitedesignersblog.com/examples/abookmark/index.html</a></p>
<p>You can download the plugin <a href="http://www.mywebsitedesignersblog.com/examples/abookmark/jquery.abookmark.zip">from here</a></p>
<p>Ok, so now let look at how you call it:</p>
<pre class="brush: xml; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery.abookmark.min.js&quot;&gt;&lt;/script&gt;</pre>
<p>Now, you have 3 ways to call this plugin:</p>
<ul>
<li>The current page (no options passed)</li>
<li>A custom page + title, passed in from the plugin paramaters)</li>
<li>A link, which you want to offer as a bookmark</li>
</ul>
<p>Here is how you call it in each of these instances:</p>
<p>1) <b>The current page:</b> This is the simplest. You just create a link like so:</p>
<pre class="brush: xml; title: ; notranslate">&lt;a href=&quot;#&quot; class=&quot;abookmark&quot;&gt;Add Bookmark&lt;/a&gt;</pre>
<p>..and then add the following jQuery code:</p>
<pre class="brush: jscript; title: ; notranslate">$(document).ready( function() {
		// Add this current page to their bookmark
		$('.abookmark').abookmark( );
});</pre>
<p>This example will show a link (it can also be done using images, or whatever else &#8230; as long as that class exists)</p>
<p>2) <b>A custom page:</b> This will let you show a &#8220;Bookmark&#8221; link to people, even if its not the page they are currently on:</p>
<pre class="brush: xml; title: ; notranslate">&lt;a href=&quot;#&quot; class=&quot;abookmark&quot;&gt;Add Bookmark&lt;/a&gt;</pre>
<p>..and then add the following jQuery code:</p>
<pre class="brush: jscript; title: ; notranslate">$(document).ready( function() {
    $('.abookmark').abookmark( {
    	'type': 'custom',
        'url': 'http://www.mywebsitedesignersblog.com',
        'title': 'My Site'
    } );
});</pre>
<p>This example will show a link (it can also be done using images, or whatever else &#8230; as long as that class exists)</p>
<p>3) <b>A custom page:</b> This will let you show a &#8220;Bookmark&#8221; link to people, even if its not the page they are currently on:</p>
<pre class="brush: xml; title: ; notranslate">&lt;a href=&quot;http://www.mywebsitedesignersblog.com&quot; title=&quot;foo bar&quot; class=&quot;abookmark_link&quot;&gt;Add this links as Bookmark&lt;/a&gt;</pre>
<p>..and then add the following jQuery code:</p>
<pre class="brush: jscript; title: ; notranslate">$(document).ready( function() {
    $('.abookmark').abookmark( { 'type': 'link' } );
});</pre>
<p>The values in the href=&#8221;" and title=&#8221;" value get grabbed, and then used whensomeone clicks to add a bookmark</p>
<p>I&#8217;ve tested this in IE 8 and 9, Safari 5, Chrome and Firefox 10 (it should work in ALL versions of FireFox though)</p>
<p>If you come across any problems with it / suggestions for enhancements &#8211; please let me know (the easiest way is to post a comment on this page, or on my forum.</p>
<p>If you find this plugin useful, please consider giving me a small donation to show your thanks. This will encorage me to write more plugins in the future too <img src='http://webdesign2.ultra-cdn.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="6DPGVMZYYTR5L">
<input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1"><br />
</form>
<div id="dprv_cp_v1.14" lang="en" xml:lang="en" class="notranslate" style="vertical-align:baseline; padding: 3px 3px 1px 3px; margin-top:2px; margin-bottom:2px; line-height:16px;float:none; font-family: Tahoma, MS Sans Serif; font-size:13px;border:1px solid #bbbbbb;background:#FFFFFF none;display:table;" title="certified 25 February 2012 12:57:57 UTC by Digiprove certificate P254741" ><a href="http://www.digiprove.com/prove_copyright.aspx?id=P254741" target="_blank" rel="copyright" style="height:16px; line-height: 16px; border:0px; padding:0px; margin:0px; float:none; display:inline; text-decoration: none; background:transparent none; line-height:normal; font-family: Tahoma, MS Sans Serif; font-style:normal; font-weight:normal; font-size:11px;"><img src="http://www.mywebsitedesignersblog.com/wp-content/plugins/digiproveblog/dp_seal_trans_16x16.png" style="max-width:none !important;vertical-align:-3px; display:inline; border:0px; margin:0px; padding:0px; float:none; background:transparent none" border="0" alt=""/><span style="font-family: Tahoma, MS Sans Serif; font-style:normal; font-size:11px; font-weight:normal; color:#636363; border:0px; float:none; display:inline; text-decoration:none; letter-spacing:normal; padding:0px; padding-left:8px; vertical-align:1px;margin-bottom:2px" onmouseover="this.style.color='#A35353';" onmouseout="this.style.color='#636363';">Copyright&nbsp;secured&nbsp;by&nbsp;Digiprove&nbsp;&copy;&nbsp;2012</span></a><a title='Click to see details of license' href="javascript:DisplayLicense('890')" style="font-family: Tahoma, MS Sans Serif; font-style:normal; display:block; font-size:11px; font-weight:normal; color:#636363; border:0px; float:none; text-align:left; text-decoration:none; letter-spacing:normal; line-height:16px; vertical-align:1px; padding:0px; padding-left:24px;margin-bottom:2px;" onmouseover="this.style.color='#A35353';" onmouseout="this.style.color='#636363';"target='_self'></a><!--9CA1DF5A4DA887803498576840A834291916934C6B76DDF6BEC0757E2C956BCF--></div>
<div id="license_panel890" style="position: absolute; display:none ; font-family: Tahoma, MS Sans Serif; font-style:normal; font-size:11px; font-weight:normal; color:#636363;border:1px solid #bbbbbb; float:none; max-width:640px; text-decoration:none; letter-spacing:normal; line-height:16px; vertical-align:1px; padding:0px;background:#FFFFFF none;">
<table cellpadding="0" cellspacing="0" border="0" style="line-height:17px;margin:0px;padding:0px;background-color:transparent;font-family: Tahoma, MS Sans Serif; font-style:normal; font-weight:normal; font-size:11px; color:#636363">
<tbody>
<tr>
<td colspan="2" style="background-color:transparent;border:0px;font-weight:bold;padding:0px;padding-left:6px; text-align:left">Original content here is published under these license terms:</td>
<td style="width:20px;background-color:transparent;border:0px;padding:0px"><span style="float:right; background-color:black; color:white; width:20px; text-align:center; cursor:pointer" onclick="HideLicense('890')">&nbsp;X&nbsp;</span></td>
</tr>
<tr>
<td colspan="3" style="height:4px;padding:0px;background-color:transparent;border:0px"></td>
</tr>
<tr>
<td style="width:130px;background-color:transparent;padding:0px;padding-left:4px;border:0px; text-align:left">License Type:</td>
<td style="width:300px;background-color:transparent;border:0px;padding:0px; text-align:left">1</td>
<td style="border:0px; background-color:transparent"></td>
</tr>
<tr>
<td colspan="3" style="height:4px;background-color:transparent;padding:0px;border:0px"></td>
</tr>
<tr>
<td style="background-color:transparent;padding:0px;padding-left:4px;border:0px; vertical-align:top; text-align:left">License Summary:</td>
<td colspan="2" style="background-color:transparent;border:0px;padding:0px; vertical-align:top; text-align:left"></td>
</tr>
</tbody>
</table>
</div>
<p>&copy;2012 <a href="http://www.mywebsitedesignersblog.com">My Website Designers Blog</a>. All Rights Reserved.</p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebsitedesignersblog.com/2012/02/jquery-add-bookmark-plugin-abookmark/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQuery plugin &#8211; FlashingText v1</title>
		<link>http://www.mywebsitedesignersblog.com/2012/02/jquery-plugin-flashingtext-v1/</link>
		<comments>http://www.mywebsitedesignersblog.com/2012/02/jquery-plugin-flashingtext-v1/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 18:11:45 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.mywebsitedesignersblog.com/?p=877</guid>
		<description><![CDATA[I decided to finally jump in the deep end and write my own jQuery plugin Its nothing too complex&#8230; it will let you assign a class to text/div blocks, and &#8220;flash&#8221; the background/font color every xx milliseconds. Its VERY simple to use. It works in IE 6, 7, 8 , 9 etc, FireFox 2+, Chrome [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to finally jump in the deep end and write my own jQuery plugin <img src='http://webdesign2.ultra-cdn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Its nothing too complex&#8230; it will let you assign a class to text/div blocks, and &#8220;flash&#8221; the background/font color every xx milliseconds. Its VERY simple to use.  It works in IE 6, 7, 8 , 9 etc, FireFox 2+, Chrome and Safari (I havn&#8217;t tested any more, but they should all be fine). As always IE was a sod to get working&#8230; ie. the rgb() stuff comes out as rgb(123,123,123) in IE 8 and lower&#8230; but in Chrome, FF, IE 9+ it comes as rgb(123, 123, 123) &#8211; notice the extra spaces. Anyway, enough &#8220;techno&#8221; junk &#8230; please let me know how it works for you <G></p>
<p>You can see an example here:</p>
<p><a href="http://www.mywebsitedesignersblog.com/examples/flashing/" target="_blank">http://www.mywebsitedesignersblog.com/examples/flashing/</a></p>
<p>First of all, you can download the files from <a href="http://www.mywebsitedesignersblog.com/examples/flashing/jquery.flashingtext.zip">here</a>. The script is VERY lightweight (1kb for the minified version, or 2kb for the normal version).</p>
<p>To run this plugin you need to first of all setup jQuery , and then also include this plugin:</p>
<pre class="brush: xml; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery.flashingtext.js&quot;&gt;&lt;/script&gt;</pre>
<p>Then add the following script:</p>
<pre class="brush: jscript; title: ; notranslate">$(document).ready( function() {
		$('.flashing').flashingtext( { 'default': '#ffffff', 'flashing': '#00ff00', 'what' : 'background', 'interval': 1200 } );
		$('.flashing2').flashingtext( { 'default': '#ff0000', 'flashing': '#000000', 'what' : 'text', 'interval': 1300 } );
});
</pre>
<p>Ok, so lets break this down:</p>
<pre class="brush: jscript; title: ; notranslate">$('.flashing2')</pre>
<p>This basically tells the plugin that we want to make any links with <b>class=&#8221;flashing2&#8243;</b> in them run through this plugin. Next we have our options:</p>
<pre class="brush: jscript; title: ; notranslate">{ 'default': '#ff0000', 'flashing': '#000000', 'what' : 'text', 'interval': 1300 }</pre>
<p><b>default:</b> The color the text will &#8220;revert&#8221; back to after a flash<br />
<b>flashing:</b> A hex value of the color you want the text/background to change to<br />
<b>what:</b>   Can be either &#8220;background&#8221; or &#8220;text&#8221;.<br />
<b>interval:</b> time (in milliseconds) for the &#8220;flashing&#8221; to follow</p>
<p>Thats pretty much it! If you wanna send a donation for this
<p>&copy;2012 <a href="http://www.mywebsitedesignersblog.com">My Website Designers Blog</a>. All Rights Reserved.</p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebsitedesignersblog.com/2012/02/jquery-plugin-flashingtext-v1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Search Auto Suggestion&#8221;, like Google</title>
		<link>http://www.mywebsitedesignersblog.com/2011/12/search-auto-suggestion-like-google/</link>
		<comments>http://www.mywebsitedesignersblog.com/2011/12/search-auto-suggestion-like-google/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 15:40:22 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Perl Coding]]></category>

		<guid isPermaLink="false">http://www.mywebsitedesignersblog.com/?p=857</guid>
		<description><![CDATA[I was recently playing around with some code to make an &#8220;auto suggest&#8221; function for when people do searches / add values into an input field. Here is what I came up with: View the example Its pretty simple to setup: 1) Add in the jQuery library (if you don&#8217;t already have it!): 2) Add [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently playing around with some code to make an &#8220;auto suggest&#8221; function for when people do searches / add values into an input field. Here is what I came up with:</p>
<p><a href="http://www.mywebsitedesignersblog.com/examples/autosuggest/example.html" target="_blank">View the example</a></p>
<p>Its pretty simple to setup:</p>
<p>1) Add in the jQuery library (if you don&#8217;t already have it!):</p>
<pre class="brush: xml; title: ; notranslate">&lt;script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'&gt;&lt;/script&gt;</pre>
<p>2) Add the following Javascript code into your page:</p>
<pre class="brush: jscript; title: ; notranslate">	jQuery.noConflict();
	jQuery(document).ready(function() {
		jQuery('#searchbox').attr(&quot;autocomplete&quot;, &quot;off&quot;);

		jQuery('#searchbox').keyup( function() {
			inputString = jQuery(this).val();
	        if(inputString.length &lt; 2) {
				jQuery('#suggestions').fadeOut();
	        } else {
				jQuery('#searchbox').addClass('load');

				jQuery.post(&quot;/cgi-bin/suggest.cgi&quot;, { query: escape(inputString) }, function(data) {
					if(data.length &gt; 0) {
						jQuery('#suggest').fadeIn();
						jQuery('#suggestions').fadeIn();
						jQuery('#suggestionsList').html(data);
						jQuery('#searchbox').removeClass('load');
					}
				});

	        }
	    });

		jQuery('#suggest').mouseleave( function() {
			jQuery('#suggest').fadeOut();
		});

	});

	function fill(thisValue) {
		jQuery('#searchbox').val(thisValue);
		setTimeout(&quot;jQuery('#suggestions').fadeOut();&quot;, 200);
		jQuery('#searchform').submit();
	}</pre>
<p>3) Add the following CSS:</p>
<pre class="brush: css; highlight: [5]; title: ; notranslate">#suggest {
	position:relative;
}
.suggestionsBox {
	margin-left: 0px;
	display: none;
	position:absolute;
	z-index: 100;
	width: 200px;
	padding:0px;
	background-color: #7A7476;
	border-top: 3px solid #000;
	color: #fff;
}

.suggestionList {
	margin: 0px;
	padding: 0px;
}
.suggestionList ul li {
	list-style:none;
	margin: 0px;
	padding: 6px;
	border-bottom: 1px dotted #666;
	cursor: pointer;
}
.suggestionList ul li:hover {
	background-color: #FC3;
	color:#000;
}
#suggest ul {
	font-family: Arial, Helvetica, sans-serif;
	font-size:11px;
	color:#FFF;
	padding:0;
	margin:0;
}

.load{
	background-image:url(/examples/autosuggest/suggest_loader.gif);
	background-position:right;
	background-repeat:no-repeat;
}</pre>
<p>To make it align correctly to your input, you will probably need to play around with the bit highlighted  (line 5), so that it correctly indents from the left margin.</p>
<p>4) <a href="/examples/autosuggest/files.tar">Download the following files</a> and upload them into your chosen directory.</p>
<p>5) CHMOD the suggest.cgi script to 755, and then open it up in your prefered editors (NotePad++, NotePad, WordPad, etc) &#8230; then edit the following values: </p>
<pre class="brush: perl; title: ; notranslate">	my $database = &quot;database_name&quot;;
	my $host = &quot;localhost&quot;;
	my $port = &quot;3306&quot;;
	my $user = &quot;yourusername&quot;;
	my $pass = &quot;the_db_password&quot;;
	my $debug = 0;</pre>
<p>6) Run the following mySQL query in your database, to add create the table and also add in a couple of test entries:</p>
<pre class="brush: sql; title: ; notranslate">CREATE TABLE IF NOT EXISTS `Suggestions` (
  `suggestion_id` int(11) NOT NULL AUTO_INCREMENT,
  `suggestion_query` varchar(255) NOT NULL,
  PRIMARY KEY (`suggestion_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

INSERT INTO `Suggestions` (`suggestion_id`, `suggestion_query`) VALUES
(1, 'testing'),
(2, 'testing more'),
(3, 'testing something else');
</pre>
<p>7) The final part is to add in the HTML for where the suggestions will show up:</p>
<pre class="brush: xml; title: ; notranslate">	&lt;input id=&quot;searchbox&quot; type=&quot;text&quot; name=&quot;s&quot; /&gt;
	&lt;div id=&quot;suggest&quot;&gt;
		&lt;div class=&quot;suggestionsBox&quot; id=&quot;suggestions&quot; style=&quot;display: none;&quot;&gt;
			&lt;div class=&quot;suggestionList&quot; id=&quot;suggestionsList&quot;&gt; &amp;nbsp; &lt;/div&gt;
		&lt;/div&gt;
	&lt;/div&gt;</pre>
<p>Thats pretty much it. You need to make sure the &#8220;loader&#8221; image in the CSS is setup correctly (to point to the URL on your site), as well as the line in the JS code, which points to suggest.cgi:</p>
<pre class="brush: jscript; title: ; notranslate">jQuery.post(&quot;/cgi-bin/suggest.cgi&quot;, { query: escape(inputString) }, function(data) {</pre>
<p>Any questions, please ask <img src='http://webdesign2.ultra-cdn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
<div id="dprv_cp_v1.14" lang="en" xml:lang="en" class="notranslate" style="vertical-align:baseline; padding: 3px 3px 1px 3px; margin-top:2px; margin-bottom:2px; line-height:16px;float:none; font-family: Tahoma, MS Sans Serif; font-size:13px;border:1px solid #bbbbbb;background:#FFFFFF none;display:table;" title="certified 28 December 2011 16:38:05 UTC by Digiprove certificate P222637" ><a href="http://www.digiprove.com/show_certificate.aspx?id=P222637" target="_blank" rel="copyright" style="height:16px; line-height: 16px; border:0px; padding:0px; margin:0px; float:none; display:inline; text-decoration: none; background:transparent none; line-height:normal; font-family: Tahoma, MS Sans Serif; font-style:normal; font-weight:normal; font-size:11px;"><img src="http://www.mywebsitedesignersblog.com/wp-content/plugins/digiproveblog/dp_seal_trans_16x16.png" style="max-width:none !important;vertical-align:-3px; display:inline; border:0px; margin:0px; padding:0px; float:none; background:transparent none" border="0" alt=""/><span style="font-family: Tahoma, MS Sans Serif; font-style:normal; font-size:11px; font-weight:normal; color:#636363; border:0px; float:none; display:inline; text-decoration:none; letter-spacing:normal; padding:0px; padding-left:8px; vertical-align:1px;margin-bottom:2px" onmouseover="this.style.color='#A35353';" onmouseout="this.style.color='#636363';">Copyright&nbsp;secured&nbsp;by&nbsp;Digiprove&nbsp;&copy;&nbsp;2011</span></a><a title='Click to see details of license' href="javascript:DisplayLicense('857')" style="font-family: Tahoma, MS Sans Serif; font-style:normal; display:block; font-size:11px; font-weight:normal; color:#636363; border:0px; float:none; text-align:left; text-decoration:none; letter-spacing:normal; line-height:16px; vertical-align:1px; padding:0px; padding-left:24px;margin-bottom:2px;" onmouseover="this.style.color='#A35353';" onmouseout="this.style.color='#636363';"target='_self'></a><!--A1F434440791C3DD7D25F9A7D5A3CB04792E0337BB9A254E1257CF4F2EB9144F--></div>
<div id="license_panel857" style="position: absolute; display:none ; font-family: Tahoma, MS Sans Serif; font-style:normal; font-size:11px; font-weight:normal; color:#636363;border:1px solid #bbbbbb; float:none; max-width:640px; text-decoration:none; letter-spacing:normal; line-height:16px; vertical-align:1px; padding:0px;background:#FFFFFF none;">
<table cellpadding="0" cellspacing="0" border="0" style="line-height:17px;margin:0px;padding:0px;background-color:transparent;font-family: Tahoma, MS Sans Serif; font-style:normal; font-weight:normal; font-size:11px; color:#636363">
<tbody>
<tr>
<td colspan="2" style="background-color:transparent;border:0px;font-weight:bold;padding:0px;padding-left:6px; text-align:left">Original content here is published under these license terms:</td>
<td style="width:20px;background-color:transparent;border:0px;padding:0px"><span style="float:right; background-color:black; color:white; width:20px; text-align:center; cursor:pointer" onclick="HideLicense('857')">&nbsp;X&nbsp;</span></td>
</tr>
<tr>
<td colspan="3" style="height:4px;padding:0px;background-color:transparent;border:0px"></td>
</tr>
<tr>
<td style="width:130px;background-color:transparent;padding:0px;padding-left:4px;border:0px; text-align:left">License Type:</td>
<td style="width:300px;background-color:transparent;border:0px;padding:0px; text-align:left">1</td>
<td style="border:0px; background-color:transparent"></td>
</tr>
<tr>
<td colspan="3" style="height:4px;background-color:transparent;padding:0px;border:0px"></td>
</tr>
<tr>
<td style="background-color:transparent;padding:0px;padding-left:4px;border:0px; vertical-align:top; text-align:left">License Summary:</td>
<td colspan="2" style="background-color:transparent;border:0px;padding:0px; vertical-align:top; text-align:left"></td>
</tr>
</tbody>
</table>
</div>
<p>&copy;2012 <a href="http://www.mywebsitedesignersblog.com">My Website Designers Blog</a>. All Rights Reserved.</p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebsitedesignersblog.com/2011/12/search-auto-suggestion-like-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Auto Clear&#8221; on select field when typing a search query</title>
		<link>http://www.mywebsitedesignersblog.com/2011/12/auto-clear-on-select-field-when-typing-a-search-query/</link>
		<comments>http://www.mywebsitedesignersblog.com/2011/12/auto-clear-on-select-field-when-typing-a-search-query/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 14:50:27 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[HTML / XHTML coding]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.mywebsitedesignersblog.com/?p=854</guid>
		<description><![CDATA[As you may or may not have noticed on my blog, when you click the &#8220;search box&#8221; just above this text, it will &#8220;wipe&#8221; the blurb text from that field&#8230;. and ONLY when its not got a custom value in (other than the default). As always, using jQuery this is VERY simple to do 1) [...]]]></description>
			<content:encoded><![CDATA[<p>As you may or may not have noticed on my blog, when you click the &#8220;search box&#8221; just above this text, it will &#8220;wipe&#8221; the blurb text from that field&#8230;. and ONLY when its not got a custom value in (other than the default).</p>
<p>As always, using jQuery this is VERY simple to do <img src='http://webdesign2.ultra-cdn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>1) Include jQuery into your page:</p>
<pre class="brush: xml; title: ; notranslate">&lt;script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'&gt;&lt;/script&gt;</pre>
<p>2) Add the following JS code into your page:</p>
<pre class="brush: jscript; title: ; notranslate">$(document).ready(function() {

	$('#search_input').focus( function() {
		var existing_string = &quot;Enter your query...&quot;;
		if ($(this).val() == existing_string) {
			$(this).val(&quot;&quot;);
		}
	});

});</pre>
<p>3) Then for the input field you want this to be the case for, make sure it has id=&#8221;search_input&#8221; as its ID (or change the above javascript to use the ID you have given yours)</p>
<p>For example:</p>
<pre class="brush: xml; title: ; notranslate">&lt;input name=&quot;s&quot; id=&quot;search_box&quot; type=&quot;text&quot; value=&quot;Enter your query...&quot; &gt;</pre>
<p>Thats it! Hope you enjoy
<div id="dprv_cp_v1.14" lang="en" xml:lang="en" class="notranslate" style="vertical-align:baseline; padding: 3px 3px 1px 3px; margin-top:2px; margin-bottom:2px; line-height:16px;float:none; font-family: Tahoma, MS Sans Serif; font-size:13px;border:1px solid #bbbbbb;background:#FFFFFF none;display:table;" title="certified 27 December 2011 14:50:28 UTC by Digiprove certificate P222121" ><a href="http://www.digiprove.com/show_certificate.aspx?id=P222121" target="_blank" rel="copyright" style="height:16px; line-height: 16px; border:0px; padding:0px; margin:0px; float:none; display:inline; text-decoration: none; background:transparent none; line-height:normal; font-family: Tahoma, MS Sans Serif; font-style:normal; font-weight:normal; font-size:11px;"><img src="http://www.mywebsitedesignersblog.com/wp-content/plugins/digiproveblog/dp_seal_trans_16x16.png" style="max-width:none !important;vertical-align:-3px; display:inline; border:0px; margin:0px; padding:0px; float:none; background:transparent none" border="0" alt=""/><span style="font-family: Tahoma, MS Sans Serif; font-style:normal; font-size:11px; font-weight:normal; color:#636363; border:0px; float:none; display:inline; text-decoration:none; letter-spacing:normal; padding:0px; padding-left:8px; vertical-align:1px;margin-bottom:2px" onmouseover="this.style.color='#A35353';" onmouseout="this.style.color='#636363';">Copyright&nbsp;secured&nbsp;by&nbsp;Digiprove&nbsp;&copy;&nbsp;2011</span></a><a title='Click to see details of license' href="javascript:DisplayLicense('854')" style="font-family: Tahoma, MS Sans Serif; font-style:normal; display:block; font-size:11px; font-weight:normal; color:#636363; border:0px; float:none; text-align:left; text-decoration:none; letter-spacing:normal; line-height:16px; vertical-align:1px; padding:0px; padding-left:24px;margin-bottom:2px;" onmouseover="this.style.color='#A35353';" onmouseout="this.style.color='#636363';"target='_self'></a><!--AD0DDF9EDFAA24B7E6641E97AE84BFBDEDCB2A16389838BDD1520D772A5AAD62--></div>
<div id="license_panel854" style="position: absolute; display:none ; font-family: Tahoma, MS Sans Serif; font-style:normal; font-size:11px; font-weight:normal; color:#636363;border:1px solid #bbbbbb; float:none; max-width:640px; text-decoration:none; letter-spacing:normal; line-height:16px; vertical-align:1px; padding:0px;background:#FFFFFF none;">
<table cellpadding="0" cellspacing="0" border="0" style="line-height:17px;margin:0px;padding:0px;background-color:transparent;font-family: Tahoma, MS Sans Serif; font-style:normal; font-weight:normal; font-size:11px; color:#636363">
<tbody>
<tr>
<td colspan="2" style="background-color:transparent;border:0px;font-weight:bold;padding:0px;padding-left:6px; text-align:left">Original content here is published under these license terms:</td>
<td style="width:20px;background-color:transparent;border:0px;padding:0px"><span style="float:right; background-color:black; color:white; width:20px; text-align:center; cursor:pointer" onclick="HideLicense('854')">&nbsp;X&nbsp;</span></td>
</tr>
<tr>
<td colspan="3" style="height:4px;padding:0px;background-color:transparent;border:0px"></td>
</tr>
<tr>
<td style="width:130px;background-color:transparent;padding:0px;padding-left:4px;border:0px; text-align:left">License Type:</td>
<td style="width:300px;background-color:transparent;border:0px;padding:0px; text-align:left">1</td>
<td style="border:0px; background-color:transparent"></td>
</tr>
<tr>
<td colspan="3" style="height:4px;background-color:transparent;padding:0px;border:0px"></td>
</tr>
<tr>
<td style="background-color:transparent;padding:0px;padding-left:4px;border:0px; vertical-align:top; text-align:left">License Summary:</td>
<td colspan="2" style="background-color:transparent;border:0px;padding:0px; vertical-align:top; text-align:left"></td>
</tr>
</tbody>
</table>
</div>
<p>&copy;2012 <a href="http://www.mywebsitedesignersblog.com">My Website Designers Blog</a>. All Rights Reserved.</p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebsitedesignersblog.com/2011/12/auto-clear-on-select-field-when-typing-a-search-query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Merry Christmas and a Happy New Year in 2012!</title>
		<link>http://www.mywebsitedesignersblog.com/2011/12/merry-christmas-and-a-happy-new-year-in-2012/</link>
		<comments>http://www.mywebsitedesignersblog.com/2011/12/merry-christmas-and-a-happy-new-year-in-2012/#comments</comments>
		<pubDate>Sun, 25 Dec 2011 09:08:28 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.mywebsitedesignersblog.com/?p=849</guid>
		<description><![CDATA[I just wanted to say Merry Christmas to all my readers, and a brilliant new year in 2012. I wish you all the best &#169;2012 My Website Designers Blog. All Rights Reserved. .]]></description>
			<content:encoded><![CDATA[<p>I just wanted to say Merry Christmas to all my readers, and a brilliant new year in 2012. I wish you all the best</p>
<p><a href="http://webdesign2.ultra-cdn.com/wp-content/uploads/2011/12/christmas2.jpg" rel="lightbox[849]"><img src="http://webdesign2.ultra-cdn.com/wp-content/uploads/2011/12/christmas2-300x225.jpg" alt="" title="christmas2" width="300" height="225" class="alignright size-medium wp-image-850" /></a>
<p>&copy;2012 <a href="http://www.mywebsitedesignersblog.com">My Website Designers Blog</a>. All Rights Reserved.</p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebsitedesignersblog.com/2011/12/merry-christmas-and-a-happy-new-year-in-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3 Column &#8220;Fluid&#8221; Design example&#8230;</title>
		<link>http://www.mywebsitedesignersblog.com/2011/12/3-column-fluid-design-example/</link>
		<comments>http://www.mywebsitedesignersblog.com/2011/12/3-column-fluid-design-example/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 18:24:19 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML / XHTML coding]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[fluid design]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.mywebsitedesignersblog.com/?p=831</guid>
		<description><![CDATA[I thought I would post some info on how to make a &#8220;fluid&#8221; design. This can be used as a base for the design, and then you can tweak it how you want. First of all, lets see an example of what we are going to be creating: http://www.mywebsitedesignersblog.com/examples/3-col-fluid.html As you can see, I&#8217;ve added [...]]]></description>
			<content:encoded><![CDATA[<p>I thought I would post some info on how to make a &#8220;fluid&#8221; design. This can be used as a base for the design, and then you can tweak it how you want. First of all, lets see an example of what we are going to be creating:</p>
<p><a href="http://www.mywebsitedesignersblog.com/examples/3-col-fluid.html" target="_blank">http://www.mywebsitedesignersblog.com/examples/3-col-fluid.html</a></p>
<p>As you can see, I&#8217;ve added background colors to the page, so you can see the different &#8220;blocks&#8221; <img src='http://webdesign2.ultra-cdn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Obviously you can remove those.</p>
<p>The main thing to take into consideration with a &#8220;fluid&#8221; design, is that you need to have <b>margin: auto</b> set..i.e:</p>
<pre class="brush: css; title: ; notranslate">#wrapper {
	width: 850px;
	margin: auto;
}</pre>
<p>You can change the width of this to whatever you want(800px, 1000px, or whatever) and it will automatically align the left/right margins into the center of the page.</p>
<p>Now you have the &#8220;wrapper&#8221; in place, we can setup the other blocks. The header/footer are the same (100% width), but I&#8217;ve done them as seperate div&#8217;s so that you can assign different classes/font styles etc that are different for each of them. For example:</p>
<pre class="brush: css; title: ; notranslate">#header {
	width: 100%;
	font-size: 14px;
}
#header: a:link, #header: a:visited {
	color: green;
	text-decoration: none;
}
#header: a:hover {
	color: red;
	text-decoration: underlin;
}

#footer {
	width: 100%;
	font-size: 11px;
	color: orange;
}</pre>
<p>Hopefully that gives you an idea <img src='http://webdesign2.ultra-cdn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you wanna just get rid of one of the columns, you can simply remove the div from the page&#8230; for example, you would remove this to get rid of the left column:</p>
<pre class="brush: css; title: ; notranslate">#left_col {
....
}</pre>
<p>..and then this part in the HTML:</p>
<pre class="brush: xml; title: ; notranslate">
		&lt;div id=&quot;left_col&quot;&gt;
			left column
		&lt;/div&gt;
</pre>
<p>If you remove one of the columns, you need to be sure to update the <b>width: xx%</b> parts for the remaining <b>middle_col</b> and <b>right_col</b> (or <b>left_col</b> , depending on which one you removed). They need to add up to 100%. With the main example I showed you we have:</p>
<p>Left Col:  20%<br />
Middle Col:  80%<br />
Right Col: 20%</p>
<p><b>BE AWARE:</b>  If you add borders/padding to those divs, you may find it better to set the width of those in <b>px</b> (instead of %), cos the borders add extra pixels (and may cause your design to &#8220;drop&#8221; down below the main design!)</p>
<p>I hope that has been of some help (I know it took me a while to get used to fluid CSS designs, but its pretty simple once you know how <img src='http://webdesign2.ultra-cdn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
<p>Enjoy!
<p>&copy;2012 <a href="http://www.mywebsitedesignersblog.com">My Website Designers Blog</a>. All Rights Reserved.</p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebsitedesignersblog.com/2011/12/3-column-fluid-design-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Countdown to Christmas</title>
		<link>http://www.mywebsitedesignersblog.com/2011/11/jquery-countdown-to-christmas/</link>
		<comments>http://www.mywebsitedesignersblog.com/2011/11/jquery-countdown-to-christmas/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 11:05:00 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[countdown]]></category>
		<category><![CDATA[countdown clock]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[xmas]]></category>

		<guid isPermaLink="false">http://www.mywebsitedesignersblog.com/?p=814</guid>
		<description><![CDATA[I noticed quite a few people were arriving at my blog, trying to find a countdown for Christmas. Based on the following article: http://www.mywebsitedesignersblog.com/2011/04/flexible-and-easy-to-setup-jquery-countdown-clock/ I decided to actually put together a proper christmas countdown script for you Here is an example of what we are creating: http://www.mywebsitedesignersblog.com/examples/countdown/christmas.html 1) First of all, download this file: http://keith-wood.name/countdown.html [...]]]></description>
			<content:encoded><![CDATA[<p>I noticed quite a few people were arriving at my blog, trying to find a countdown for Christmas. Based on the following article: <a href="http://www.mywebsitedesignersblog.com/2011/04/flexible-and-easy-to-setup-jquery-countdown-clock/">http://www.mywebsitedesignersblog.com/2011/04/flexible-and-easy-to-setup-jquery-countdown-clock/</a></p>
<p>I decided to actually put together a proper christmas countdown script for you <img src='http://webdesign2.ultra-cdn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here is an example of what we are creating: <a href="http://www.mywebsitedesignersblog.com/examples/countdown/christmas.html" target="_blank">http://www.mywebsitedesignersblog.com/examples/countdown/christmas.html</a></p>
<p>1) First of all, download this file: <a href="http://keith-wood.name/countdown.html" target="_blank">http://keith-wood.name/countdown.html</a> (near the top of the page)</p>
<p>2) Upload these files to your website</p>
<p>3) Open up jquery.countdown.css, and change:</p>
<pre class="brush: css; title: ; notranslate">.hasCountdown {
	border: 1px solid #ccc;
	background-color: #eee;
}</pre>
<p>..to:</p>
<pre class="brush: css; title: ; notranslate">.hasCountdown {
	background-color: #eee;
}</pre>
<p>4) Add the following CSS to that file as well:</p>
<pre class="brush: css; title: ; notranslate">#imageLayoutWrapper { width: 350px; }
#imageLayout2 span { display: block; float: left; width: 29px; height: 50px; background: url(christmas1.jpg) no-repeat 0px 0px; }
#imageLayout2 span.image0 { background-position: -0px 0px; }
#imageLayout2 span.image1 { background-position: -29px 0px; }
#imageLayout2 span.image2 { background-position: -58px 0px; }
#imageLayout2 span.image3 { background-position: -87px 0px; }
#imageLayout2 span.image4 { background-position: -116px 0px; }
#imageLayout2 span.image5 { background-position: -145px 0px; }
#imageLayout2 span.image6 { background-position: -174px 0px; }
#imageLayout2 span.image7 { background-position: -203px 0px; }
#imageLayout2 span.image8 { background-position: -232px 0px; }
#imageLayout2 span.image9 { background-position: -261px 0px; }
#imageLayout2 span.imageDay { background-position: -290px 0px; }
#imageLayout2 span.imageSep { background-position: -319px 0px; }
#imageLayout2 span.imageSpace { background-position: -348px 0px; } </pre>
<p>5) Add the following into the &lt;head&gt;&lt;/head&gt;> part of your page:</p>
<pre class="brush: xml; title: ; notranslate">&lt;style type=&quot;text/css&quot;&gt;
@import &quot;jquery.countdown.css&quot;;
#defaultCountdown { width: 240px; height: 45px; }
&lt;/style&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery.countdown.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
$(function () {
	var austDay = new Date();
	var thisYear = austDay.getFullYear();
	austDay = new Date(thisYear,11,25);
	$('#imageLayout2').countdown({until: austDay, compact: true, format: 'YDHMS' ,
    layout: $('#imageLayout2').html()});

});
&lt;/script&gt;</pre>
<p>6) Now add the following HTML to where ever you want the countdown to show:</p>
<pre class="brush: xml; title: ; notranslate">&lt;div id=&quot;imageLayoutWrapper&quot;&gt;
	&lt;img src=&quot;christmas_border.jpg&quot; /&gt;&lt;br /&gt;
	&lt;span id=&quot;imageLayout2&quot;&gt;
		&lt;span class=&quot;image{d10}&quot;&gt;&lt;/span&gt;
		&lt;span class=&quot;image{d1}&quot;&gt;&lt;/span&gt;
		&lt;span class=&quot;imageDay&quot;&gt;&lt;/span&gt;
		&lt;span class=&quot;imageSpace&quot;&gt;&lt;/span&gt;
		&lt;span class=&quot;image{h10}&quot;&gt;&lt;/span&gt;
		&lt;span class=&quot;image{h1}&quot;&gt;&lt;/span&gt;
		&lt;span class=&quot;imageSep&quot;&gt;&lt;/span&gt;
		&lt;span class=&quot;image{m10}&quot;&gt;&lt;/span&gt;
		&lt;span class=&quot;image{m1}&quot;&gt;&lt;/span&gt;
		&lt;span class=&quot;imageSep&quot;&gt;&lt;/span&gt;
		&lt;span class=&quot;image{s10}&quot;&gt;&lt;/span&gt;
		&lt;span class=&quot;image{s1}&quot;&gt;&lt;/span&gt;
	&lt;/span&gt;
	&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;christmas_border.jpg&quot; /&gt;
&lt;/div&gt;</pre>
<p>7) Download the below images : </p>
<p><img src="/examples/countdown/christmas1.jpg" /><br />
<img src="/examples/countdown/christmas2.gif" /><br />
<img src="/examples/countdown/christmas3.gif" /><br />
<img src="/examples/countdown/christmas4.gif" /><br />
<img src="/examples/countdown/christmas_border.jpg" /></p>
<p>(<a href="/examples/countdown/christmas.zip">or download the ZIP file with all of these in</a>)</p>
<p>Thats it &#8211; you should now have a working countdown clock <img src='http://webdesign2.ultra-cdn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Enjoy!</p>
<p><b>IMPORTANT:</b> When using the christmas4.gif image, please be sure to use this CSS (slight tweak with some of the widths, due to the snowman font being a little wider than the others <img src='http://webdesign2.ultra-cdn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre class="brush: css; title: ; notranslate">#imageLayout4 span { display: block; float: left; width: 29px; height: 50px; background: url(christmas4.gif) no-repeat 0px 0px; }
#imageLayout4 span.image0 { background-position: -0px 0px; }
#imageLayout4 span.image1 { background-position: -29px 0px; }
#imageLayout4 span.image2 { background-position: -58px 0px; }
#imageLayout4 span.image3 { background-position: -87px 0px; }
#imageLayout4 span.image4 { background-position: -116px 0px; }
#imageLayout4 span.image5 { background-position: -144px 0px; }
#imageLayout4 span.image6 { background-position: -174px 0px; }
#imageLayout4 span.image7 { background-position: -200px 0px; }
#imageLayout4 span.image8 { background-position: -229px 0px; }
#imageLayout4 span.image9 { background-position: -258px 0px; }
#imageLayout4 span.imageDay { background-position: -290px 0px; }
#imageLayout4 span.imageSep { background-position: -319px 0px; }
#imageLayout4 span.imageSpace { background-position: -348px 0px; }
#imageLayout4 { overflow: hidden; }</pre>
<div id="dprv_cp_v1.14" lang="en" xml:lang="en" class="notranslate" style="vertical-align:baseline; padding: 3px 3px 1px 3px; margin-top:2px; margin-bottom:2px; line-height:16px;float:none; font-family: Tahoma, MS Sans Serif; font-size:13px;border:1px solid #bbbbbb;background:#FFFFFF none;display:table;" title="certified 21 November 2011 14:08:34 UTC by Digiprove certificate P204721" ><a href="http://www.digiprove.com/show_certificate.aspx?id=P204721" target="_blank" rel="copyright" style="height:16px; line-height: 16px; border:0px; padding:0px; margin:0px; float:none; display:inline; text-decoration: none; background:transparent none; line-height:normal; font-family: Tahoma, MS Sans Serif; font-style:normal; font-weight:normal; font-size:11px;"><img src="http://www.mywebsitedesignersblog.com/wp-content/plugins/digiproveblog/dp_seal_trans_16x16.png" style="max-width:none !important;vertical-align:-3px; display:inline; border:0px; margin:0px; padding:0px; float:none; background:transparent none" border="0" alt=""/><span style="font-family: Tahoma, MS Sans Serif; font-style:normal; font-size:11px; font-weight:normal; color:#636363; border:0px; float:none; display:inline; text-decoration:none; letter-spacing:normal; padding:0px; padding-left:8px; vertical-align:1px;margin-bottom:2px" onmouseover="this.style.color='#A35353';" onmouseout="this.style.color='#636363';">Copyright&nbsp;secured&nbsp;by&nbsp;Digiprove&nbsp;&copy;&nbsp;2011</span></a><a title='Click to see details of license' href="javascript:DisplayLicense('814')" style="font-family: Tahoma, MS Sans Serif; font-style:normal; display:block; font-size:11px; font-weight:normal; color:#636363; border:0px; float:none; text-align:left; text-decoration:none; letter-spacing:normal; line-height:16px; vertical-align:1px; padding:0px; padding-left:24px;margin-bottom:2px;" onmouseover="this.style.color='#A35353';" onmouseout="this.style.color='#636363';"target='_self'></a><!--BAB9FD9BD4FC68B9B71DD95094DB0E3DF48EDB25B3EDFEC55E1E7799A212A7CE--></div>
<div id="license_panel814" style="position: absolute; display:none ; font-family: Tahoma, MS Sans Serif; font-style:normal; font-size:11px; font-weight:normal; color:#636363;border:1px solid #bbbbbb; float:none; max-width:640px; text-decoration:none; letter-spacing:normal; line-height:16px; vertical-align:1px; padding:0px;background:#FFFFFF none;">
<table cellpadding="0" cellspacing="0" border="0" style="line-height:17px;margin:0px;padding:0px;background-color:transparent;font-family: Tahoma, MS Sans Serif; font-style:normal; font-weight:normal; font-size:11px; color:#636363">
<tbody>
<tr>
<td colspan="2" style="background-color:transparent;border:0px;font-weight:bold;padding:0px;padding-left:6px; text-align:left">Original content here is published under these license terms:</td>
<td style="width:20px;background-color:transparent;border:0px;padding:0px"><span style="float:right; background-color:black; color:white; width:20px; text-align:center; cursor:pointer" onclick="HideLicense('814')">&nbsp;X&nbsp;</span></td>
</tr>
<tr>
<td colspan="3" style="height:4px;padding:0px;background-color:transparent;border:0px"></td>
</tr>
<tr>
<td style="width:130px;background-color:transparent;padding:0px;padding-left:4px;border:0px; text-align:left">License Type:</td>
<td style="width:300px;background-color:transparent;border:0px;padding:0px; text-align:left">1</td>
<td style="border:0px; background-color:transparent"></td>
</tr>
<tr>
<td colspan="3" style="height:4px;background-color:transparent;padding:0px;border:0px"></td>
</tr>
<tr>
<td style="background-color:transparent;padding:0px;padding-left:4px;border:0px; vertical-align:top; text-align:left">License Summary:</td>
<td colspan="2" style="background-color:transparent;border:0px;padding:0px; vertical-align:top; text-align:left"></td>
</tr>
</tbody>
</table>
</div>
<p>&copy;2012 <a href="http://www.mywebsitedesignersblog.com">My Website Designers Blog</a>. All Rights Reserved.</p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebsitedesignersblog.com/2011/11/jquery-countdown-to-christmas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Content Delivery Network via webdesign2.ultra-cdn.com

Served from: mywebsitedesignersblog.com @ 2012-05-20 10:50:11 -->
