<?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>The JavaScript Blog</title>
	<atom:link href="http://thejavascriptblog.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thejavascriptblog.com</link>
	<description>Everything JavaScript</description>
	<lastBuildDate>Sun, 16 Dec 2012 15:54:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>jQuery UI Close Dialog on Overlay Click</title>
		<link>http://thejavascriptblog.com/jquery-ui-close-dialog-on-overlay-click/</link>
		<comments>http://thejavascriptblog.com/jquery-ui-close-dialog-on-overlay-click/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 19:16:00 +0000</pubDate>
		<dc:creator>Merrick Christensen</dc:creator>
				<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://thejavascriptblog.com/?p=111</guid>
		<description><![CDATA[I have seen a lot of overly complex solutions for this simple problem and none of them have been valid solutions, here is a snippet that accomplishes it in an unambiguous manner. $('#el').dialog({ open: function(e){ var self = this; $('.ui-widget-overlay').bind('click', function(){ $(self).dialog('close'); }); }, close: function(){ $('.ui-widget-overlay').unbind('click'); } });]]></description>
			<content:encoded><![CDATA[<p>I have seen a lot of overly complex solutions for this simple problem and none of them have been valid solutions, here is a snippet that accomplishes it in an unambiguous manner.</p>
<pre>
$('#el').dialog({
open: function(e){
          var self = this;
          $('.ui-widget-overlay').bind('click', function(){
            $(self).dialog('close');
          });
        },

        close: function(){
          $('.ui-widget-overlay').unbind('click');
        }
});
</pre>
]]></content:encoded>
			<wfw:commentRss>http://thejavascriptblog.com/jquery-ui-close-dialog-on-overlay-click/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>what to reply when your ex back you want him also</title>
		<link>http://thejavascriptblog.com/when-percents-just-dont-cut-it/</link>
		<comments>http://thejavascriptblog.com/when-percents-just-dont-cut-it/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 16:46:57 +0000</pubDate>
		<dc:creator>Merrick Christensen</dc:creator>
				<category><![CDATA[Extensions]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://thejavascriptblog.com/?p=105</guid>
		<description><![CDATA[how to get my ex girlfriend back after 5 month of breaking up and songs to get your girlfriend back or how to get love from your ex boyfriend. how to get your boufriend back getting exboyfriend back after he went back to hus exgirlfriend, is jealousy a sign that ex boyfriend wants to get [...]]]></description>
			<content:encoded><![CDATA[<p>how to get my ex girlfriend back after 5 month of breaking up and<br />
songs to get your girlfriend back or<br />
how to get love from your ex boyfriend. <br />
<strong>how to get your boufriend back</strong><br />
getting exboyfriend back after he went back to hus exgirlfriend, <a href="http://fosterfriess.com/campfire-blog/2009/06/10/more-senators-opposing-government-run-health-care/">is jealousy a sign that ex boyfriend wants to get back together</a>, etc. <br /> <br />
 <a href="http://flirtexting.com">what to reply when your ex back you want him also</a><br />
tips on how to get an ex back fast and<br />
how to know when your ex is still into you or<br />
how to make your man back after break up. <br />
<strong>how to win back your man</strong><br />
when should i contact an ex never, <a href="http://www.mominthebalance.com/2010/03/how-to-win-an-x-back-who-broke-up-with-u.html">how to win an x back who broke up with u</a>, etc.  </p>
<h2>The Code</h2>
<pre>$.fn.fill = function(options){
	var settings, container, el, calculateHeight, calculateWidth;

	set 

 free get my ex girlfriend back, <strong>what is the best way to get a girlfriend back</strong>.
make ex jealous
how get back your ex girlfriend
stop calling your ex will bring lover back
reunite after five months ex
how to get an ex girlfiend back
best ways to win your boyfriend back
how to get your ex girlfriend back wuickly
how to get your ex boyfriend to leave his girlfriend
get over the ex girlfriend
how to find out if we ever come back together after a break up
tell me how to get my ex boyfriend back
best way to get a girl back
how to get my ex wife to love me back after a break up
how to get your ex boyfriend want you
what to say to get your ex back
do guys want their ex wives back after they say they over you
<strong>I want to get my ex boyfrnd back</strong>
girlfriend broke up wants to get back together

tings = {
		fill: window,
		margins: {
			x: 0,
			y: 0
		}
	};

	if(options){
		$.extend(settings, options);
	}

	container = $(settings.fill);
	el = $(this);

	calculateWidth = function(){
		return (contain 

 if ur ex ask u to be a friend, <strong>how to won love back in texts</strong>.
i need my ex back
getting your ex back through texts
how do i get back with an ex boyfriend who broke up with me 3 years ago
should i ring my ex boyfriend
how do i make my ex girlfriend love me again

how do you get back your ex girlfriend
why not to text your ex girlfriend after 2 am
how to make it up to ur ex
my ex bf was very hurt because we fight everytime
how to get ur ex baxk
my boyfriend left me for a younger girl i need him back with spell asap
what to text an ex girlfriend
I want my ex best friend back
what ti tell tour ex so he can ask you bach iut
message for ex boyfriend
<strong>help i need my ex back</strong>
my ex having breaks with me at work

er.width() - settings.margins.x);
	};

	calculateHeight = function(){
		return (container.height() - settings.margins.y);
	}

	el.css({
		width: calculateWidth(),
		height: calculateHeight()
	});

	container.resize(function(){
	       el.css({
	       width: calculateWidth(),
	       height: calculateHeight()
		});

	});
};</pre>
<h2>Usage</h2>
<pre>$('#dashboard').fill({
	margins : {
		x: (80 + $('#sidebar').width()),
		y: 100
	}
});</pre>
<p>This snippet fills the entire window with the dashboard minus the sidebar and 100 pixel padding on the y axis. </p>
]]></content:encoded>
			<wfw:commentRss>http://thejavascriptblog.com/when-percents-just-dont-cut-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove jQuery From Your WordPress Theme</title>
		<link>http://thejavascriptblog.com/remove-jquery-from-your-wordpress-theme/</link>
		<comments>http://thejavascriptblog.com/remove-jquery-from-your-wordpress-theme/#comments</comments>
		<pubDate>Sat, 27 Nov 2010 20:44:00 +0000</pubDate>
		<dc:creator>Merrick Christensen</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://thejavascriptblog.com/?p=99</guid>
		<description><![CDATA[WordPress will generally inject jQuery into your front-end theme which in my opinion is a huge fail. Often times plugins will do it, fortunately there is a simple fix...]]></description>
			<content:encoded><![CDATA[<p>WordPress will generally inject jQuery into your front-end theme which in my opinion is a huge fail. Often times plugins will do it, fortunately there is a simple fix, just above wp_head() or inside of an init callback put:</p>
<pre>
&lt;?php
    	if ( !is_admin() ) wp_deregister_script('jquery');
?&gt;
</pre>
<p>jQuery won&#8217;t be linked anymore. Writing this post has made me start wondering if I should write a more detailed post about WP_Scripts to show how to create dependancies and registering your own scripts. Any interest?</p>
]]></content:encoded>
			<wfw:commentRss>http://thejavascriptblog.com/remove-jquery-from-your-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Grid Bookmarklets</title>
		<link>http://thejavascriptblog.com/grid-bookmarklets/</link>
		<comments>http://thejavascriptblog.com/grid-bookmarklets/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 22:29:55 +0000</pubDate>
		<dc:creator>Merrick Christensen</dc:creator>
				<category><![CDATA[Extensions]]></category>
		<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://thejavascriptblog.com/?p=90</guid>
		<description><![CDATA[This morning I was seeking after a sweet bookmarklet to overlay a grid to the current website. Andy Budd had a pretty cool one but there was no way to turn it off, also the image was a little busy. So with the help of Jacob O&#8217;Neal for the images I created a modified version [...]]]></description>
			<content:encoded><![CDATA[<p>This morning I was seeking after a sweet bookmarklet to overlay a grid to the current website. Andy Budd had a pretty cool <a href="http://www.andybudd.com/archives/2006/07/layout_grid_bookmarklet/">one</a> but there was no way to turn it off, also the image was a little busy.</p>
<p>So with the help of <a href="http://jacoboneal.com/">Jacob O&#8217;Neal</a> for the images I created a modified version of Andy Budd&#8217;s bookmarklet. You can now turn off the grid by pressing &#8220;G&#8221;. There is also a white and black version available.</p>
<p>The solid lines represent every 100 pixels. The dotted lines represent every 10 pixels.</p>
<p>To install just drag the below links into your bookmarks bar.</p>
<p><a href="javascript:void(myDiv=document.createElement('div'));void(myBody=document.getElementsByTagName('body'));void(myDiv.style.background='url(http://www.thejavascriptblog.com/public/grid-overlay-white.png)');void(myDiv.style.position='fixed');void(myDiv.style.width='100%');void(myDiv.style.height='100%');void(myDiv.style.top='0');void(myDiv.style.left='0');void(myDiv.style.display='block');void(document.body.appendChild(myDiv));window.addEventListener('keypress',%20function(e){if(e.keyCode%20==%20103){if(myDiv.style.display%20==%20'block'){myDiv.style.display='none';}else{myDiv.style.display='block';}}},%20false);">White Grid</a> <a href="javascript:void(myDiv=document.createElement('div'));void(myBody=document.getElementsByTagName('body'));void(myDiv.style.background='url(http://www.thejavascriptblog.com/public/grid-overlay-black.png)');void(myDiv.style.position='fixed');void(myDiv.style.width='100%');void(myDiv.style.height='100%');void(myDiv.style.top='0');void(myDiv.style.left='0');void(myDiv.style.display='block');void(document.body.appendChild(myDiv));window.addEventListener('keypress',%20function(e){if(e.keyCode%20==%20103){if(myDiv.style.display%20==%20'block'){myDiv.style.display='none';}else{myDiv.style.display='block';}}},%20false);">Black Grid</a></p>
<p>Note: Due to an immense amount of laziness the toggling is only supported in Webkit.</p>
]]></content:encoded>
			<wfw:commentRss>http://thejavascriptblog.com/grid-bookmarklets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Confirmootion &#8211; MooTools Class For HTML5 &#8211; Rails 3 Inspired Confirmations</title>
		<link>http://thejavascriptblog.com/confirmootion-mootools-class-for-html5-rails-3-inspired-confirmations/</link>
		<comments>http://thejavascriptblog.com/confirmootion-mootools-class-for-html5-rails-3-inspired-confirmations/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 22:56:42 +0000</pubDate>
		<dc:creator>Merrick Christensen</dc:creator>
				<category><![CDATA[Classes]]></category>
		<category><![CDATA[Extensions]]></category>
		<category><![CDATA[MooTools]]></category>

		<guid isPermaLink="false">http://thejavascriptblog.com/?p=79</guid>
		<description><![CDATA[With Rails 3 Comes The End Of Obtrusive JavaScript (please!) Ruby on Rails 3 makes huge use of custom attributes using the data-* from the HTML 5 spec. This is a miniature class that will grab all anchor tags with &#8220;data-confirm&#8221;, pull that attributes value and stop the default event from firing till after they [...]]]></description>
			<content:encoded><![CDATA[<h2>With Rails 3 Comes The End Of Obtrusive JavaScript (please!)</h2>
<p><a href="http://rubyonrails.org">Ruby on Rails 3</a> makes huge use of custom attributes using the data-* from the HTML 5 spec. This is a miniature class that will grab all anchor tags with &#8220;data-confirm&#8221;, pull that attributes value and stop the default event from firing till after they click &#8220;Ok&#8221;. If they click &#8220;Cancel&#8221; nothing happens.</p>
<p>John Resig has great post on these custom attributes. You can find it on his blog <a href="http://ejohn.org/blog/html-5-data-attributes/">here</a>.</p>
<h2>Usage</h2>
<h3>JavaScript</h3>
<pre>
var confirmations = new Confirmootion({
     attribute: 'data-confirm'
});
</pre>
<h3>HTML</h3>
<pre>
<a href="http://google.com" data-confirm="You sure you want to hit up Google?">Google</a>
</pre>
<h2>Demo and Download</h2>
<p><a href="http://thejavascriptblog.com/demos/confirmootion/">View Online Here</a><br />
<a href="http://thejavascriptblog.com/demos/confirmootion/downloads/Confirmootion.zip">Download Here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thejavascriptblog.com/confirmootion-mootools-class-for-html5-rails-3-inspired-confirmations/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Developer Tools In Safari</title>
		<link>http://thejavascriptblog.com/developer-tools-in-safari/</link>
		<comments>http://thejavascriptblog.com/developer-tools-in-safari/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 00:15:35 +0000</pubDate>
		<dc:creator>Merrick Christensen</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://thejavascriptblog.com/?p=76</guid>
		<description><![CDATA[For a long time I was using Firefox just for Firebug. You know, sort of like when two people stay married for the kid. I was sick and tired of how Firefox rendering looked, hard to explain just not quite as smooth. When Chrome for Mac was released in the beta phases I was stoked&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>For a long time I was using Firefox just for Firebug. You know, sort of like when two people stay married for the kid. I was sick and tired of how Firefox rendering looked, hard to explain just not quite as smooth. When Chrome for Mac was released in the beta phases I was stoked&#8230; Until I saw the UI, now this is debatable but I would much rather have the looks of Safari then Chrome any day. All I really wanted was a good inspector and some nice things from the web developer toolbar.</p>
<h2>Enter Safari Developer Tools</h2>
<p>Why did no one tell me about this soon? Everyone needs to know safari comes with a beautiful inspector (just like chromes &#8211; webkit) and some handy disabling tools. The thing is they aren&#8217;t on by default. To turn them on all you need to do is go to :</p>
<p><strong>Safari -> Preferences -> Advanced -> Show develop menu in menu bar</strong></p>
<div id="attachment_77" class="wp-caption aligncenter" style="width: 310px"><a href="http://thejavascriptblog.com/wp-content/uploads/2010/02/Screen-shot-2010-02-06-at-5.12.41-PM.png"><img src="http://thejavascriptblog.com/wp-content/uploads/2010/02/Screen-shot-2010-02-06-at-5.12.41-PM-300x175.png" alt="" title="Screen shot 2010-02-06 at 5.12.41 PM" width="300" height="175" class="size-medium wp-image-77" /></a><p class="wp-caption-text">You get some nice things like User-Agent changing, Snippet Editors, Console Logging, Inspector, and much more.</p></div>
<p>Goodbye Firefox. It was good while it lasted, but we both know this relationship has been over for a long time.</p>
]]></content:encoded>
			<wfw:commentRss>http://thejavascriptblog.com/developer-tools-in-safari/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WTFramework &#8211; Detect Which Framework A Site Is Using, The Easy Way</title>
		<link>http://thejavascriptblog.com/wtframework-detect-which-framework-a-site-is-using-the-easy-way/</link>
		<comments>http://thejavascriptblog.com/wtframework-detect-which-framework-a-site-is-using-the-easy-way/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 20:20:02 +0000</pubDate>
		<dc:creator>Merrick Christensen</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://thejavascriptblog.com/?p=71</guid>
		<description><![CDATA[WTFramework Summary WTFramework is a dead simple, and well designed way to detect which framework a site is using as well as version. Being primarily a JavaScript developer I was always looking through the source to find which framework a certain site was using. Or to see if the developer had done something particularly cool [...]]]></description>
			<content:encoded><![CDATA[<h2>WTFramework Summary</h2>
<p>WTFramework is a dead simple, and well designed way to detect which framework a site is using as well as version. Being primarily a JavaScript developer I was always looking through the source to find which framework a certain site was using. Or to see if the developer had done something particularly cool with my favorite framework <a href="http://mootools.net" target="_blank">MooTools</a>. </p>
<p>It was developed by <a href="http://twitter.com/oskar">Oskar Krawczyk</a> and is implemented as a bookmark for any A grade browser. You simply drag it into your bookmarks bar and its installed. You can now use it on any site you visit. The notifications are &#8220;Growl&#8221; like and are very well designed. </p>
<p>Kudos to Oskar on this one, a dead simple, but time saving tool.</p>
<h2>Installation</h2>
<ol>
<li><a href="http://nouincolor.com/wtframework/2.0/">Visit The Site</a></li>
<li>Drag the big red icon into your bookmarks.</li>
<li>It is now installed.</li>
</ol>
<h2>Fortunately For Us</h2>
<p>Oskar has a public Git Hub repository for this. So if needs be you can change it to suit your needs.</p>
<h2>Gallery</h2>

<a href='http://thejavascriptblog.com/wtframework-detect-which-framework-a-site-is-using-the-easy-way/screen-shot-2009-12-29-at-7-15-25-pm/' title='Screen shot 2009-12-29 at 7.15.25 PM'><img width="150" height="150" src="http://thejavascriptblog.com/wp-content/uploads/2009/12/Screen-shot-2009-12-29-at-7.15.25-PM-150x150.png" class="attachment-thumbnail" alt="Screen shot 2009-12-29 at 7.15.25 PM" title="Screen shot 2009-12-29 at 7.15.25 PM" /></a>
<a href='http://thejavascriptblog.com/wtframework-detect-which-framework-a-site-is-using-the-easy-way/screen-shot-2009-12-29-at-7-16-01-pm/' title='Screen shot 2009-12-29 at 7.16.01 PM'><img width="150" height="150" src="http://thejavascriptblog.com/wp-content/uploads/2009/12/Screen-shot-2009-12-29-at-7.16.01-PM-150x150.png" class="attachment-thumbnail" alt="Screen shot 2009-12-29 at 7.16.01 PM" title="Screen shot 2009-12-29 at 7.16.01 PM" /></a>

]]></content:encoded>
			<wfw:commentRss>http://thejavascriptblog.com/wtframework-detect-which-framework-a-site-is-using-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Making Every Specified Link Send Via Ajax Using MooTools</title>
		<link>http://thejavascriptblog.com/making-every-specified-link-send-via-ajax-using-mootools/</link>
		<comments>http://thejavascriptblog.com/making-every-specified-link-send-via-ajax-using-mootools/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 05:44:24 +0000</pubDate>
		<dc:creator>Merrick Christensen</dc:creator>
				<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://thejavascriptblog.com/?p=67</guid>
		<description><![CDATA[This is a relatively simple concept and is nothing to elaborate but I wanted to share a small piece of code that will take every link with the class of &#8220;ajax&#8221; and access it using AJAX instead of actually going to that page. This using the same Request instance which will keep it optimized and [...]]]></description>
			<content:encoded><![CDATA[<p>This is a relatively simple concept and is nothing to elaborate but I wanted to share a small piece of code that will take every link with the class of &#8220;ajax&#8221; and access it using AJAX instead of actually going to that page. This using the same Request instance which will keep it optimized and manageable. MooTools is going to make this nice and easy on us&#8230;</p>
<h2>Usage</h2>
<h3>JavaScript</h3>
<pre>
var ajax_request = new Request(
{
	onSuccess: function(responseText, responseXML)
	{
		$('message').set('html', responseText);
	}
});

$$('.ajax').each(function(item){
	var url = item.get('href');
	item.addEvent('click', function(event){
		ajax_request.options.url = url;
		ajax_request.send();
		return false;
	});
});
</pre>
<h3>HTML</h3>
<pre>
<a href="ajax.php" class="ajax">Sent Via AJAX</a>
<a href="ajax_alternative.php" class="ajax">Also Sent Via AJAX</a>
<div id="message">I am filled with the results of our AJAX requests.</div>
</pre>
<p>Its incredibly simple so no demo for this. The important concept here is that we are using the same request and pulling the href attribute base on a class selection. So changing something from AJAX to regular is as easy as adding or removing the class &#8220;ajax&#8221;. Pretty cool eh?</p>
]]></content:encoded>
			<wfw:commentRss>http://thejavascriptblog.com/making-every-specified-link-send-via-ajax-using-mootools/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>MooTools &#8211; It&#8217;s Worth It!</title>
		<link>http://thejavascriptblog.com/mootools-complaints-responses/</link>
		<comments>http://thejavascriptblog.com/mootools-complaints-responses/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 23:25:47 +0000</pubDate>
		<dc:creator>Merrick Christensen</dc:creator>
				<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[MooTools]]></category>

		<guid isPermaLink="false">http://thejavascriptblog.com/?p=63</guid>
		<description><![CDATA[In my attempt to use MooTools on new projects with other developers, share MooTools with other developers, or just releasing a MooTools class; I&#8217;ve come across the same complaints about this incredible framework. MooTools Complaints Poor Documentation While its true MooTools is poorly documented compared to other frameworks it is still worth learning and with [...]]]></description>
			<content:encoded><![CDATA[<p>In my attempt to use MooTools on new projects with other developers, share MooTools with other developers, or just releasing a MooTools class; I&#8217;ve come across the same complaints about this incredible framework.</p>
<h2>MooTools Complaints</h2>
<h3>Poor Documentation</h3>
<p>While its true MooTools is poorly documented compared to other frameworks it is still worth learning and with people like <a href="http://www.clientcide.com/">Aaron Newton</a> or <a href="http://davidwalsh.name">David Walsh</a>. The information to learn it is there its just not necessarily on the MooTools site.</p>
<h3>Poor Demos</h3>
<p>Not much I can say about this but the demo library on MooTools.net was narrow at best. Hopefully they plan to improve this officially in the future. For now though the web community is really pitching in.</p>
<h3>No Official Plugin Library</h3>
<p>MooTools admits this is a lacking feature in the community of the framework and is setting out to release the <a href="http://mootools.net/blog/2009/09/22/mootools-124-released/">Forge</a> with MooTools 2</p>
<h3>The Learning Curve</h3>
<p>It&#8217;s true MooTools is a bit tougher to learn then jQuery but you will be a better programmer for it. It is a very robust framework with a huge potential and plenty of power as it is now.</p>
<h3>Backwards Compatibility</h3>
<p>A bunch of developers I had converted to MooTools was during 1.11. And when MooTools release 1.2. It broke a lot of their code even things they had copied straight from the MooTools demos. MooTools has learned from this mistake and has promised all future releases will be backwards compatible.</p>
<h3>No UI Library</h3>
<p>I&#8217;ve never really been to hurt about this myself as I feel things like jQuery&#8217;s UI library are complete overkill when all you need is progress bar. Either way MooTools is developing a UI library called <a href="http://mootools.net/blog/2009/09/22/mootools-124-released/">MooTools ART</a></p>
<h3>Plugins</h3>
<p>This is a large misconception. I&#8217;ve been hard pressed to find a plugin that someone hasn&#8217;t written or translated to MooTools.</p>
<h2>The Point</h2>
<p>The point of this is not to trash MooTools but to let people know the MooTools team is hard at work fixing a lot of these complaints. I&#8217;ve seen jQuery gaining serious ground since its release for its community and small learning curve. I&#8217;m a huge fan of MooTools and its object oriented approach. I wanted to clear things up on what MooTools is doing about them. Learn MooTools. It&#8217;s an incredible framework.</p>
]]></content:encoded>
			<wfw:commentRss>http://thejavascriptblog.com/mootools-complaints-responses/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>MooTools Grapher Class</title>
		<link>http://thejavascriptblog.com/mootools-grapher-class/</link>
		<comments>http://thejavascriptblog.com/mootools-grapher-class/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 20:50:42 +0000</pubDate>
		<dc:creator>Merrick Christensen</dc:creator>
				<category><![CDATA[Classes]]></category>
		<category><![CDATA[Extensions]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[graph]]></category>

		<guid isPermaLink="false">http://thejavascriptblog.com/?p=58</guid>
		<description><![CDATA[Let it be known. This class doesn&#8217;t have a lot of options but it is fairly dynamic. If people actually use this class I will make it more customizable to the options and not just the class itself. While this is nothing special and there are plenty of great MooTools graphing systems out there I [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Let it be known. This class doesn&#8217;t have a lot of options but it is fairly dynamic. If people actually use this class I will make it more customizable to the options and not just the class itself.</p></blockquote>
<p>While this is nothing special and there are plenty of great MooTools graphing systems out there I wanted to build one that animated up and down as well as side to side. I&#8217;m sure there are others that do this but I was curious to learn how and dove in. Any advice, tips, improvements, or feedback is greatly appreciated.</p>
<h2>Usage</h2>
<h3>JavaScript</h3>
<pre>
var myGraph = new Grapher('element_id',{
	json : 'json.php',
	total : '100'
});
</pre>
<h3>JSON</h3>
<p>The JSON productivity number in this case is based on 100 but this class will support any value. When you initiate your graph you set the total option to calculate the percentage. If you are just comparing to other employees you would take the top sells man and calculate the percentage on a bell curve. </p>
<pre>
{"graph": [ { "name" : "insert name", "key" : "1", "productivity" : "92" } ] }
</pre>
<h3>CSS</h3>
<p>The element container that you pass into the initiating function of this graph will be the total set width for the bars at 100%. Make sure you keep that in mind.</p>
<pre>
.graph{
	/* This contains everything in a particular object. The name, and the bar.*/
}

.graph_bar{
	/* This is the actual bar the width changes based on the JSON calculated percentage. You need a background image or color to show the bar as well as a height. */
}

.label{
        /* This is just the place the name is inserted. */
}
</pre>
<h2>Demo and Download</h2>
<blockquote><p>Please wait at least 5 seconds to see the graph refresh and animate. These numbers are being dynamically created via PHP into a JSON file.</p></blockquote>
<p>You can see it in action <a href="http://thejavascriptblog.com/demos/grapher/" target="_blank">here</a>.<br />
Download a zip <a href="http://thejavascriptblog.com/demos/grapher/downloads/grapher.zip" target="_blank">here</a>.</p>
<h2>Credits</h2>
<p>Big thanks to these guys:</p>
<ul>
<li><a href="http://gabebarrientos.com">Gabe Barrientos</a> &#8211; Original Idea</li>
<li><a href="http://davidwalsh.name">David Walsh</a> &#8211; Converting percentage to pixels. </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://thejavascriptblog.com/mootools-grapher-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
