Can any one please assist me for the JQuery Mega Menu plugin implementation in PrimeFaces, as I like the usability, since my application is having the bulk of URLs/Links, so the aggregation of links gives good usability.
As a limitation of the
1. p:menuButton can have only p:menuitem as child components
2. p:menu can have only p:submenu or p:menuitem as child components
Code: Select all
<p:menuButton value="Go To" >
<p:menuitem value="Home" url="/" icon="ui-icon ui-icon-home" />
<p:menuitem value="Preferences" url="/preferences/" icon="ui-icon ui-icon-wrench"/>
<p:menuitem value="Account Settings" url="/preferences/" icon="ui-icon ui-icon-wrench"/>
<p:menuitem>
<p:separator />
</p:menuitem>
<p:menuitem value="Logout" icon="ui-icon ui-icon-wrench"/>
</p:menuButton>
Code: Select all
<p:menu type="tiered" rendered="true">
// Single /multilevel of menu items (Incl. Sub Menu)
</p:menu>
http://www.geektantra.com/2009/09/jquery-mega-menu/
http://www.sohtanaka.com/web-design/meg ... ss-jquery/
http://codecanyon.net/item/css3-mega-dr ... ebdesigner (Premium plugin)
http://www.dynamicdrive.com/style/cssli ... line_tabs/
I am able to load this in the application, But there are few issues, I am facing -
- UNable to put the custom plugin code inside the top layout unit - Setting the ZIndex, Scrollable, Slidable, display:overflow -- Nothing is responding at north layout unit.
- Once I am pushing the code, inside layout unit, the scroll is coming, for the menu items (as Mouseover to the main menu)
Please let me know, any alternate solution for this.