search for: sortablelistsdemo

Displaying 11 results from an estimated 11 matches for "sortablelistsdemo".

2006 May 15
3
Drag and drop tutorials/examples?
Just finished our first proper rails app and I''m trying to add some AJAX effects for the first time. I''ve got Rails Recipes and the Rails Cookbook, none of their examples seem to be a good fit with what I''m trying to achieve. Which is... I have 2 lists of users. One for assigned users, one for unassigned users. I want to be able to drag users between the lists to
2005 Dec 15
3
How to delete a record
...me, lastname, email table groups_users: group_id, user_id my relation is a many to many: class Group < ActiveRecord::Base has_and_belongs_to_many :users end class User < ActiveRecord::Base has_and_belongs_to_many :groups end i want this http://wiki.script.aculo.us/scriptaculous/show/SortableListsDemo with ajax, first column the user who arent in the group, the second column those who are in the group. (is cooler than 2 oldschool selectlists ;) ) now i want to delete this record ex: (i want to remove the link between the user and the group, but wanna keem the user and group object group_id = 5...
2006 Feb 17
2
Sortable list: how to create a triggering "handle"/deactivate part of the <li> element?
Hi all, When using sortable lists, a click anywhere in a <li> element will trigger the "sort_by_dragging" mode, and have the clicked element follow the mouse. The active area is the entire <li> element. Is there a way to either : - limit the active/triggering "area" to a part of the <li> element (like a luggage handle) or - prevent a part of the
2005 Dec 14
0
how to get these records in has_and_belongs_to_many relation
...e, lastname, email table groups_users: group_id, users_id my relation is a many to many: class Group < ActiveRecord::Base has_and_belongs_to_many :users end class User < ActiveRecord::Base has_and_belongs_to_many :groups end i want this http://wiki.script.aculo.us/scriptaculous/show/SortableListsDemo with ajax, first column the user who arent in the group, the second column those who are in the group. (is cooler than 2 oldschool selectlists ;) ) these are my users: in group: Luc not in group: Nick, Glenn, Andy for the second colum i got this in my controller: @group_users = Group.find(:first,...
2007 Oct 23
0
drag'n'drop or sortable
...;s and not sortable by the user. I looked through all the examples and couldn''t figure out how to do it. It''s supposed to be a mix of the example /functional/ dragdrop8_test.html which comes with the scriptalicious files and the demo http://wiki.script.aculo.us/scriptaculous/show/SortableListsDemo. Maybe someone can hint me in the right direction with maybe a link where something like this is done. Many thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post t...
2006 Feb 10
3
sorting <a href..> with D&D follows the link (browser thinks I click)
Hi all, I''ve just added d&d sorting to a list where each item is a link_to .. Problem: when I drop an item to its new location, the browser think I clicked, and follows the link. Any idea? TIA. Alain
2006 Feb 10
1
cannot combine in_place_editor_field and a sortable list
As the title says, _sortable list_ doesn''t like ''in_place_editor'' very much. Problem: when you click on an editable element, the field editor and the 2 buttons appears - good - , BUT they keep following the mouse - bad -, and moving, while you''re in edit mode. Alain
2005 Sep 01
0
2 issues with Sortable control [Version 1.5-pre3]
Thank u Thomas...U just made my day ! Here the result www.claudehussenet.com Drag and drop of portlets ! See http://wiki.script.aculo.us/scriptaculous/show/SortableListsDemo -- uses SVN trunk code, and the new dropOnEmpty option. Thomas Claude Hussenet Independent J2EE Architect Consultant http://claudehussenet.com ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
2006 May 19
6
Multiple dynamic Sortables
...eate them every time an element is added to a list or a new list comes into being? Any help appreciated! Also, FYI [3] doesn''t work in FF on Linux either. References: [1] http://wiki.script.aculo.us/scriptaculous/show/Sortable.create [2] http://wiki.script.aculo.us/scriptaculous/show/SortableListsDemo [3] http://wiki.script.aculo.us/scriptaculous/show/GhostlySortableDemo
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
2005 Aug 25
17
IE and the activeX security warning
I''ve been testing my page, which not only includes my new slider code but the drag and drop code as well. You can see it here: http://hoover.razorstream.com/preference.htm My issue is that in IE, I get the annoying security warning across the top saying ''IE has restricted this file from showing active content that could access your computer''. If I allow the