I've just tried the code that you posted - works fine for me???You're missing some CSS but that's not affecting the functionality.Also, you're using an old version (v2.6) of the API, any particular reason why you aren't using the latest version? (v3.2)
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.