Read more

Initial Visibility Woes

Quick Cookie: How to set the initial visibility state of an element to allow for fade-in animation on page load.

Read the rest of this entry »

Read more

Refeshing an ItemFileReadStore

This is a pretty common need with a pretty simple solution.  How do you clear out the existing Data in a store, and populate it with new Data in Dojo 1.2?

Read the rest of this entry »

Read more

A Popup DatePicker

One commonly requested feature of Dijit is to allow a DateTextBox to contain a clickable image outside of the input that triggers the popup _Calendar class to display, rather than display when the element is focused. It opens up countless levels of complication internally: design consideration, a11y states, etc. But the concept is really quite simple, and even easier to implement. Shall we?

Read the rest of this entry »

Read more

An Id is unique.

… or at least should always be treated as such. There is no official function in Dojo for generating a unique ID, though is a very common task, and very simple to accomplish. In this ultra short cookie, we’ll create a reusable function for just this use case.

Read the rest of this entry »

Read more

Tooltips from Anchors

Often times users ask how to display a TooltipDialog from something other than a DropDownButton. Until recently, I’d not thought it to be possible. I have been wrong before.

Read the rest of this entry »