Read more

Rounded tabs with dijit Theming

Everybody likes rounded buttons, rounded page elements and last but not least, rounded tabs. Fortunately dijit comes with great theming possibilities, so I will show you how you can make your own fancy rounded tabs using a simple image sprite and a couple of CSS classes.
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 »

Read more

Even more dojo.forEach() - string as a callback

After Petes tasty cookie yesterday, I have a couple of more useful bites of dojo goodness.
Besides passing a complete callback to dojo.forEach() you can also use a string which gets converted into a callback function internally, this is pretty handy for mini tasks.
Read the rest of this entry »