Posts Tagged ‘dojo.query’

Read more

Staggering Animations

There is a little technique I use just about any time I animate more than one node at a time that gives the overall animation a lot more fluidity, and I'd like briefly to share it with you. Quickest Cookie. Ever. Its really easy:

Read the rest of this entry »

Read more

Dojo’s got style …

There's a great little utility function in Dojo Core I use _everywhere_ that goes by the name dojo.style. It isn't anything new to Dojo (or any JavaScript library for that matter) but in 1.1 it became exceptionally more useful and I'd like to take a second to delve into some of the innards and new features.

Read the rest of this entry »

Read more

Functional Ajax with Dojo

I frequently hear the question: "Does Dojo have an Ajax method that updates a div?". The answer is that there's no Dojo-approved way of doing something like this. Updating a div is such an easy process, that implementing a de-facto solution is not only extra code, but you also hit a wall as soon as you want to do "something more".

Read the rest of this entry »

Read more

Creating Your Own $

Creating Your Own $

The bling, one of the best global variables in JavaScript. A tool which has come to mean, as a function, a way to locate a node or set of nodes. And, as a namespace, a simple way to access often-used functionality. "This can't be done with Dojo," you insist. But you're wrong, it's really easy. The ideas behind this little symbol are quite simple and I'm going to show you how to create your own customized version of it.

Read the rest of this entry »


Read more

dnd.Moveable

I like widgets you can create in bulk, from valid markup. Quickly, I'm going to show you how to use query() and dojo.dnd.Moveable to create a set of dragable "magnets" on the screen.
Read the rest of this entry »