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

JMaki Menu Component For Phobos

02.07.2007
| 695 views |
  • submit to reddit
        jMaki Menu component for Phobos

<% library.jmaki.insert(
    {
    component : "jmaki.menu" ,
    value : { 
        columns: [
        {label : 'Images',
            menuItems : [
                {label :'Birds', url : '/jsonibrowse.js'},
                {label :'Cat', url : '/ibrowse.js'}
                ]},
        {label : 'Bookmarks',
            menuItems : [
                {label :'Digg', url : '/digg/show'},
                {label :'Delicious', url : '/delicious/show'}
                ]}
        ]  
 
        } 
    }
    ); %>