David Walsh RSS-feed
Organized Selector Chaos with dojo.behavior
One of the most underrated parts of writing good JavaScript code is writing *maintainable* code: readable, modular, and clean. Just because you use a JavaScript framework doesn’t mean your code is maintainable. Quick the contrary could be true — some frameworks make JavaScript uglier. Because of all the DOM node traversal that’s involved with modern [...]
Follow Me! Twitter | Facebook | LinkedIn | MooTools Forge.
Full David Walsh Blog Post: Organized Selector Chaos with dojo.behavior
- dojo.connect: A Powerful Object and Event Listener
- Create a Context Menu with Dojo and Dijit
- Animated AJAX Record Deletion Using Dojo
- QuickBoxes for Dojo
- The Beauty of dojo.require()
Posted on 6 September 2010 | 2:02 pm
Source: David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.
Those of you who visit this blog often know that I have a certain love for the simple things: simple CSS enhancements, simple PHP scripts, and most importantly, simple JavaScript plugins. One plugin that recently caught my attention was Arieh Glazer Event.Mock plugin. Event.Mock is a tiny MooTools plugin (essentially just a small function; not [...]
Follow Me! Twitter | Facebook | LinkedIn | MooTools Forge.
Full David Walsh Blog Post: MooTools Plugin: Event.Mock
- dojo.connect: A Powerful Object and Event Listener
- MooTools Tip: Event.stop
- Count MooTools Events Per Element in MooTools 1.2
- Implement MooTools’ Elements.addEvent in jQuery
- New MooTools Plugin: ElementFilter
Posted on 2 September 2010 | 3:12 am
Source: David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.
Duplicate the jQuery Homepage Tooltips
The jQuery homepage has a pretty suave tooltip-like effect as seen below: The amount of jQuery required to duplicate this effect is next to nothing; in fact, there’s more CSS than there is jQuery code! Let’s explore how we can duplicate jQuery’s tooltip effect. View Demo The HTML The overall structure includes a wrapping DIV element [...]
Follow Me! Twitter | Facebook | LinkedIn | MooTools Forge.
Full David Walsh Blog Post: Duplicate the jQuery Homepage Tooltips
- Duplicate the jQuery Homepage Tooltips Using MooTools
- Duplicate the jQuery Homepage Tooltips Using Dojo
- MooTools 1.2 Tooltips: Customize Your Tips
- Sexy Album Art with MooTools or jQuery
- TextboxList for MooTools and jQuery by Guillermo Rauch
Posted on 31 August 2010 | 1:48 pm
Source: David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.
Quick Tip: Object Indexing vs. Array Collection
The Setup & Goal Let’s say that we have one large text document and we have a a bunch of keywords that we want to parse the document for. We don’t care how many times times the keyword appears — we just care that it’s been used. When we find a keyword, we need to record [...]
Follow Me! Twitter | Facebook | LinkedIn | MooTools Forge.
Full David Walsh Blog Post: Quick Tip: Object Indexing vs. Array Collection
- Element Collection Manipulation Shortcut Using MooTools 1.2
- Implementing an Array.count() Method in JavaScript
- dojo.connect: A Powerful Object and Event Listener
- Implement Array Shuffling in MooTools
- Access JavaScript Object Variable Properties
Posted on 26 August 2010 | 1:47 pm
Source: David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.
Create a Twitter AJAX Button with MooTools, jQuery, or Dojo
There’s nothing like a subtle, slick website widget that effectively uses CSS and JavaScript to enhance the user experience. Of course widgets like that take many hours to perfect, but it doesn’t take long for that effort to be rewarded with above-average user retention and buzz. One of the widgets I love is Twitter’s “Follow” [...]
Follow Me! Twitter | Facebook | LinkedIn | MooTools Forge.
Full David Walsh Blog Post: Create a Twitter AJAX Button with MooTools, jQuery, or Dojo
- Create Twitter-Style Buttons with the Dojo Toolkit
- Create GitHub-Style Buttons with CSS and jQuery, MooTools, or Dojo JavaScript
- Animated AJAX Record Deletion Using Dojo
- Create an Animated Sliding Button Using MooTools
- Create Twitter-Style Dropdowns Using jQuery
Posted on 25 August 2010 | 3:28 am
Source: David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.
Create a Dynamic Flickr Image Search with the Dojo Toolkit
The Dojo Toolkit is a treasure chest of great JavaScript classes. You can find basic JavaScript functionality classes for AJAX, node manipulation, animations, and the like within Dojo. You can find elegant, functional UI widgets like DropDown Menus, tabbed interfaces, and form element replacements within Dijit. In DojoX you can find charting libraries, special data [...]
Follow Me! Twitter | Facebook | LinkedIn | MooTools Forge.
Full David Walsh Blog Post: Create a Dynamic Flickr Image Search with the Dojo Toolkit
- Create a Context Menu with Dojo and Dijit
- Create a Simple Dojo Accordion
- Dive Into Dojo Series: Dijit and Charting
- Digg-Style Dynamic Share Widget Using the Dojo Toolkit
- Organized Selector Chaos with dojo.behavior
Posted on 24 August 2010 | 1:46 am
Source: David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.
Dijit’s TabContainer Layout: Easy Tabbed Content
One of Dojo’s major advantages over other JavaScript toolkits is its Dijit library. Dijit is a UI framework comprised of JavaScript widget classes, CSS files, and HTML templates. One very useful layout class is the TabContainer. TabContainer allows you to quickly create a tabbed content layout with minimal effort. Keep reading to see what you [...]
Follow Me! Twitter | Facebook | LinkedIn | MooTools Forge.
Full David Walsh Blog Post: Dijit’s TabContainer Layout: Easy Tabbed Content
- Create a Simple Dojo Accordion
- Create a Context Menu with Dojo and Dijit
- Create a Dynamic Flickr Image Search with the Dojo Toolkit
- Dive Into Dojo Series: Dijit and Charting
- Monkey Patching Dojo’s Menu Dijit
Posted on 23 August 2010 | 3:56 am
Source: David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.
Follow Me! Twitter | Facebook | LinkedIn | MooTools Forge.
Full David Walsh Blog Post: Image Reflections with CSS
Posted on 19 August 2010 | 11:51 pm
Source: David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.
Accomplishing Common Tasks Using MooTools, jQuery, and Dojo III
My love of the JavaScript frameworks knows no bounds. Unfortunately too many developers stick to one framework without taking the time to learn the others. The more frameworks you know, the better a programmer you will be and the more money you’ll make. Let me show you how to accomplish a few more tasks using [...]
Follow Me! Twitter | Facebook | LinkedIn | MooTools Forge.
Full David Walsh Blog Post: Accomplishing Common Tasks Using MooTools, jQuery, and Dojo III
- Accomplishing Common Tasks Using MooTools, jQuery, and Dojo
- Accomplishing Common Tasks Using MooTools, jQuery, and Dojo II
- Quick Dojo Setup Snippet for MooTools Developers
- dojo.connect: A Powerful Object and Event Listener
- Create GitHub-Style Buttons with CSS and jQuery, MooTools, or Dojo JavaScript
Posted on 19 August 2010 | 2:32 am
Source: David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.
Create a Context Menu with Dojo and Dijit
Context menus, used in the right type of web application, can be invaluable. They provide shortcut methods to different functionality within the application and, with just a right click, they are readily available. Dojo’s Dijit frameworks provides an easy way to create stylish, flexible context menus in just minutes. View Demo The Dojo JavaScript /* require [...]
Follow Me! Twitter | Facebook | LinkedIn | MooTools Forge.
Full David Walsh Blog Post: Create a Context Menu with Dojo and Dijit
- Create a Simple Dojo Accordion
- Create a Dynamic Flickr Image Search with the Dojo Toolkit
- Organized Selector Chaos with dojo.behavior
- Dive Into Dojo Series: Dijit and Charting
- dojo.connect: A Powerful Object and Event Listener
Posted on 18 August 2010 | 2:30 pm
Source: David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.






