search for: onemptyhov

Displaying 9 results from an estimated 9 matches for "onemptyhov".

Did you mean: onemptyhover
2008 Feb 15
1
Sortable limit number of elements
...limit the number of elements in a sortable. I new to scriptaculo but i have lots of experiencie with javascript. Since limit the number of elements is not supported by Sortable i would like to implement, i already took a look at the Sortable class in dragdrop.js and it looks like that onHover and onEmptyHover deal with the update of the UI, however I''m not unable to find where the *onDrop* event happens for a Sortable item. Any guidance on how to accomplish this tasks i greatly appreciate Tks, Cron --~--~---------~--~----~------------~-------~--~----~ You received this message because you...
2006 Jun 14
5
Sortable Tree - Stoping Event dispatch ?
Hi, I''m trying to play with sortable tree and have two issues: I have an AJAX Tree looking like: <ul class=''TreeCat'' id=''work''> <li class=''open''> <img src=''s.gif'' class=''node'' onclick="Ajax.Tree.toggle(event,this);"/> <a
2007 Jun 24
2
function Element.isParent argument order?
I was trying to troubleshoot "jumpy" Sortables and noticed that when the function Element.isParent is called from onHover (line 749 in dragdrop.js v. 1.7.1_beta3) and from onEmptyHover (line 781), the arguments seem to be in reverse order. Element.isParent (line 944) expects "child, element(parent)" but is called with "dropon(parent), element(child)", making it return FALSE most of the time, when (I think) it should be returning TRUE... Reversing the argum...
2006 Jan 29
2
Questions about Sortable javascript
...hey JavaScript 1.6? 2) What is greedy refering to? 3) (this.findElements(element, options) || []).each is a JavaScript idiom to avoid problems when findElements returns null? 4) why unimplement tree? 5) what is overlap? 6) what is dropon? 7) Why the underscore in Sortable._marker 8) what are onEmptyHover and dropOnEmpty about? What is ''empty''? 9) what is the ghosting option about? Thanks! Peter [1] http://trac.vaillant.ca/store.rb [2] JavaScript The Definitive Guide, David Flanagan
2006 Jun 20
10
Next script.aculo.us release, help needed
...s post, please!) - Providing patches and tests where needed Here''s the URL to the bug list: http://dev.rubyonrails.org/query? status=new&component=script.aculo.us&type=defect&order=priority Since 1.6.1, following patches/changes have made it to trunk: * Fix only option in onEmptyHover, fiex #5348 [thx glenn nilsson] * Fix Effect.BlindDown and SwitchOff handling of supplied callbacks, fixes #5089 [thx martinstrom] * Fix a problem with field focus on Ajax.InPlaceEditor and loading external text, fixes #4988, #5244 [thx rob] * Do not attempt to scroll if scrollspeed is 0/0, f...
2007 Nov 09
0
iframe is reloading during each sortable drag/drop point
...l for our site and trying to use Sortables. Each of our widgets is an iframe. But when you try to drag an element containing an iframe the Sortables api causes the iframe to reload at each possible drop point. This causes the ui to shutter and become unusable. I have narrowed the issue down the onEmptyHover where dropon.insertBefore is called. Is there a way to stop the iframe from reloading or is there a better way for Sortables to handle drag and drop? This reloading of iframes does not occur on igoogle or netvibes - it only occurs on the drop which is acceptable...does anyone know how they are...
2006 Feb 13
8
Netvibes.com / Scriptaculous
Hi list, Is it possible to create a "dashboard" type application, like Netvibes.com, w/ script.aculo.us? _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...element.id]; if(s) { Draggables.removeObserver(s.element); @@ -689,14 +690,14 @@ var Sortable = { tree: options.tree, hoverclass: options.hoverclass, onHover: Sortable.onHover - } + }; var options_for_tree = { onHover: Sortable.onEmptyHover, overlap: options.overlap, containment: options.containment, hoverclass: options.hoverclass - } + }; // fix for gecko engine Element.cleanWhitespace(element); @@ -832,7 +833,7 @@ var Sortable = { Sortable._marker.setStyle({left: (offsets[0]+...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server