On Mon, Oct 13, 2008 at 4:43 PM, Walter Lee Davis <[EMAIL PROTECTED]> wrote:
>
> I presume you are using 1.5 or later of Scriptaculous ...
1.8.1, yes.
> I have always used the class form of the handle, but I see that you
> may use an ID as well -- I stand corrected.
>
> <div id="myDraggable123">
> <div class="myHandleClass" id="handle123">
> Drag Me, oh please Drag Me
> </div>
> Some stuff here that forces a scroll.
> </div>
>
> with class reference (personal favorite):
>
> new Draggable('myDraggable123',{handle:'myHandleClass'});
I have consrtucted mine like your example above and still no dice.
BUT the equivalent 'part' in my code to that below (from your example)
is loaded from a Ajax.Request 2 lines ealier in the JS routine:
> <div class="myHandleClass" id="handle123">
> Drag Me, oh please Drag Me
> </div>
> Some stuff here that forces a scroll.
Is that likely to throw it a curved ball? Do I need to construct the
HTML above staticly before declaring the draggable and specifying a
handle? Currently only the enclosing DIV is declared staticly in the
Javascript, the rest of the content is loaded via the Ajax request.
Thanks...
--
Mark Benson
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---