|
Hello, I would like to ask about docking in containerplus. It's very nice plugin and want to use it but my goal is create 5 windows with containerplus and 2 from them as docked like in "docked demo" rest 3 windows can minimalize etc. but dont want to dock them. unfortunatly when I use code from "docked demo" all windows in default are docked. How can I prevent to dock 3 windows? Thx in any advance |
|
Hi, If you need to show containers on page load and mantain the dock behavior just remove the iconized:'true' and the "i" buton property from the DIV:
If you don't want some containers to be dockable than you need to initialize those without the callbak functions. In that case the example is not exaustive. You need to add a specific class for the one you whant to dock and one for the others and then initialize them separately: For example add a "dockable" class for the dockable containers and "undockable" for the others:
Then initialize as follow:
That's all. Bye, Matteo |


