Tribune

Home » Alloy UI » English

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
Mohammed Ibrahim Ali
Overly Portlet Menu
7 maggio 2012 6.27
Risposta

Mohammed Ibrahim Ali

Punteggio: New Member

Messaggi: 8

Data di Iscrizione: 20 maggio 2009

Messaggi recenti

Hello All;
I managed to create JSF menu portlet above the navigation bar, I added the following code to open the menu like "Add" and "Manage" menu in the dock bar
 1 AUI.add('aui-overlay-context-panel',
 2            function(A) {
 3        // Blue
 4
 5        var overlay1 = new A.Overlay({})
 6        .render('#overLayDockMenu');
 7        //alert("overlay1"+overlay1);
 8       
 9        var blueOverlayManager = new A.OverlayManager();//{z: 10};
10        //alert("blueOverlayManager"+blueOverlayManager);
11       
12        blueOverlayManager.register([overlay1]);
13   
14        });

but the menu still open inside the portlet itself,
I also tried copy the style of the dockbar but no use
any idea how to make my menu like menus in Dock Bar?
Thank Yout