0

Toolbar Button Style Question

asked 2012-11-05 12:06:04 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2623 3 8
http://emrpms.blogspot.in...

Hi

I am using tool bar button for the navigation. I want to show the currently selected toolbar button in different color and if user clicks on other tool bar button, that
color should be removed and color should be shown for the currently clicked button .

Any idea ?

Senthil M

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-11-05 16:56:03 +0800

Steva77 gravatar image Steva77 flag of Italy
1014 3
http://www.research.softe...

These ones?
http://www.zkoss.org/zkdemo/menu/toolbar
I see they have styles:

        .z-toolbar a, .z-toolbar a:visited, .z-toolbar a:hover {
            background-color:transparent;
            border:0 none;
        }

I suppose you should programmatically modify these values.

link publish delete flag offensive edit

answered 2015-11-12 15:13:24 +0800

dmitrakov gravatar image dmitrakov
1

You can use <toolbarbutton mode="toggle"> since ZK 6.0.0

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-11-05 12:06:04 +0800

Seen: 137 times

Last updated: Nov 12 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More