Layout: collapse onclick resizer bar

UI Components for JSF
Post Reply
javaone9
Posts: 317
Joined: 06 Nov 2012, 20:50

12 Apr 2013, 07:10

Hi,
We do not like the minimize/restore icons on the layout unit title. Actually no title bar in our case.
West layout unit is nagivation menu. How to collapse it onclick its resizer bar, and restore it onclick again?
Thanks,

Dave

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

12 Apr 2013, 08:15

How would you be able to click it if it is hidden...???

But hiding it on close is easy... Use some css

javaone9
Posts: 317
Joined: 06 Nov 2012, 20:50

12 Apr 2013, 08:42

kukeltje wrote:How would you be able to click it if it is hidden...???

But hiding it on close is easy... Use some css
resizer bar always there.
how to attach onclick event to resizer bar and how to remember its size before collapse? Thanks.

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

12 Apr 2013, 09:01

By adding a jquery eventhandler, like you would do in other cases to and how primefaces does it to...

Studying the source of the components will give you answers to lots of your questions, will give you a lot of knowledge and lots of ideas...

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot], XRumer23dak and 67 guests