Could this be further extended to expand/collapse when clicked the entire
"top level menu title area"? (i.e. not limited to the arrow)

I believe that is the most common way. Atleast Windows + GMail behaves like
that.

regards,

Janapriya

On Sun, Feb 14, 2010 at 11:14 PM, Sumedha Rubasinghe <[email protected]>wrote:

> Hi devs,
> Carbon UI framework now has collapsible/expanded menu support for top level
> menu categories (Manage,Configure,Resources,etc).
>
> 1. Along with each top level menu item you will see an arrow. By clicking
> on this arrow, you can make the menu either collapsed or expanded. Your
> action will be saved (browser scoped).
>
> 2. Each product can specify which menu items should appear collapsed or be
> expanded via product.xml. Check product.xml[1] for G-Reg for sample
> configuration. (Screenshot attached)
>
> 3. Once a product is started, the collapse/expand options set by user will
> take precedence over product's default configuration. If one wants to revert
> back to default, cookies have to be erased.
>
> Thanks Chanaka,Amal for Javascript & styling work which actually does the
> trick.
>
> /sumedha
>
> PS: It is possible to get this to work for every menu item. Holler if a
> product needs this.
>
> [1]
> https://svn.wso2.org/repos/wso2/trunk/carbon/products/greg/modules/styles/src/main/resources/META-INF
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Ruwan Janapriya
Technical Lead - WSO2 Inc.

http://www.wso2.com/ - "lean . enterprise . middleware"
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to