Displaying 20 results from an estimated 900 matches similar to: "Drag and drop tutorials/examples?"
2006 Aug 14
14
ClockingIT Beta - It''s about time...
My wife and I have been working on our own task-listing, time-tracking
web application, and we''re really interested in some feedback as we
ourselves feel we''ve come a long way.
If you have some minutes to kill (or just want to see how the Comet
functionality provided by the Juggernaut plugin can work) have a look at
http://www.clockingit.com and
2006 May 17
1
Fast CGI
OK, I finally have Apache configured however the app seems very slow. I
am hoping I can speed it up by using fast cgi. I am having not able to
install the fcgi gem. Below is the error I get when I try. Any help on
this subject would be much appreciated.
sudo gem install fcgi -r -- -with-fcgi-lib=/usr/local/fcgi/lib
--with-fcgi-include=/usr/local/fcgi/include
Attempting remote installation
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 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
2006 Feb 23
5
sortable_list added to by AJAX question
I have a working sortable_list that is added to by AJAX. The problem is
that when a new item is added, it''s not sortable. I found a post on
scriptaculous using behaviour.js to refresh the DOM when an item is
added, but I can''t figure out how to do it with Rails.
To test the behaviour method, I used this:
var myrules={
''div#steps ul'' :
2005 Jul 13
2
A small question about dragging effect on sortables
Hello,
I''m implementing sortables in Rails and I can''t seem to get the
lovely effect from the Sortable Floats Demo on Thomas'' wonderful site:
http://script.aculo.us/drag-and-drop#sortable-floats-demo
Simply put, I can''t get the effect whereby you''re dragging the image.
When I have a vertical or horizontal constraint on a list, the effect
2006 May 17
12
Help with Apache config
I have been attempting for days to configure Apache for Rails. I have
read forums, followed How-To''s all in vain. I am hoping someone can help
me out. I am getting the Rails Welcome screen, but when trying to go to
any other url, I get the 500.html message. Take a look for yourself at
http://66.139.78.237 and click on "about your application''s
environment".
2006 Jun 15
2
Drag and Drop Sortable Tree
I''ve gone through Chad Fowler''s recipe for creating a drag and drop sortable
list, and have been trying to extend this to a sortable tree. Has anyone
come up with or seen code which allows drag and drop sorting (altering the
position and parent_id variables of the relevant objects) but for data in a
nested tree rather than a list form?
- Justin
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
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 Sep 23
2
Sortables: which element moved?
Looking at the archives, people have asked this before, but I can''t find a
proper answer:
How do you get sortable_element to return the dragged (moved) element? I
know I can compare the list of elements before and after, but I need to know
exactly which element was moved. The problem with comparing the list before
and after is that if an element is dragged one element forward or
2006 Jan 10
1
Can <dl> be made sortable?
I was experimenting with using some interesting CSS styles with <dl>
<dt> and <dd> elements. But then I needed to be able to make this
list a sortable_element in Rails, and it did not work. I had to
convert it all to <ul> and <li>.
Is there a reason why sorting can''t work within definition lists? I
searched the list archive and found the
2006 Jan 05
1
sortable_element not recognizing newly added <li> elements
I have a user defined list of items. Using the sortable_element
function, I can manipulate the ordering of this list fine by dragging
each component around.
When I dynamically add another <li> item to this list, the newly added
item is _not_ "draggable" like its other siblings.
Using the sortable_element function, how do I make it aware of newly
added list items? Here is my
2007 Jun 14
3
serialize with sortable_element (rails)
creating multiple lists with sortable_element and would like to
serialize them and save back to the db.
i have the sorting between multiple lists working properly. can anyone
point me in the right direction for serializing and saving?
thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Jun 26
3
Scriptaculous Sortable Element Issue
I have a <ul> that contains a number of list items, and I''m using the
sortable_element helper to reorder then via drag-and-drop. This works
great, however, when I insert a new <li> into the <ul> with Ajax, the
sortable_element doesn''t know about it. Is there a way to refresh this
collection?
Thanks for any help.
--
Posted via http://www.ruby-forum.com/.
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
2005 Dec 15
3
How to delete a record
hey,
i my database i have users and groups, each user can get in different groups
my db structure:
table groups: id, name, basegroup, firm_id
table users: id, firstname, 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
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
2006 Mar 03
8
How to use the sortable_element tagname option?
I''m having some difficulty adding drag-and-drop sorting to my
application. I''m hoping that someone can help me figure out what I''m
doing wrong:
#view
<table>
...
<tbody id="item-list-body">
<tr id="view-item-<%= item.id %>"....</tr>
</tbody>
...
<%= sortable_element(''item-list-body'',
2006 May 19
6
Multiple dynamic Sortables
I''m writing an appliation that contains several dynamically created lists. I
had hoped that the following method for using the Sortable library from
scriptaculous would work:
1) create the list
2) create a Sortable for it
3) create another list
4) create a Sortable for it
and so on. Unfortunately this doesn''t work. I can''t find any info in the
documentation for