similar to: How serialize after hiding a sortable element

Displaying 20 results from an estimated 10000 matches similar to: "How serialize after hiding a sortable element"

2007 May 01
0
Small Scriptaculous Sortables Jitter
Hey all I have a project that i''m working on where I''m making extensive use of sortables. I''ve noticed that when my sortable item height is approximately less than 30 pixels, when I try to reorder the sortable it jitters between 2 positions and causes a nasty effect. I expect it''s to do with the tolerance percentages and pixels- when you start to get that
2006 Mar 21
0
Question for Gurus: Sortable Lists
I''ve been stuck on this particular problem for quite some time now. If I don''t explain it well enough I''d be happy to explain more. I have a group of draggables and a droppable object. I''ve created a function for the Droppable.onDrop event so when I drop one of these items I check (via an array) to see if it has already been added to the droppable. If it
2006 Nov 24
1
sortable - after complete dropping element want to send ajax reqeust with id of elements: draggable and droppable
Hi all. I have specific situations - I use sortable on html list, and after I move elements I want to do ajax reqeust to serwer with the id of dragging element and id of the element that was droppable. How to do it? which function in Sortable class i have to overrider or modify? i try to modife onhover method in sortable and put a ajaxRequest call before methods dropon.parentNode.insertBefore
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 Dec 28
1
Sortable.create format
Hi I have a simple question. Default format in sortable.create is: /^[^_\-](?:[A-Za-z0-9\-\_]*)[_](.*)$/ and sortable.serialize returns "key[]=value&key[]=value&key[]=value... " What format should I use in sortable.create, if i want to have something like that (after serialize): "value,value,value" Thanks, Sever --~--~---------~--~----~------------~-------~--~----~
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 24
1
Sortable: Ajax not firing?
Using Rails to generate a sortable list, I get the draggable/sortable page elements, but Ajax never fires back the post-sorted list. (I''ve checked with IE & Firefox, the "save this order to the DB" controller hasn''t been called.) The View: <p>Drag to sort.<span id="sort_info"></span></p> <ul id="sort1">
2006 Jan 31
1
RE: Re: form elements in sortable lists
I never got it to work back on one of the early release candidates of scriptaculous 1.5. However, I thought I read in one of the release notes that it was fixed. Are you using the latest version? I ended up just disabling the sortable while they were in ''editing'' mode, and then recreating it after they were done editing. Greg > -----Original Message----- > From:
2008 Feb 15
1
Sortable limit number of elements
Hello, Well, i need to 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
2005 Oct 06
0
Sortable.serialize() question
I am curious why the Sortable.serialize() method produces a name with "[]" in the name. ie: Params: group_2118[][0]=[2120];group_2118[][1]=[2118];group_2118[][2]= [2119]; is what I get back on the server side. Jamie
2006 Jan 25
0
Sortable Tree Modification
Hi, I''ve been working on a sortable tree modification. You can get what I have done so far here: http:// www.oriontransfer.co.nz/Sortable+List.zip Firstly, serialize needs work to support a tree structure. Secondly, I have not tested if it still works with lists property (I''m sure it would work fine, but I haven''t tested it). Finally, I need to merge this code
2006 Apr 05
1
Nuby Sortable Question? How do you pass multiple lists back to the server
I have multiple drag and drop lists. If you sort within one list, you can pass the list back to the server using: <%= sortable_element ''task-list'' << person.id.to_s , :url => { :action => "noop", :id => @user }, ... %> Which causes this to be included in the javascript: onUpdate:function(){new
2007 Nov 30
2
make sortable divs and innerHTML
My problem is that elements that were included in my site with innerHTML can´t be sortable because the DOM doesn´t know that these elements are there. Has anybody a solution or an idea to this problem? ToM --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group,
2006 Jun 24
0
Sortable with sortables? this.destroy not a function O_o
Hi all I am creating sortable list with the builder. Now i want these sortables to be a sortable aswell. So i wrap a div around them and run sortable create on the main-container. I have it like so (simplified): var myLists = new Array(); // start a empty array for push var mainDiv = ''main''; // some already present div to carry all stuff. function newList() { var sortlist
2006 Aug 24
3
Two problems with Sortable
Hello- I''m having two problems with the sortable class: 1. I have two sortables whose items can be dropped between them. The immediate parent <div> of each these adjusts its height accordingly, but any grandparent or n-parent <div>s do not adjust their height. 2. In everyone''s favorite browser, InternetExplorer, the handler text is selected and the sortable
2006 Jun 13
0
sortable trees and rjs updates
Hello, I''m experiencing some odd behavior with a sortable tree when I try to add an element using javascript via rjs. What''s strange is that things work fine if I have moved any item on the list prior to adding a new element but produce odd results if I haven''t. My tree is a normal nested group of ul''s and I have the call to Sortable.create in a partial so
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 Mar 01
0
Script.aculo.us: Dynamic Sortable List Problems
This is my first post to this mailing list so I hope its in the right location.I''m trying to use a list of draggables (not sortable) which I can drag into a droppable div. The goal is to create a new item, not to move from one list to the other. When a new draggable is dropped, a new div is added to the droppable div and a sortable is created. Everything is working fairly well, to
2006 Feb 24
0
Adding a new Sortable
Perhaps this is elementary, but I''m having trouble finding something in the documentation. I''m attempting to create a page with a form for new data submission and below it a list (a Sortable) of the various records. I''m unsure how to make the form so that it will automatically create a new element to the Sortable with the data that gets Ajaxed back from the server. Is
2008 Jul 02
1
Stop sortable dop event
Hi! I have a sortable list Every item in this list has a droppable area In this area I could drop some elements of the same list Everything is ok except I need to stop the sortable event when I drop an item in the droppable area Is this possible? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby