Scott,

If you have built a test for this widget extension try scrolling the
containing page down and then resizing the "sticky" dialog. Without
the $(window).scrollLeft / Top adjustments the dialog "jumps" down off
the bottom of the page. That's why the resizeStart saves the location
irrespective of the scroll. Quite tricky stuff and I'm not sure why
all these things happen, but I have accounted for them.

Marv

On Jul 13, 9:28 pm, Scott González <[email protected]> wrote:
> On Jul 12, 8:31 pm, Marv <[email protected]> wrote:
>
> > Hi Scott,
>
> > Thanks for the speedy reply. All I can say is that I did need to
> > account for the window scroll position when resizing but didn't need
> > (or want) to when dragging. That's why I didn't have the same
> > parameters into the storeLocation function.
>
> I'm seeing the exact same values in ui.position during drag and
> resize, so I don't understand why you'd want to handle them
> differently.
>
> > RE: this syntax '.bind(event1 event2, functionToCall)' that's neat. I
> > didn't know you could do that (even though not too helpful in this
> > context).
>
> Again, I don't see why you want to handle dragging and resizing
> differently.
>
> > BTW, you still didn't tell me EXACTLY how to extend the 'dialogopen'
> > event or function (which is it anyway? how can I figure that out?)
> > (syntax and example would HELP!).
>
> I'm really not sure what you're asking about here.  Your previous code
> that proxied the open method was correct (and is done exactly the same
> way you're proxying init.  There's both an open function
> ($.ui.dialog.open) and a dialogopen event; which one you use is up to
> you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to