Friday, January 1, 2010

Re: [jQuery] Dialog bug

This is because the iframe is picking up the mouse events and not the page that the dialog is in. To prevent this, place a div over the entire iframe during the dialog drag. You can create and position this element in the dialog's dragStart and remove it in the dragStop:

http://docs.jquery.com/UI/Dialog#event-dragStart

http://docs.jquery.com/UI/Dialog#event-dragStop

- Richard

On Fri, Jan 1, 2010 at 6:20 AM, Yuriy Pobezhymov <yuradoc.commercial@gmail.com> wrote:
Hello.
I have iframe (100% width and height) and jQueryUI dialog on the page.
I don't know why, but when I move or resize dialog, it's work not
correctly.
You could see example here: http://lst.zt.ua/example
If I make width:50%, than dialog works very good on blank part of
page, but don't work correctly on iframe part.

No comments: