Displaying 20 results from an estimated 36 matches for "droponempti".
Did you mean:
droponempty
2006 Jul 17
1
sortable_element - Altering defaults set by rails
Hi there, I''ve got the following code to generate two sortable elements
but whenever someone drags and drops an item, i only want it to return a
serialised list of the items in categoryartworks, the unlinkedartworks
can be in any order and I don''t care. I can then delete those artworks
that were in category artworks but aren''t in the serialised list, plus
reorder
2005 Oct 10
1
Sortables dropOnEmpty does not work inside tables
I would like to be able to move Sortables among table cells, including
empty ones. However, dropOnEmpty does not seem to work inside tables.
I can always emulate tables using CSS, but I was just wondering if
something in the javascripts is preventing this.
Thanks,
Shane
2005 Sep 07
0
droponempty doesn''t activate hoverclass?
How come in the latest version of script.aculo.us the dropOnEmpty feature
turns off the hoverclass? I just updated my version because I was running
into some weird display positioning issues (my app is a calendar with my
draggable items being table elements) and now I have no feedback when I am
hovering over a sortable. I can hack the dragdrop.js to make it work again,
but is there any
2006 Mar 23
4
Implementing nested drag and drop using scriptaculous
Hi.
I have gone through the scriptaculous wiki. I am trying to implement nested drag and drop but not able to do this.
The situation is like this.
_____________________________
| abc | => Box1Line1
| cde | => Box1Line2
| efg | => Box1Line3
| h | => Box1Line4
2005 Dec 17
0
hoverclass doesn''t seem to be set from Sortable.create
Hey folks,
I''m having a little trouble with the hoverclass parameter of the Sortables.create method. Unfortunately I can''t post a demo page at this time, but I''m creating three lists with the following code:
Sortable.create("listOne", {dropOnEmpty:true,containment:["listOne","listTwo", "listThree"],constraint:false,
2006 Jan 28
4
Unspecified error in prototype.js
Hi,
1. I have 2 panes, each having approximately 45-50 slides, all the
slide images are 110x82 pixels in size, enclosed in their respective div''s.
2. These divs are further enclosed in a parent div, which is defined as
a Sortable on page load.
3. There is a destination div on the RHS also.
Sortable.create("div_leftDiv", {ghosting:true, revert: true,
dropOnEmpty:true,
2005 Aug 11
7
script.aculo.us V1.5_pre1 released
Heya,
I''ve just released script.aculo.us V1.5_pre1.
Please give it a try!
Important new stuff (since V1.1b1):
* Added a main scriptaculous.js file to load in the other libraries
transparently.
* Fixed a condition where standard a href=xxx links wouldn''t work in
autocomplete results. These do now, the onclick event is not
cancelled. [thx to Jasper Slits]
* Added
2006 Mar 28
0
Moving all items from one Scriptaculous box to another
I posted the following on news://comp.lang.javascript, and someone
kindly replied suggesting I should try on this mailing list.
(Please excuse very long lines - I carefully format line endings;
but Microsoft Outlook, which I have to use at my client site,
then takes it upon itself to rearrange and remove most of my
linefeeds! :-< )
I am using Thomas Fuchs''s amazing drag-and-drop
2007 Jul 19
1
Storing order of sortable objects in RoR
I have two sortable lists that you can drag and drop to and from. Each
object in the lists have a position field in the object''s table. I
want to be able to update the position in the database automagically
once a user has sorted the list.
I can drag and drop just fine but I am not able to store the new
positions in the database.
I am trying to use Ajax.request in the onUpdate callback
2006 Mar 01
9
sortable tree?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi *,
I am new to this list, so please excuse me if this has been covered
before (unfortunately the search function at
http://www.ruby-forum.com/forum/10 is disabled at the moment).
If yes, then a pointer to a solution would be great.
I want to create a sortable tree with scriptaculous Sortable. There are
several categories and subcatgories:
cat_a
2006 Jun 26
0
sortables and accept question
i did some searching through the archives and didn''t really find an
answer to my question, so i''m going to just ask it.
i have a situation where there are 3 sortable lists. list1, list2,
and list3 i need list2 to accept divs from all 3 lists, but list1 and
list3 to only accept divs from the list1 and list3 i''ve added two
classes to the divs in my sortables: .rail
2006 Jan 23
8
question about Sortables
So, is there any way to specify a sortable to only do a callback when
the dragged item is dropped? As it is, the onChange is called whenever
you move the draggable to a new element (even if you don''t drop it), but
I''d rather only call my function after they drop it to avoid unnecessary
additional server calls. It looks like Droppable supports an ''onDrop'',
but
2005 Dec 05
3
Multi-level drag and drop in scriptaculous?
I am trying to create a screen like Google''s personalized home pages or
start.com, i.e., with draggable sections, with the extra feature that
the child items under the parent headings could be dragged and dropped
from one parent heading to another.
I have set up nested droppable sortables (dropOnEmpty=true) but the
behavior is very inconsistent, i.e, parents do not become droppable
2006 Jan 29
2
Questions about Sortable javascript
Hi,
I''ve been playing with sortable, the demos on script.aculo.us and
reading the javascript. I hope I''m not just missing the documentation
somewhere but I can''t find it. I want to do something like Sortable
for the admin side of an open source ecommerce project I''m working on
[1]. I''m relatively new to DHTML but understand the basic ideas. If
someone
2007 Jun 09
23
hoverclass on droppable zone
Hi guys,
I''m trying to make a drag''n''drop portal using sortable element. I
would like to apply the "hoverclass" option only on the droppable zone
instead of the column border.
Any idea a about the solution?
Thanks for any help,
Sabri
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2006 May 28
1
Sortable.create containment:
hi
i got a problem with a Sortable.create.
i got an array containing the ID of the elements i want to make an sortable
of, that is no problem, but i want to be able to drag between the sortables
and that where my problem is. i dont know how to assign an array to
containment:
until now the script looks like this:
for (i=0;i<id_gruppe.length;i++)
{
Sortable.create(id_gruppe[i]
2006 Feb 27
4
Getting nuts with sortables...
Folks,
It has been a whole day spent on this but I still can''t get my mind
around the most probably very stupid/basic mistake here... First, the
code I use:
<h3>List A</h3>
<ul id="lista" >
<li id="item1"> Item 1</li>
<li id="item2"> Item 2</li>
<li id="item3"> Item 3</li>
</ul>
2006 Jun 29
0
Sortables question
Hello,
I am new to Scriptaculous, and was recently brought into a project using
it to create an email Newsletter builder. The idea is that the user
will have lists of elements that he can add to the email page by
dragging the element he wants to add from an "available sections"
container, to a "loaded sections" container. Dragging from the loaded
to available will
2006 Mar 31
2
RE: drag and drop sorting with an empty lis
I ran into this issue too. My solution was to add an "onUpdate" function to
the sortable that tests the container to see if it''s got any children or
not:
function is_empty(container)
{
if ($(container).hasChildNodes()) {
Element.removeClassName($(container),''empty'');
} else if (!$(container).hasChildNodes()) {
2005 Sep 23
1
Sortable list with Ajax and delete function - working example
Hi.
I read most of the postings here but unfortunately I didin''t found a complete example which could be used. Of cource the ones who are professionals in javascript could implement the missing peaces from the puzzle.
What I''m required to do is a tree (sortable list) where items can also be deleted and at each modification a function (ajax) is called to save the changes. For