DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Dojo Accordion JMaki Widget For Phobos

02.07.2007
| 3276 views |
  • submit to reddit
        Dojo Accordion jMaki widget for Phobos

<% library.jmaki.insert({
        component : "dojo.accordion",
        value : {
          rows : [
                { 
                    label : 'Row 0', 
                    content : 'Row 0 content.'
                } ,
                {
                    label : 'Row 1', 
                    content : 'Row 1 content.'
                },
                {
                    label : 'Row 2', 
                    content : 'Row 2 content.'
                }   
                ]
               }
        }
        );  %>