mb.containerPlus 2.3.1
New upgrade to fix a refactor bug I genrated on last release… I’m sorry… 🙂
the default method: $.fn.mb_open() and $.fn.mb_close() were broken.
You can download the mb.containerPlus 2.3.1 release I published where this problem has been solved.
http://pupunzi.wordpress.com/mb-jquery-components/mb-containerplus/
Thank you for your reply Matteo,
Best regards,
Georgi
Yes, you are right; the container must be opened to be centered on the screen therwise the dimension of width and height are not defined.
If yo want to show the container on the center once you open it from an external link you can set the left position of the container to -1000px and than call the mb_centerOnWindow(false) function.
Bye,
Matteo
Hi Matteo,
I mean centering the container it’s not possible
if the container is NOT already opened (visible).
If it is opened, then it can be positioned using this method.
Correct me if I’m wrong.
Regards
Hi Georgi,
mb_centerOnWindow has a boolean to define if you want the animation or not ab by default is true; if you call the function passing false the container will be suddenly positioned to the center: $(“#YourContainerID”).mb_centerOnWindow(false);
bye,
Matteo
Hi Matteo,
thank you for the new (and great) release!
Is there any way to use mb_centerOnWindow()
along with the opening of the container
(Not with toggle button or any of this matter, but when clicking on the dockIcon, the container it already centered on the screen?)