JQuery UI popup elements are not positioned correctly

I am using both JQuery UI Dialog and JQuery UI autocomplete, both have the same error behavior, when they pop up, the position is always 0.0! I've tried some different position arguments when the dialog appears, but doesn't seem to help.

Any hints? Is this a bug in calculating position in JQuery? Or is it some kind of css error?

Versions: 1.4.2 and 1.8.0

+2


a source to share


3 answers


Ok, I found out that this error is caused by an external jquery script plugin named jquery.dimensions ... - "As of jQuery 1.2.6, the dimensions plugin has been merged into core." So I just uninstalled the plugin and now everything works as expected.



+3


a source


If Okku's answer doesn't fix, you may find that you forgot the file jquery.position.js

from your includes.



+1


a source


you can use this jquery plugin - popbox to create a clean ui popup. I showed this on my blog http://blogupstairs.com/popup-balloon-ui-element-with-jquery/

0


a source







All Articles