Displaying 4 results from an estimated 4 matches for "childrenwith".
2005 Jul 06
1
BUG? Draggable''s handle implementation does not match the documents
...s/drag-and-drop
// The value is a string referencing a CSS class. The first
child/grandchild/etc.
// element found within the element that has this CSS class will be used as
the handle.
//this.handle = options.handle ? $(options.handle) : this.element;
this.handle = options.handle ? Element.Class.childrenWith(this.element,
options.handle)[0] : this.element;
Now, the script works just like what was told by the document.
--
Regards.
Yufan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050706/76c44aa0/a...
2005 Jul 19
0
draggables bug(s)
...because:
this.handle = options.handle ? $(options.handle) : this.element;
which is because sortables sends the handle not as a class name but
the actual element - perhaps it should happen from within the
draggables by changing that line to
this.handle = options.handle ?
Element.Class.childrenWith(this.element, options.handle)[0] :
this.element;
then changing the sortables to send the class name to the draggables
constructor.
------
Once those are done it works great thus far :)
Jesse Andrews
2005 Sep 25
14
script.aculo.us 1.5 release candidate 1
...#39; on IE with Effect.Opacity on elements that
have no Layout
* Make Effect.Parallel render final frames and call beforeFinish/
afterFinish on included effects
* Added focusing the text field or text area created when using
Ajax.InPlaceEditor #2126 [thx to Lee Mallabone]
* Fixed Element.Class.childrenWith not returning the correct elements
#2120 [cmees AT rogers DOT com]
* Fix issues with form elements inside draggables not clickable with
Firefox #2129
* Make effects "stateless" by cleaning up element.style after finish
of effect #2133 [[Martin Bialasinski]
* Add "internal"...
2005 Jul 20
3
examples of drag n drop
...= options.handle ? $(options.handle) : this.element;
>
> which is because sortables sends the handle not as a class name but
> the actual element - perhaps it should happen from within the
> draggables by changing that line to
>
> this.handle = options.handle ?
> Element.Class.childrenWith(this.element, options.handle)[0] :
> this.element;
>
> then changing the sortables to send the class name to the draggables
> constructor.
>
> ------
>
> Once those are done it works great thus far :)
>
> Jesse Andrews
>
>
> ------------------------------
>...