You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Michael H. Chang" <ch...@llnl.gov> on 2006/05/24 17:37:30 UTC

JSCookMenu

Hi:

I am using JSCook Menu component to build my menu, is there a way to change 
the bgcolor of the theme (I would like the bgcolor FFAA00) ? Here is sample 
of my code:

<f:view>
<f:loadBundle
basename="gov.llnl.chemtrack.ctrpt.resource.ctrpt_messages"
var="ctrpt_messages" />
<t:jscookMenu layout="hbr" theme="ThemeOffice">
<t:navigationMenuItem id="nav_1"
itemLabel="#{ctrpt_messages['rpt_pc']}" >
<t:navigationMenuItem id="nav_1_1"
itemLabel="#{ctrpt_messages['rpt_pc_inv']}" action="go_pri"
icon="grfx/document.png" />
<t:navigationMenuItem id="nav_1_2"
itemLabel="#{ctrpt_messages['rpt_pc_cnt']}" action="go_pccnt"


Michael H. Chang
2-1148

Re: JSCookMenu

Posted by Zhang Hailong <zh...@gmail.com>.
Maybe you have to define your own theme.
See http://www.cs.ucla.edu/~heng/JSCookMenu/index.html<http://www.cs.ucla.edu/%7Eheng/JSCookMenu/index.html>

2006/5/24, Michael H. Chang <ch...@llnl.gov>:
>
> Hi:
>
> I am using JSCook Menu component to build my menu, is there a way to
> change the bgcolor of the theme (I would like the bgcolor FFAA00) ? Here is
> sample of my code:
>
> <f:view>
> <f:loadBundle
> basename="gov.llnl.chemtrack.ctrpt.resource.ctrpt_messages"
> var="ctrpt_messages" />
> <t:jscookMenu layout="hbr" theme="ThemeOffice">
> <t:navigationMenuItem id="nav_1"
> itemLabel="#{ctrpt_messages['rpt_pc']}" >
> <t:navigationMenuItem id="nav_1_1"
> itemLabel="#{ctrpt_messages['rpt_pc_inv']}" action="go_pri"
> icon="grfx/document.png" />
> <t:navigationMenuItem id="nav_1_2"
> itemLabel="#{ctrpt_messages['rpt_pc_cnt']}" action="go_pccnt"
>
>  Michael H. Chang
> 2-1148
>