This example is for Dojo 0.3. For the same functionality with Dojo 0.9 see here.
If you take mouse over the link below, and you will see a tooltip. Contents are fetched by an asynchronous request. While the contents are being fetched, you see a loading icon. Default dojo tooltip does not provide a way of changing the text displayed while the contents are being fetched. After the contents are fetched, we use javascript to resize the tooltip to max-height and max-width (CSS can be used for max-height and max-width, but that does not work with IE). Visit my blog for more information or view source of this page.
bring your mouse hereNote: This page must be reloaded if you want to try the demo again. Dojo v0.3.1 is used.