Hi
The right callback for creating your Draggable once your Ajax call is
done should be "oncomplete" (add "oncomplete":function(){new
Draggable...} to your Ajax request options)
++++++
Clément
On Fri, Aug 22, 2008 at 3:56 PM, meximex <[EMAIL PROTECTED]> wrote:
>
> i found out, that the handle parameter is supposed to handle this
> operation. my problem is that the object with the id for the handle is
> loaded upon ajax request success. but if i specify it in the 'after'
> parameter of the ajax load it ignores it.
>
> i solved this problem by doing this:
> <div id="handle_drag" onclick="new
> Draggable('assignPositionToUserDiv', {handle:'handle_drag'});"
> width="100%"/>
>
> this is quite dirty and i am looking for a better solution cause i can
> only drag it upon the second click.
>
> maybe someone can help.
>
> thx,
> mex
>
> On 22 Aug., 14:08, meximex <[EMAIL PROTECTED]> wrote:
>> hi have a draggable div. a main layout with a smaller scrollable area.
>> i just want to enable the dragging of the "window-layer" if the
>> heading is dragged. same like in windows.
>>
>> how can i do that?
>>
>> thx for your help.
>> mex
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---