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/

Comments
5 Responses to “mb.containerPlus 2.3.1”
  1. Georgi says:

    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?)

    • 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

  2. Georgi says:

    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

    • 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

  3. Georgi says:

    Thank you for your reply Matteo,
    Best regards,
    Georgi

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 133 other followers