Tutorials Page 144
![File Uploads and C:\fakepath\]()
File Uploads and C:\fakepath\
I was recently working on a project that required providing an AJAX uploading widget to users. I decided to use Dojo's dojox.form.FileInput widget so the "Upload" button would look just like every other button within the web application. Everything worked great until I tested...
![Dojo, Dijit, Dropdowns, and _aroundNode]()
Dojo, Dijit, Dropdowns, and _aroundNode
The Dojo Toolkit's awesome UI framework, Dijit, has loads of awesome widgets to allow developers to quickly create themed, feature-rich web applications. Dijit provides form widgets, layout widgets, dropdown-based widgets, and much more. What's nice about Dijit is that there's so much functionality provided...
![Change Mobile Safari Highlight Color with CSS]()
Change Mobile Safari Highlight Color with CSS
I love the amount of extra customization afforded to us by WebKit. That also makes me love the fact that, for the most part, WebKit Mobile is the choice renderer used by mobile devices. One rarely used style property is
-webkit-tap-highlight-color, which allows developers...![Elegant Overflow with CSS Ellipsis]()
Elegant Overflow with CSS Ellipsis
Overflow with text is always a big issue, especially in a programmatic environment. There's always only so much space but variable content to add into that space. I was recently working on a table for displaying user information and noticed that longer strings were...
![Adaptive Images]()
Adaptive Images
The landscape of web continues to change as we get more and more devices that we need to support. One concern when creating websites that should accommodate all screen sizes is image size. The acceptable size for an image is not the same across...
![Introducing MooTools Templated]()
Introducing MooTools Templated
One major problem with creating UI components with the MooTools JavaScript framework is that there isn't a great way of allowing customization of template and ease of node creation. As of today, there are two ways of creating: new Element Madness The first way to create UI-driven...
![Determining Object Type with MooTools’ typeOf]()
Determining Object Type with MooTools’ typeOf
One thing about JavaScript I dislike is the vagueness of what the
typeofoperator returns. Passtypeofan array? You get "object" back (which it is, but a more concise answer would be helpful). Passtypeofa Date object? You get "object"...![JavaScript Coding with Class]()
JavaScript Coding with Class
I've spent the last two weeks in London, eating fish'n'chips, drinking cup'o'tea, and being a hooligan at the Arsenal. Oh yeah, there was a MooTools hackathon too. The MooTools hackathon was hugely successful and I'll be providing more detail about what was...
![Create Namespaced Classes with MooTools]()
Create Namespaced Classes with MooTools
MooTools has always gotten a bit of grief for not inherently using and standardizing namespaced-based JavaScript classes like the Dojo Toolkit does. Many developers create their classes as globals which is generally frowned up. I mostly disagree with that stance, but each to their own. In any event...
![Create and Retrieve Nested Objects with MooTools]()
Create and Retrieve Nested Objects with MooTools
One argument that's been lodged by many is that MooTools doesn't encourage the use of namespaces for classes. The Dojo Toolkit does employ namespaces and provides two helpful functions for working with them:
dojo.getObjectanddojo.setObject. These methods allow for setting and getting of nested objects...







