<?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>Trent Richardson &#187; CSS</title> <atom:link href="http://trentrichardson.com/category/css/feed/" rel="self" type="application/rss+xml" /><link>http://trentrichardson.com</link> <description>practical web design &#38; development</description> <lastBuildDate>Wed, 25 Jan 2012 11:43:16 +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>Using Impress.js for a Car Bounce Video</title><link>http://trentrichardson.com/2012/01/25/using-impress-js-for-a-car-bounce-video/</link> <comments>http://trentrichardson.com/2012/01/25/using-impress-js-for-a-car-bounce-video/#comments</comments> <pubDate>Wed, 25 Jan 2012 11:43:16 +0000</pubDate> <dc:creator>trent</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[car bounce]]></category> <category><![CDATA[html]]></category> <category><![CDATA[presentation]]></category> <category><![CDATA[transformations]]></category><guid
isPermaLink="false">http://trentrichardson.com/?p=1088</guid> <description><![CDATA[I was pretty amazed when I first saw Impress.js. It&#8217;s ability to take a very simple html page and use transformations to create a presentation phenomenal. This plays right in to the hands of developers who want to create something snazzy, but do not have the video experience to do so. It is also probably [...]
Related posts:<ol><li><a
href='http://trentrichardson.com/2011/11/22/car-bounce-keep-up-with-your-cars-value/' rel='bookmark' title='Car Bounce &#8211; Keep Up with Your Car&#8217;s Value'>Car Bounce &#8211; Keep Up with Your Car&#8217;s Value</a></li></ol>]]></description> <content:encoded><![CDATA[<p>I was pretty amazed when I first saw <a
href="http://bartaz.github.com/impress.js/#/bored" title="Impress.js" target="_blank">Impress.js</a>.  It&#8217;s ability to take a very simple html page and use transformations to create a presentation phenomenal.  This plays right in to the hands of developers who want to create something snazzy, but do not have the video experience to do so.  It is also probably worth noting that it has likely been done before, but this is the first I&#8217;ve seen (I didn&#8217;t do much research on it, I was happy with what I saw).</p><p>Its process is simple, line up multiple container elements inside a container with id=&#8221;impress&#8221;, and supply those elements with a variety of data coordinates and scaling attributes, resulting in something like:</p><pre><code class="html">
&lt;div id="block1" class="step" data-x="1000" data-y="1500" data-rotate="90" data-scale="2"&gt;
    &lt;p>This is a test&lt;/p&gt;
&lt;/div&gt;
</code></pre><p>Impress will take the coordinates and scale and place them on your canvas.  You can also apply 3D effects too using the z for the 3rd dimension and rotate on the x and y axis:</p><pre><code class="html">
&lt;div class="block2" data-x="1500" data-y="2000" data-z="-100" data-rotate-x="-40" data-rotate-y="10" data-scale="2"&gt;
    &lt;p>This is a test&lt;/p&gt;
&lt;/div&gt;
</code></pre><p>Thats all, just line up these different containers in order and Impress does the rest.  Style them up a little and you have a snazzy presentation!  I will leave you with simple demo I came up with for CarBounce.com</p><p><iframe
width="480" height="360" src="http://www.youtube.com/embed/Fr5JreMYmlo?rel=0" frameborder="0" allowfullscreen></iframe></p><p>Related posts:<ol><li><a
href='http://trentrichardson.com/2011/11/22/car-bounce-keep-up-with-your-cars-value/' rel='bookmark' title='Car Bounce &#8211; Keep Up with Your Car&#8217;s Value'>Car Bounce &#8211; Keep Up with Your Car&#8217;s Value</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://trentrichardson.com/2012/01/25/using-impress-js-for-a-car-bounce-video/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Make jQueryUI and Timepicker More Beautiful</title><link>http://trentrichardson.com/2012/01/23/make-jqueryui-and-timepicker-more-beautiful/</link> <comments>http://trentrichardson.com/2012/01/23/make-jqueryui-and-timepicker-more-beautiful/#comments</comments> <pubDate>Mon, 23 Jan 2012 11:24:28 +0000</pubDate> <dc:creator>trent</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[Timepicker]]></category> <category><![CDATA[custom]]></category> <category><![CDATA[jquery]]></category> <category><![CDATA[jqueryui]]></category> <category><![CDATA[themes]]></category><guid
isPermaLink="false">http://trentrichardson.com/?p=1071</guid> <description><![CDATA[After some time the standard jQueryUI themes can get stale, boring, monotonous, and you need a fresh look. I&#8217;ve rounded up a couple very customized, non-&#8221;run of the mill&#8221; themes you should take a look at. Absolution (Github) is a very clean theme with support for Uniform and Wijmo. Uniform, as its name indicates, styles [...]
Related posts:<ol><li><a
href='http://trentrichardson.com/2008/04/15/new-impromput-theme/' rel='bookmark' title='New Impromptu Theme!'>New Impromptu Theme!</a></li><li><a
href='http://trentrichardson.com/2010/11/15/timepicker-0-8-bug-fix-galore/' rel='bookmark' title='Timepicker 0.8, Bug Fix Galore'>Timepicker 0.8, Bug Fix Galore</a></li><li><a
href='http://trentrichardson.com/2010/12/28/jquery-timepicker-addon-0-9-2-available/' rel='bookmark' title='jQuery Timepicker Addon 0.9.2 Available'>jQuery Timepicker Addon 0.9.2 Available</a></li></ol>]]></description> <content:encoded><![CDATA[<p><a
href="http://trentrichardson.com/wp-content/uploads/2012/01/absolution-timepicker.png"><img
src="http://trentrichardson.com/wp-content/uploads/2012/01/absolution-timepicker.png" alt="" title="absolution-timepicker" width="205" height="334" class="alignright size-full wp-image-1072" /></a></p><p>After some time the standard jQueryUI themes can get stale, boring, monotonous, and you need a fresh look.  I&#8217;ve rounded up a couple very customized, non-&#8221;run of the mill&#8221; themes you should take a look at.</p><p><a
href="http://www.michaelvanderheeren.be/archives/382" title="Absolution jQueryUI Theme" target="_blank">Absolution</a> (<a
href="https://github.com/michaelvanderheeren/Absolution" title="Absolution on Github" target="_blank">Github</a>) is a very clean theme with support for <a
href="http://uniformjs.com/" title="Uniform JS" target="_blank">Uniform</a> and <a
href="http://wijmo.com/" title="Wijmo UI Widgets" target="_blank">Wijmo</a>.  Uniform, as its name indicates, styles form elements to have a uniform look, across all browsers.  Drastically, improving the consistency of appearance.  Wijmo is a snazzy widget collection providing both an &#8220;Open&#8221; (open source) and &#8220;Complete&#8221; (commercial) set of widgets.  The developer has a few example widgets on their site showing off the look on all widgets. Another bonus is that development is handled with LESS, making it super easy to tweak.  I will definitely keep this close by for future development!</p><p><a
href="http://trentrichardson.com/wp-content/uploads/2012/01/Aristo-Timepicker.jpg"><img
src="http://trentrichardson.com/wp-content/uploads/2012/01/Aristo-Timepicker.jpg" alt="" title="Aristo-Timepicker" width="206" height="296" class="alignleft size-full wp-image-1073" /></a></p><p>A second theme worth a look is <a
href="http://taitems.tumblr.com/post/482577430/introducing-aristo-a-jquery-ui-theme" title="Aristo jQueryUI Theme" target="_blank">Aristo</a> (<a
href="https://github.com/taitems/Aristo-jQuery-UI-Theme" title="Aristo on Github" target="_blank">Github</a>), a port of Cappuccino.  It has a bit more of an OSX look, but still a very clean, beautiful theme.  An example of all widgets are included on the developer&#8217;s site.</p><p>Just looking over the Absolution I am impressed with how LESS makes this look so more portable and themable than if only the CSS were provided.  I definitely need to get up to speed on using LESS and the compiler.  Better keep an eye out for integration on an upcoming project ;)</p><p>Both of these themes appear to work very well with Timepicker as well as the SliderAccess plugin, and are a nice compliment to most any jQueryUI based project!  I&#8217;m still on the hunt for more quality custom jQueryUI themes for projects, so if you know of any please post them!</p><p>Related posts:<ol><li><a
href='http://trentrichardson.com/2008/04/15/new-impromput-theme/' rel='bookmark' title='New Impromptu Theme!'>New Impromptu Theme!</a></li><li><a
href='http://trentrichardson.com/2010/11/15/timepicker-0-8-bug-fix-galore/' rel='bookmark' title='Timepicker 0.8, Bug Fix Galore'>Timepicker 0.8, Bug Fix Galore</a></li><li><a
href='http://trentrichardson.com/2010/12/28/jquery-timepicker-addon-0-9-2-available/' rel='bookmark' title='jQuery Timepicker Addon 0.9.2 Available'>jQuery Timepicker Addon 0.9.2 Available</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://trentrichardson.com/2012/01/23/make-jqueryui-and-timepicker-more-beautiful/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Clientside Plugin Available for Gedit 3</title><link>http://trentrichardson.com/2011/12/15/clientside-plugin-available-for-gedit-3/</link> <comments>http://trentrichardson.com/2011/12/15/clientside-plugin-available-for-gedit-3/#comments</comments> <pubDate>Thu, 15 Dec 2011 11:34:57 +0000</pubDate> <dc:creator>trent</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[clientside]]></category> <category><![CDATA[format]]></category> <category><![CDATA[gedit]]></category> <category><![CDATA[lint]]></category> <category><![CDATA[minify]]></category> <category><![CDATA[plugin]]></category><guid
isPermaLink="false">http://trentrichardson.com/?p=1053</guid> <description><![CDATA[The Gedit Clientside plugin is now available for Gedit 3. All the features remained the same, just some minor tweaks throughout. You can still find both Gedit versions of the plugin on Github: Clientside Plugin for Gedit 3+ Clientside Plugin for Gedit 2 I moved the old Gedit 2 version to a separate branch on [...]
Related posts:<ol><li><a
href='http://trentrichardson.com/2011/03/02/gedit-clientside-plugin-gets-batch-minify-option/' rel='bookmark' title='Gedit Clientside Plugin gets Batch Minify Option'>Gedit Clientside Plugin gets Batch Minify Option</a></li><li><a
href='http://trentrichardson.com/2010/11/30/gedit-clientside-plugin/' rel='bookmark' title='Gedit Clientside Plugin'>Gedit Clientside Plugin</a></li><li><a
href='http://trentrichardson.com/2011/09/23/updated-lint-for-clientside/' rel='bookmark' title='Updated Lint for Clientside'>Updated Lint for Clientside</a></li></ol>]]></description> <content:encoded><![CDATA[<p>The Gedit Clientside plugin is now available for Gedit 3.  All the features remained the same, just some minor tweaks throughout.  You can still find both Gedit versions of the plugin on Github:</p><ul><li><a
href="https://github.com/trentrichardson/Gedit-Clientside-Plugin" title="Clientside Plugin for Gedit 3+" target="_blank">Clientside Plugin for Gedit 3+</a></li><li><a
href="https://github.com/trentrichardson/Gedit-Clientside-Plugin/tree/Gedit2" title="Clientside Plugin for Gedit 2" target="_blank">Clientside Plugin for Gedit 2</a></li></ul><p>I moved the old Gedit 2 version to a separate branch on Github, so both versions of the project are still available.</p><p>If you&#8217;re unfamiliar with the Clientside plugin you just found a real gem.  The plugin bundles together functionality to minify, format, batch minify, and run a lint service on both Javascript and CSS.  Hope you enjoy!</p><p>Related posts:<ol><li><a
href='http://trentrichardson.com/2011/03/02/gedit-clientside-plugin-gets-batch-minify-option/' rel='bookmark' title='Gedit Clientside Plugin gets Batch Minify Option'>Gedit Clientside Plugin gets Batch Minify Option</a></li><li><a
href='http://trentrichardson.com/2010/11/30/gedit-clientside-plugin/' rel='bookmark' title='Gedit Clientside Plugin'>Gedit Clientside Plugin</a></li><li><a
href='http://trentrichardson.com/2011/09/23/updated-lint-for-clientside/' rel='bookmark' title='Updated Lint for Clientside'>Updated Lint for Clientside</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://trentrichardson.com/2011/12/15/clientside-plugin-available-for-gedit-3/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>jQuery Timepicker Addon 0.9.8 Available</title><link>http://trentrichardson.com/2011/12/07/jquery-timepicker-addon-0-9-8-available/</link> <comments>http://trentrichardson.com/2011/12/07/jquery-timepicker-addon-0-9-8-available/#comments</comments> <pubDate>Wed, 07 Dec 2011 11:18:24 +0000</pubDate> <dc:creator>trent</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[Timepicker]]></category> <category><![CDATA[date]]></category> <category><![CDATA[jquery]]></category> <category><![CDATA[localizations]]></category> <category><![CDATA[mobile]]></category> <category><![CDATA[picker]]></category> <category><![CDATA[time]]></category> <category><![CDATA[touch]]></category> <category><![CDATA[translations]]></category><guid
isPermaLink="false">http://trentrichardson.com/?p=1049</guid> <description><![CDATA[A new jQueryUI Timepicker Addon is now available. With this release comes many additions, including support for touch/mobile devices through integration with the sliderAccess plugin. Here is an overview list of the updates: Fix Daylight Savings bug. Fix and Add several localizations/translations. Fixed getter/setter bug. Fixed timepicker update issue with undefined &#8220;inst&#8221;. Updated CSS and [...]
Related posts:<ol><li><a
href='http://trentrichardson.com/2011/10/04/jquery-timepicker-addon-0-9-7-now-available/' rel='bookmark' title='jQuery Timepicker Addon 0.9.7 Now Available'>jQuery Timepicker Addon 0.9.7 Now Available</a></li><li><a
href='http://trentrichardson.com/2011/12/05/add-ui-slider-accessibility-to-timepicker/' rel='bookmark' title='Add UI-Slider Accessibility to Timepicker'>Add UI-Slider Accessibility to Timepicker</a></li><li><a
href='http://trentrichardson.com/2010/04/19/timepicker-addon-for-jquery-ui-datepicker/' rel='bookmark' title='Timepicker Addon for jQuery UI Datepicker'>Timepicker Addon for jQuery UI Datepicker</a></li></ol>]]></description> <content:encoded><![CDATA[<p>A new <a
href="http://trentrichardson.com/examples/timepicker/" title="jQuery Timepicker Addon">jQueryUI Timepicker Addon</a> is now available.  With this release comes many additions, including support for touch/mobile devices through <a
href="http://trentrichardson.com/2011/12/05/add-ui-slider-accessibility-to-timepicker/" title="Timepicker Addon integration with sliderAccess for Touch and Mobile Devices">integration with the sliderAccess plugin</a>.  Here is an overview list of the updates:</p><ul><li>Fix Daylight Savings bug.</li><li>Fix and Add several localizations/translations.</li><li>Fixed getter/setter bug.</li><li>Fixed timepicker update issue with undefined &#8220;inst&#8221;.</li><li>Updated CSS and generated markup.</li><li>Added integration with sliderAccess for touch devices.</li></ul><p>As always feel free to check out <a
href="https://github.com/trentrichardson/jQuery-Timepicker-Addon" title="Timepicker on Github" target="_blank">timepicker on Github</a>.  If you&#8217;re upgrading be sure to grab the new CSS, as the markup generated has been changed.  Hope you enjoy!</p><p>Related posts:<ol><li><a
href='http://trentrichardson.com/2011/10/04/jquery-timepicker-addon-0-9-7-now-available/' rel='bookmark' title='jQuery Timepicker Addon 0.9.7 Now Available'>jQuery Timepicker Addon 0.9.7 Now Available</a></li><li><a
href='http://trentrichardson.com/2011/12/05/add-ui-slider-accessibility-to-timepicker/' rel='bookmark' title='Add UI-Slider Accessibility to Timepicker'>Add UI-Slider Accessibility to Timepicker</a></li><li><a
href='http://trentrichardson.com/2010/04/19/timepicker-addon-for-jquery-ui-datepicker/' rel='bookmark' title='Timepicker Addon for jQuery UI Datepicker'>Timepicker Addon for jQuery UI Datepicker</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://trentrichardson.com/2011/12/07/jquery-timepicker-addon-0-9-8-available/feed/</wfw:commentRss> <slash:comments>36</slash:comments> </item> <item><title>Impromptu 3.2 Gets Quick Update</title><link>http://trentrichardson.com/2011/11/04/impromptu-3-2-gets-quick-update/</link> <comments>http://trentrichardson.com/2011/11/04/impromptu-3-2-gets-quick-update/#comments</comments> <pubDate>Fri, 04 Nov 2011 11:20:29 +0000</pubDate> <dc:creator>trent</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Impromptu]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[alert]]></category> <category><![CDATA[confirm]]></category> <category><![CDATA[form]]></category> <category><![CDATA[jquery]]></category> <category><![CDATA[lighbox]]></category> <category><![CDATA[modal]]></category> <category><![CDATA[overlay]]></category> <category><![CDATA[prompt]]></category><guid
isPermaLink="false">http://trentrichardson.com/?p=994</guid> <description><![CDATA[If you recently downloaded Impromptu 3.2, you may want to grab it again. A small bug was fixed. I didn&#8217;t find it worth while to create a new version, it was a line of code. On top of that the bug was merely a visual detail, and not critical. Long story short the overlay always [...]
Related posts:<ol><li><a
href='http://trentrichardson.com/2011/10/14/impromptu-3-2-mobile-jquery-prompts/' rel='bookmark' title='Impromptu 3.2 &#8211; Mobile jQuery Prompts'>Impromptu 3.2 &#8211; Mobile jQuery Prompts</a></li><li><a
href='http://trentrichardson.com/2010/04/01/impromptu-3-1-is-here/' rel='bookmark' title='Impromptu 3.1 is Here'>Impromptu 3.1 is Here</a></li><li><a
href='http://trentrichardson.com/2011/06/20/jquery-impromptu-now-on-github/' rel='bookmark' title='jQuery Impromptu Now on Github'>jQuery Impromptu Now on Github</a></li></ol>]]></description> <content:encoded><![CDATA[<p>If you recently downloaded Impromptu 3.2, you may want to grab it again.  A small bug was fixed.  I didn&#8217;t find it worth while to create a new version, it was a line of code.  On top of that the bug was merely a visual detail, and not critical.  Long story short the overlay always stopped a few pixels short of the bottom of the document.  Thanks to the users for catching this!  Enjoy!</p><p><a
href="http://trentrichardson.com/Impromptu/" title="jQuery Impromptu Download and Documentation">jQuery Impromptu Download and Docuentation</a></p><p>Related posts:<ol><li><a
href='http://trentrichardson.com/2011/10/14/impromptu-3-2-mobile-jquery-prompts/' rel='bookmark' title='Impromptu 3.2 &#8211; Mobile jQuery Prompts'>Impromptu 3.2 &#8211; Mobile jQuery Prompts</a></li><li><a
href='http://trentrichardson.com/2010/04/01/impromptu-3-1-is-here/' rel='bookmark' title='Impromptu 3.1 is Here'>Impromptu 3.1 is Here</a></li><li><a
href='http://trentrichardson.com/2011/06/20/jquery-impromptu-now-on-github/' rel='bookmark' title='jQuery Impromptu Now on Github'>jQuery Impromptu Now on Github</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://trentrichardson.com/2011/11/04/impromptu-3-2-gets-quick-update/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Updated Lint for Clientside</title><link>http://trentrichardson.com/2011/09/23/updated-lint-for-clientside/</link> <comments>http://trentrichardson.com/2011/09/23/updated-lint-for-clientside/#comments</comments> <pubDate>Fri, 23 Sep 2011 11:04:53 +0000</pubDate> <dc:creator>trent</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[beautify]]></category> <category><![CDATA[clientside]]></category> <category><![CDATA[format]]></category> <category><![CDATA[gedit]]></category> <category><![CDATA[js]]></category> <category><![CDATA[lint]]></category> <category><![CDATA[minify]]></category> <category><![CDATA[plugin]]></category><guid
isPermaLink="false">http://trentrichardson.com/?p=940</guid> <description><![CDATA[For those fans of Gedit and Clientside plugin it is time for you to update! The plugin now has updated versions of CSSLint, JSLint, and JSBeautify. As you may know Clientside Plugin provides several utilities to Gedit for working with CSS and Javascript, including minifying, formatting, and error checking/lint. Also as a bonus it can [...]
Related posts:<ol><li><a
href='http://trentrichardson.com/2011/03/02/gedit-clientside-plugin-gets-batch-minify-option/' rel='bookmark' title='Gedit Clientside Plugin gets Batch Minify Option'>Gedit Clientside Plugin gets Batch Minify Option</a></li><li><a
href='http://trentrichardson.com/2010/11/30/gedit-clientside-plugin/' rel='bookmark' title='Gedit Clientside Plugin'>Gedit Clientside Plugin</a></li><li><a
href='http://trentrichardson.com/2011/06/29/gedit-clientside-now-with-csslint/' rel='bookmark' title='Gedit Clientside Now with CSSLint'>Gedit Clientside Now with CSSLint</a></li></ol>]]></description> <content:encoded><![CDATA[<p>For those fans of Gedit and Clientside plugin it is time for you to update!  The plugin now has updated versions of CSSLint, JSLint, and JSBeautify.</p><p>As you may know <a
href="http://trentrichardson.com/2010/11/30/gedit-clientside-plugin/" title="Gedit Clientside Plugin for CSS and Javascript" target="_blank">Clientside Plugin</a> provides several utilities to <a
href="http://projects.gnome.org/gedit/" title="Gedit" target="_blank">Gedit</a> for working with CSS and Javascript, including minifying, formatting, and error checking/lint.  Also as a bonus it can batch minify multiple css or javascript files.  Where it really comes in handy is formatting old code from yesteryear, when the developer had no coding style at all.</p><p>Related posts:<ol><li><a
href='http://trentrichardson.com/2011/03/02/gedit-clientside-plugin-gets-batch-minify-option/' rel='bookmark' title='Gedit Clientside Plugin gets Batch Minify Option'>Gedit Clientside Plugin gets Batch Minify Option</a></li><li><a
href='http://trentrichardson.com/2010/11/30/gedit-clientside-plugin/' rel='bookmark' title='Gedit Clientside Plugin'>Gedit Clientside Plugin</a></li><li><a
href='http://trentrichardson.com/2011/06/29/gedit-clientside-now-with-csslint/' rel='bookmark' title='Gedit Clientside Now with CSSLint'>Gedit Clientside Now with CSSLint</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://trentrichardson.com/2011/09/23/updated-lint-for-clientside/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Adding Tooltip to Timepicker Sliders</title><link>http://trentrichardson.com/2011/08/31/adding-tooltip-to-timepicker-sliders/</link> <comments>http://trentrichardson.com/2011/08/31/adding-tooltip-to-timepicker-sliders/#comments</comments> <pubDate>Wed, 31 Aug 2011 11:24:02 +0000</pubDate> <dc:creator>trent</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[Timepicker]]></category> <category><![CDATA[datepicker]]></category> <category><![CDATA[jquery]]></category> <category><![CDATA[qtip]]></category> <category><![CDATA[slider]]></category> <category><![CDATA[tooltips]]></category> <category><![CDATA[ui]]></category><guid
isPermaLink="false">http://trentrichardson.com/?p=932</guid> <description><![CDATA[I had a timepicker user ask recently about adding a tooltip to the timepicker&#8217;s sliders. Well I thought that may be a nice topic to touch on, as it can be a bit tricky, and potentially a bit of a hack. I opted to show you a quick hack solution instead of a detailed integrated [...]
Related posts:<ol><li><a
href='http://trentrichardson.com/2011/12/05/add-ui-slider-accessibility-to-timepicker/' rel='bookmark' title='Add UI-Slider Accessibility to Timepicker'>Add UI-Slider Accessibility to Timepicker</a></li><li><a
href='http://trentrichardson.com/2011/11/11/jquery-ui-sliders-and-touch-accessibility/' rel='bookmark' title='jQuery UI Sliders and Touch Accessibility'>jQuery UI Sliders and Touch Accessibility</a></li><li><a
href='http://trentrichardson.com/2010/10/08/new-timepicker-feature-time-grid/' rel='bookmark' title='New Timepicker Feature: Time Grid'>New Timepicker Feature: Time Grid</a></li></ol>]]></description> <content:encoded><![CDATA[<p><a
href="http://trentrichardson.com/wp-content/uploads/2011/08/Timepicker_with_Tooltips.png"><img
src="http://trentrichardson.com/wp-content/uploads/2011/08/Timepicker_with_Tooltips.png" alt="Timepicker with Tooltips" title="Timepicker_with_Tooltips" width="226" height="314" class="alignright size-full wp-image-936" /></a></p><p>I had a timepicker user ask recently about adding a tooltip to the timepicker&#8217;s sliders.  Well I thought that may be a nice topic to touch on, as it can be a bit tricky, and potentially a bit of a hack.  I opted to show you a quick hack solution instead of a detailed integrated solution as I figure it be clearer.  I used the fancy <a
href="http://craigsworks.com/projects/qtip2/" title="qTip2" target="_blank">qTip2</a> library for the tooltips here, but I figure most any library would work equally the same.</p><p>Lets dive right in.  We first need to know when and how to access our sliders.  This can be tricky and where I mentioned above I could provide a more integrated solution, but for most uses this hack would be the most clear cut way as it simply uses the beforeShow event of datepicker.  Timepicker adds a third option to this event which is a timepicker instance:</p><pre class="js">
beforeShow(input, dp_inst, tp_inst){ /*...*/ }
</pre><p>Now the only problem here is that even though there is a timepicker instance, it has not yet generated any html (neither has datepicker), so you will notice a timeout, which allows a second for this to occur.  Once the timeout occurs you will notice some pretty straight forward code: Grab the sliders (and handles), add tooltips to the handles, and update the tooltip text on the slide event.</p><p>Now lets take a look at the entire solution:</p><pre class="js">
$(document).ready(function() {

	$('#datepicker1').datetimepicker({
		stepHour: 1,
		stepMinute: 1,
		beforeShow: function(input, dp_inst, tp_inst){
			setTimeout(function(){

				var $sliders = $().add(tp_inst.hour_slider).add(tp_inst.minute_slider);

				$sliders.each(function(i, obj){
					var $t = $(this);
					var handle = $('.ui-slider-handle', $t);

					handle.qtip({
						content: '' + parseInt($t.slider('option', 'value'), 10),
						position: {
							my: 'bottom center',
							at: 'top center',
							container: handle
						},
						show: {
							delay: 100
						},
						style: {
							classes: 'ui-tooltip-slider',
							widget: true
						}
					});

					$t.bind("slide", function(event, ui){
						var val = $t.slider('option', 'value');
						handle.qtip('option', 'content.text', '' + parseInt(val,10) );
					});
				}); // end each

			}, 10); // must give datepicker a second to create itself as it has not done so at this point
		}
	});

});
</pre><p>I did notice a performance issue with my stepHour, stepMinute, so I had to adjust those to 1 as the event for slide was firing too much.  That&#8217;s all! A quick tooltip solution to jQuery Timepicker Addon sliders!  Enjoy!</p><p>Related posts:<ol><li><a
href='http://trentrichardson.com/2011/12/05/add-ui-slider-accessibility-to-timepicker/' rel='bookmark' title='Add UI-Slider Accessibility to Timepicker'>Add UI-Slider Accessibility to Timepicker</a></li><li><a
href='http://trentrichardson.com/2011/11/11/jquery-ui-sliders-and-touch-accessibility/' rel='bookmark' title='jQuery UI Sliders and Touch Accessibility'>jQuery UI Sliders and Touch Accessibility</a></li><li><a
href='http://trentrichardson.com/2010/10/08/new-timepicker-feature-time-grid/' rel='bookmark' title='New Timepicker Feature: Time Grid'>New Timepicker Feature: Time Grid</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://trentrichardson.com/2011/08/31/adding-tooltip-to-timepicker-sliders/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Clientside Discussion</title><link>http://trentrichardson.com/2011/06/30/clientside-discussion/</link> <comments>http://trentrichardson.com/2011/06/30/clientside-discussion/#comments</comments> <pubDate>Thu, 30 Jun 2011 11:53:43 +0000</pubDate> <dc:creator>trent</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[clientside]]></category> <category><![CDATA[coffeescript]]></category> <category><![CDATA[gedit]]></category> <category><![CDATA[less]]></category><guid
isPermaLink="false">http://trentrichardson.com/?p=876</guid> <description><![CDATA[I keep seeing mention of a few &#8220;preprocessors&#8221; for javascript and css, including CoffeeScript, Sass, and Less. I personally don&#8217;t see the need in these tools, but apparently they are all the rave at the moment. Essentially what these do is allow you to write in a more functional language/script, and compiles it down to [...]
Related posts:<ol><li><a
href='http://trentrichardson.com/2011/03/02/gedit-clientside-plugin-gets-batch-minify-option/' rel='bookmark' title='Gedit Clientside Plugin gets Batch Minify Option'>Gedit Clientside Plugin gets Batch Minify Option</a></li><li><a
href='http://trentrichardson.com/2011/06/29/gedit-clientside-now-with-csslint/' rel='bookmark' title='Gedit Clientside Now with CSSLint'>Gedit Clientside Now with CSSLint</a></li><li><a
href='http://trentrichardson.com/2011/09/23/updated-lint-for-clientside/' rel='bookmark' title='Updated Lint for Clientside'>Updated Lint for Clientside</a></li></ol>]]></description> <content:encoded><![CDATA[<p>I keep seeing mention of a few &#8220;preprocessors&#8221; for javascript and css, including <a
href="http://jashkenas.github.com/coffee-script/">CoffeeScript</a>, <a
href="http://sass-lang.com/">Sass</a>, and <a
href="http://lesscss.org/">Less</a>.  I personally don&#8217;t see the need in these tools, but apparently they are all the rave at the moment.  Essentially what these do is allow you to write in a more functional language/script, and compiles it down to cross browser css or javascript.  I have a few questions of my own, specifically how the work with existing frameworks like jQuery or Mootools (accessing objects from the Coffee side).  If anyone has any input on this or experience please share.</p><p>The main topic of this post however concerns the <a
href="http://trentrichardson.com/2010/11/30/gedit-clientside-plugin/">Gedit Clientside Plugin</a>.  It appears it would be possible to easily integrate CoffeeScript and Less into Clientside, since they both work well with node.js.  One user suggested before adding support for Sass, however that seems to be more geared toward Ruby.  The question is would this be a valuable/used component if added to the Clientside plugin?  This plugin is geared towards helping manipulate, format, and debug clientside languages, and these do fall into this category, but I don&#8217;t want to begin cluttering the plugin with useless tools, and waist time keeping up with the latest CoffeeScript and Less plugins.</p><p>On another potential change to Clientside would be to consolidate the menu.  Instead of having separate JS and CSS items for minify, format, lint, and batch minify, there could be one menu item for each, and depending on the document type process it accordingly.  So considering this change, we could add one more menu item called &#8220;Compile: Coffee/Less&#8221;.  I look forward to hearing your thoughts!</p><p>Related posts:<ol><li><a
href='http://trentrichardson.com/2011/03/02/gedit-clientside-plugin-gets-batch-minify-option/' rel='bookmark' title='Gedit Clientside Plugin gets Batch Minify Option'>Gedit Clientside Plugin gets Batch Minify Option</a></li><li><a
href='http://trentrichardson.com/2011/06/29/gedit-clientside-now-with-csslint/' rel='bookmark' title='Gedit Clientside Now with CSSLint'>Gedit Clientside Now with CSSLint</a></li><li><a
href='http://trentrichardson.com/2011/09/23/updated-lint-for-clientside/' rel='bookmark' title='Updated Lint for Clientside'>Updated Lint for Clientside</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://trentrichardson.com/2011/06/30/clientside-discussion/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Gedit Clientside Now with CSSLint</title><link>http://trentrichardson.com/2011/06/29/gedit-clientside-now-with-csslint/</link> <comments>http://trentrichardson.com/2011/06/29/gedit-clientside-now-with-csslint/#comments</comments> <pubDate>Wed, 29 Jun 2011 11:39:25 +0000</pubDate> <dc:creator>trent</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[clientside]]></category> <category><![CDATA[gedit]]></category> <category><![CDATA[lint]]></category><guid
isPermaLink="false">http://trentrichardson.com/?p=865</guid> <description><![CDATA[It only feels right to include a lint method for CSS since javascript has had support in the Gedit Clientside Plugin from the beginning. The latest commit over on Github now includes CSSLint through the nodejs hookup. Don&#8217;t worry, if you had it working before all you need to do is update your plugin. The [...]
Related posts:<ol><li><a
href='http://trentrichardson.com/2011/09/23/updated-lint-for-clientside/' rel='bookmark' title='Updated Lint for Clientside'>Updated Lint for Clientside</a></li><li><a
href='http://trentrichardson.com/2010/11/30/gedit-clientside-plugin/' rel='bookmark' title='Gedit Clientside Plugin'>Gedit Clientside Plugin</a></li><li><a
href='http://trentrichardson.com/2011/03/02/gedit-clientside-plugin-gets-batch-minify-option/' rel='bookmark' title='Gedit Clientside Plugin gets Batch Minify Option'>Gedit Clientside Plugin gets Batch Minify Option</a></li></ol>]]></description> <content:encoded><![CDATA[<p>It only feels right to include a lint method for CSS since javascript has had support in the <a
href="http://trentrichardson.com/2010/11/30/gedit-clientside-plugin/">Gedit Clientside Plugin</a> from the beginning.  The latest commit over on <a
href="https://github.com/trentrichardson/Gedit-Clientside-Plugin">Github</a> now includes <a
href="https://github.com/stubbornella/csslint">CSSLint</a> through the nodejs hookup.  Don&#8217;t worry, if you had it working before all you need to do is update your plugin.</p><p><a
href="http://trentrichardson.com/wp-content/uploads/2011/06/gedit-clientside-csslint.png"><img
src="http://trentrichardson.com/wp-content/uploads/2011/06/gedit-clientside-csslint.png" alt="Gedit Clientside Plugin with CSSLint" title="gedit-clientside-csslint" width="461" height="225" class="alignright size-full wp-image-874" /></a></p><p>The new CSSLint functionality works the same as JS Lint, through Tools->Clientside->CSS, or through the shortcut Alt+Shift+U.  If there are any errors you will see them in the bottom panel under a tab called Clientside Issues.</p><p>Now the next step is to get Clientside plugin working with Gedit 3.  I know this will take a bit of reworking, but honestly I&#8217;m still using classic gnome, not Unity or Gnome3.  While I would like to have a version for both, its not priority at the moment.  I plan to start using either Unity or Gnome 3 with Ubuntu&#8217;s next release.  I felt it was too soon for this round, and didn&#8217;t have time for a cut in productivity trying to get things straightened out.</p><p>Related posts:<ol><li><a
href='http://trentrichardson.com/2011/09/23/updated-lint-for-clientside/' rel='bookmark' title='Updated Lint for Clientside'>Updated Lint for Clientside</a></li><li><a
href='http://trentrichardson.com/2010/11/30/gedit-clientside-plugin/' rel='bookmark' title='Gedit Clientside Plugin'>Gedit Clientside Plugin</a></li><li><a
href='http://trentrichardson.com/2011/03/02/gedit-clientside-plugin-gets-batch-minify-option/' rel='bookmark' title='Gedit Clientside Plugin gets Batch Minify Option'>Gedit Clientside Plugin gets Batch Minify Option</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://trentrichardson.com/2011/06/29/gedit-clientside-now-with-csslint/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>A Few New Colors, and Some Moo</title><link>http://trentrichardson.com/2011/06/08/a-few-new-colors-and-some-moo/</link> <comments>http://trentrichardson.com/2011/06/08/a-few-new-colors-and-some-moo/#comments</comments> <pubDate>Wed, 08 Jun 2011 11:41:53 +0000</pubDate> <dc:creator>trent</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Design]]></category> <category><![CDATA[Impromptu]]></category> <category><![CDATA[Javascript]]></category><guid
isPermaLink="false">http://trentrichardson.com/?p=826</guid> <description><![CDATA[I swapped out a couple dark colors here on the site for something a little lighter. I also made a transition from jQuery to Mootools, which wasn&#8217;t much of a move as syntax highlighting and an Impromptu form were the only things I had going on here. It gave me a good opportunity to have [...]
Related posts:<ol><li><a
href='http://trentrichardson.com/2007/11/05/mootools-vs-jquery-speed-smoothness-friendliest/' rel='bookmark' title='Mootools vs. jQuery: Speed, Smoothness, Friendliest'>Mootools vs. jQuery: Speed, Smoothness, Friendliest</a></li><li><a
href='http://trentrichardson.com/2010/10/13/moopromptu-works-with-mootools-1-3/' rel='bookmark' title='Moopromptu works with Mootools 1.3'>Moopromptu works with Mootools 1.3</a></li><li><a
href='http://trentrichardson.com/2008/09/15/jstween-javascript-tweening/' rel='bookmark' title='JSTween: Javascript Tweening'>JSTween: Javascript Tweening</a></li></ol>]]></description> <content:encoded><![CDATA[<p>I swapped out a couple dark colors here on the site for something a little lighter.  I also made a transition from jQuery to Mootools, which wasn&#8217;t much of a move as syntax highlighting and an <a
href="http://trentrichardson.com/Impromptu/">Impromptu</a> form were the only things I had going on here.  It gave me a good opportunity to have a practical use for &#8220;Moopromptu&#8221;.  For the syntax highlighter I decided to go with <a
href="http://pradador.com/code/lighterjs/">Lighter</a>.  Lighter seems to work well, but I had to use the compatibility option with mootools.  In all I think I may have reduced the total file sizes a little, but not enough to make a big difference considering the amount of traffic I receive.</p><p>I guess I should have been a designer?.. I won&#8217;t quit my day job&#8230;</p><p>Related posts:<ol><li><a
href='http://trentrichardson.com/2007/11/05/mootools-vs-jquery-speed-smoothness-friendliest/' rel='bookmark' title='Mootools vs. jQuery: Speed, Smoothness, Friendliest'>Mootools vs. jQuery: Speed, Smoothness, Friendliest</a></li><li><a
href='http://trentrichardson.com/2010/10/13/moopromptu-works-with-mootools-1-3/' rel='bookmark' title='Moopromptu works with Mootools 1.3'>Moopromptu works with Mootools 1.3</a></li><li><a
href='http://trentrichardson.com/2008/09/15/jstween-javascript-tweening/' rel='bookmark' title='JSTween: Javascript Tweening'>JSTween: Javascript Tweening</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://trentrichardson.com/2011/06/08/a-few-new-colors-and-some-moo/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/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 5/94 queries in 0.044 seconds using disk: basic
Object Caching 2817/2884 objects using disk: basic

Served from: trentrichardson.com @ 2012-02-03 21:24:21 -->
