Forums

  • # July 15, 2013 at 12:14 am

    Is there a proper method when using jQuery **.show()** to display the element from its center as apposed to the default top/left?

    There is a way to accomplish this using the “scale” property of the jQuery UI library, but it seems a bit overkill to rely on that for something so simple. Also I’m aware this can be achieved using a css3 animation + transform scale… but I’m solely interested in a standard jQuery method. If anyone could shed some light on this matter, I would much appreciate it. Thanks!

    **jQuery UI example:**

    http://jsfiddle.net/r9aeb/

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag