var MenuDef = { "type" : "bar", "style" : { "css" : "test1", "bgcolor":"#003882", "box" : false, "size" :[150,20], "itemoffset": { "y":5, "x":5 }, "align":"right", "direction":"h", "color":"white", "imgitem":{"src":"img/bul.gif", "width":16,"height":16}, "imgdir":{"src":"img/dir.gif", "width":16,"height":16}, "shadow":{"color":"gray", "width":3}, "imgendon":{"src":"img/arr_down.gif", "width":16,"height":16}, "imgendoff":{"src":"img/arr_right.gif", "width":16,"height":16} }, "itemover": { "css" : "test1", "bgcolor":"#458EEE", "align":"middle", "color":"white", "imgitem":{"src":"img/bul_over.gif", "width":16,"height":16}, "imgdir":{"src":"img/dir_over.gif", "width":16,"height":16} }, "position": { "absolute": false, "pos":[30,20] }, "defaction" : { "title" : "This is an action title" }, "items" : [ { "text":"Bullets Example" , "menu": { "style": { "bgcolor":"#F3F3F3", "align":"middle", "color":"#555555", "direction": "v" }, "position" : { "menuoffset" : {"x":"-100", "y":"22"} }, "items" : [ {"text": "Item1", "style":{"bgcolor":"#003882", "color":"white"}, "menu": { "style" : { "border": {"color":"#003882", "width":1}, "shadow":"", "itemoffset": { "y":2, "x":"2" } }, "position" : { "menuoffset" : {"x":"-50", "y":"20"} }, "items" : [ {"text": "Item1"}, {"text": "Item2"}, {"text": "Item3"} ] } }, {"text": "Item2"}, {"text": "Item3"} ] } } ] };