<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Create GitHub-Style Buttons with CSS and jQuery, MooTools, or Dojo&#160;JavaScript</title> <atom:link href="http://davidwalsh.name/github-css/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/github-css</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Feb 2012 02:40:12 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: Mike</title><link>http://davidwalsh.name/github-css/comment-page-1#comment-27462</link> <dc:creator>Mike</dc:creator> <pubDate>Sat, 05 Nov 2011 09:38:19 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4970#comment-27462</guid> <description>My code tag isnt displaying properly, it is input, type = button...the script automatically replaces all native buttons with these buttons and works perfectly in all browsers...anyways ill zip it up and post tomorrow i am sure someone will use it.</description> <content:encoded><![CDATA[<p>My code tag isnt displaying properly, it is input, type = button&#8230;the script automatically replaces all native buttons with these buttons and works perfectly in all browsers&#8230;anyways ill zip it up and post tomorrow i am sure someone will use it.</p> ]]></content:encoded> </item> <item><title>By: Mike</title><link>http://davidwalsh.name/github-css/comment-page-1#comment-27459</link> <dc:creator>Mike</dc:creator> <pubDate>Sat, 05 Nov 2011 09:32:51 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4970#comment-27459</guid> <description>I actually wrapped this up in a nice mooTools class for those of you using mooTools...uses the same image matrix and replaces on the fly all  on the fly with these buttons, supports multiple button sizes, all css rollovers, and fixes the error with having to click elsewhere on the page...if interested let me know I will zip it up and write up documentation....</description> <content:encoded><![CDATA[<p>I actually wrapped this up in a nice mooTools class for those of you using mooTools&#8230;uses the same image matrix and replaces on the fly all  on the fly with these buttons, supports multiple button sizes, all css rollovers, and fixes the error with having to click elsewhere on the page&#8230;if interested let me know I will zip it up and write up documentation&#8230;.</p> ]]></content:encoded> </item> <item><title>By: Jim</title><link>http://davidwalsh.name/github-css/comment-page-1#comment-27452</link> <dc:creator>Jim</dc:creator> <pubDate>Fri, 04 Nov 2011 15:10:24 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4970#comment-27452</guid> <description>can you provide the bakcround images as I really need them?</description> <content:encoded><![CDATA[<p>can you provide the bakcround images as I really need them?</p> ]]></content:encoded> </item> <item><title>By: Ali</title><link>http://davidwalsh.name/github-css/comment-page-1#comment-27439</link> <dc:creator>Ali</dc:creator> <pubDate>Thu, 03 Nov 2011 17:18:33 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4970#comment-27439</guid> <description>You should really have downloaded it rather than hotlinking as the original URL is no longer active.</description> <content:encoded><![CDATA[<p>You should really have downloaded it rather than hotlinking as the original URL is no longer active.</p> ]]></content:encoded> </item> <item><title>By: lazaac</title><link>http://davidwalsh.name/github-css/comment-page-1#comment-27437</link> <dc:creator>lazaac</dc:creator> <pubDate>Thu, 03 Nov 2011 15:56:30 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4970#comment-27437</guid> <description>it&#039;s seems that we have problem with : http://github.com/images/modules/buttons/minibutton_matrix.pnganyone here have the solution..?</description> <content:encoded><![CDATA[<p>it&#8217;s seems that we have problem with : <a
href="http://github.com/images/modules/buttons/minibutton_matrix.png" rel="nofollow">http://github.com/images/modules/buttons/minibutton_matrix.png</a></p><p>anyone here have the solution..?</p> ]]></content:encoded> </item> <item><title>By: Tom Pryor</title><link>http://davidwalsh.name/github-css/comment-page-1#comment-26969</link> <dc:creator>Tom Pryor</dc:creator> <pubDate>Sat, 24 Sep 2011 08:29:34 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4970#comment-26969</guid> <description>Excellent discussion, and great site, I find that I am here often these days.I wanted to add another button tool to the list that allows you to create 3 state buttons with only CSS. (no javascript, or plugins).Check it out here...
http://dvia.com/buttonMakerThe tool itself is pretty powerful and feature rich considering it is still in beta, but I hope to have 1.0 ready by years end.t</description> <content:encoded><![CDATA[<p>Excellent discussion, and great site, I find that I am here often these days.</p><p>I wanted to add another button tool to the list that allows you to create 3 state buttons with only CSS. (no javascript, or plugins).</p><p>Check it out here&#8230;<br
/> <a
href="http://dvia.com/buttonMaker" rel="nofollow">http://dvia.com/buttonMaker</a></p><p>The tool itself is pretty powerful and feature rich considering it is still in beta, but I hope to have 1.0 ready by years end.</p><p>t</p> ]]></content:encoded> </item> <item><title>By: Ali</title><link>http://davidwalsh.name/github-css/comment-page-1#comment-26749</link> <dc:creator>Ali</dc:creator> <pubDate>Mon, 29 Aug 2011 21:26:54 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4970#comment-26749</guid> <description>Thanks for the tutorial. We used them here (http://www.skyrill.com/seatinghabits) and added a link to your page too.</description> <content:encoded><![CDATA[<p>Thanks for the tutorial. We used them here (<a
href="http://www.skyrill.com/seatinghabits" rel="nofollow">http://www.skyrill.com/seatinghabits</a>) and added a link to your page too.</p> ]]></content:encoded> </item> <item><title>By: TeMc</title><link>http://davidwalsh.name/github-css/comment-page-1#comment-24317</link> <dc:creator>TeMc</dc:creator> <pubDate>Sun, 05 Jun 2011 00:12:14 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4970#comment-24317</guid> <description>&lt;code&gt;
jQuery.ready( function(){ ...
&lt;/code&gt;should be:
&lt;code&gt;
jQuery.fn.ready( function(){ ...
&lt;/code&gt;or
&lt;code&gt;
jQuery(document).ready( function(){ ...
&lt;/code&gt;</description> <content:encoded><![CDATA[<p><code><br
/> jQuery.ready( function(){ ...<br
/> </code></p><p>should be:<br
/> <code><br
/> jQuery.fn.ready( function(){ ...<br
/> </code></p><p>or<br
/> <code><br
/> jQuery(document).ready( function(){ ...<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: Andrew</title><link>http://davidwalsh.name/github-css/comment-page-1#comment-23675</link> <dc:creator>Andrew</dc:creator> <pubDate>Fri, 22 Apr 2011 16:09:11 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4970#comment-23675</guid> <description>I tried code above&lt;code&gt;My text&lt;/code&gt;And the button does not close well.The left image has 2-3 pixel gap from the rest of button</description> <content:encoded><![CDATA[<p>I tried code above</p><p><code>My text</code></p><p>And the button does not close well.The left image has 2-3 pixel gap from the rest of button</p> ]]></content:encoded> </item> <item><title>By: vino</title><link>http://davidwalsh.name/github-css/comment-page-1#comment-23466</link> <dc:creator>vino</dc:creator> <pubDate>Tue, 12 Apr 2011 04:33:17 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4970#comment-23466</guid> <description>If anyone is interested the YUI3 lib version of the JS, I use:
&lt;code&gt;
YUI().use(&#039;node&#039;, function(Y) {
function mouseBIn(e) {
var button = e.target;
button.addClass(&#039;mousedown&#039;);
}
function mouseBOut(e) {
var button = e.target;
button.removeClass(&#039;mousedown&#039;);
}
var buttons = Y.all(&#039;.minibutton&#039;);
buttons.on({
mousedown: mouseBIn,
blur: mouseBOut,
mouseup: mouseBOut,
mouseleave: mouseBOut,
mouseout: mouseBOut
});
});&lt;/code&gt;I use both onmouseout and onmouseleave (forgot why - but I think some brws&#039; support one and others the other) to counter for the leave effect mentioned in above comments.</description> <content:encoded><![CDATA[<p>If anyone is interested the YUI3 lib version of the JS, I use:<br
/> <code><br
/> YUI().use('node', function(Y) {<br
/> function mouseBIn(e) {<br
/> var button = e.target;<br
/> button.addClass('mousedown');<br
/> }<br
/> function mouseBOut(e) {<br
/> var button = e.target;<br
/> button.removeClass('mousedown');<br
/> }<br
/> var buttons = Y.all('.minibutton');<br
/> buttons.on({<br
/> mousedown: mouseBIn,<br
/> blur: mouseBOut,<br
/> mouseup: mouseBOut,<br
/> mouseleave: mouseBOut,<br
/> mouseout: mouseBOut<br
/> });<br
/> });</p><p></code></p><p>I use both onmouseout and onmouseleave (forgot why &#8211; but I think some brws&#8217; support one and others the other) to counter for the leave effect mentioned in above comments.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 2/18 queries in 0.016 seconds using disk: basic
Object Caching 866/868 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-08 23:51:54 -->
