similar to: weird problem with draggable_element in a partial rhtml

Displaying 20 results from an estimated 1000 matches similar to: "weird problem with draggable_element in a partial rhtml"

2006 Feb 01
0
Using draggable_element doesnt work with update_element_function
Hi everyone, I am writing a ruby on rails application, and making heavy use of AJAX calls and evaluate_remote_response. In my remote responses I often have several update_element_function calls going on, to update several divs on the page. What I am doing is calling update_element_function, with the content as a block. Inside the block I usually have html, or make calls to other partials or
2007 Jul 26
1
Scroll Page While Dragging 'draggable_element'
Hi - I posted this on another list, but received no response, so I''m trying this one. My apologies to those who have seen this question twice. I have two columns, one of draggable elements, the other of droppable elements. These are used to add items to a particular collection. (Story :habtm ''Assets'') Column 1 (Assets) Column 2 (Stories) ==============
2008 Apr 03
0
draggable_element Messing up CSS for IE7
I am having trouble with draggable_element and come IE7 css. I have a list where I want the items in the list to be draggable. I need the list to have a fixed height so I would like a scrollbar. I use overflow:auto and everything works great in Firefox and Safari. But IE doesn''t respect the overflow:hidden. Well, it kind of does. It creates the scroll bars but lets everything spill
2006 Jan 05
0
[Ajax] draggable_element with button inside
Hi guys, I have the following code: <li id="active_task_<%= active_task.id %>"> <%= active_task.title %>&nbsp;<%= link_to_remote "Edit", :update => "active_task_#{active_task.id}", :url => { :action => "edit", :id => active_task.id } %> </li> The goal is when a user clicks on the "Edit"
2005 Dec 30
4
AJAX Drag and Drop Detecting Drop Coordinates
This one''s kicking me in the *(&#^. All I want to do is create a draggable item and then detect the coordinates where it is dropped. So my first approach was to just use the draggable_element with :revert => false, like so: <%= draggable_element "my_element", :revert => false %> That works great and lets me drag stuff all over the place. In the scriptaculous
2005 Jul 19
0
draggables bug(s)
Loving using draggables/sortables in rails... two small issues though - First bug: creating a draggable object with a handle in rails: <%= draggable_element "item_#{item.id}", :handle=>"myhandle" %> this generates code like this: <script type="text/javascript">new Draggable(''item_7'', {handle:myhandle})</script> ***
2006 Apr 05
3
how to install a patch on windows xp ??
Hello all, I need to install the following patch : http://dev.rubyonrails.org/ticket/4457 Unfortunately I don''t have any idea how to use/install it... I am on windows xp. Could someone help me, and sorry for my question which certainly is a bit stupid! Best regards, Barth -- Posted via http://www.ruby-forum.com/.
2006 Jan 20
1
[protoype] Problem with Effects on draggable element if revert is true
hi, I have a draggable element (cart-item) in a shopping cart <%= draggable_element "item_#{product}_#{i}", :revert => true %> When this element is dragged outside the cart into the "main_div", I want to show a puff effect and remove the element. When it is dragged within the cart, it should revert. So i wrote this code for drop_receiving _element <%=
2010 May 03
0
Scriptaculous, snap draggable to droppable or revert
Hello community, I am a fairly new RoR programmer and I need some help with Scriptaculous Drag and Drop: So I have <%= draggable_element(@div_id, :revert => "failure", :snap => 5) -%> and a droppable: <%= drop_receiving_element(@team_div_id, :with => "''player='' + (element.id)+ ''&position='' + #{draft_position}"
2009 May 25
0
Draggable ghosting
can anyone tell me how to make a Draggable element, which after drop doesn''t disappear. draggable_element "item_#{item.id}", :revert => true, :ghosting => true - don''t work, adding element disappears. -- Posted via http://www.ruby-forum.com/.
2006 Apr 02
2
Problem with lighttpd on mac
Hi, I followed the instructions I founded here : http://developer.apple.com/tools/rubyonrails.html I can run a small RoR application with webrick, everything is fine in this case. But when I try to use lighttpd i can access http://localhost:3000/images/rails.png for example but not a dynamic page. In the latter case I dont get any page, the browser is just waiting infinitely. If I force
2006 Feb 05
0
Using javascript with update_element_function
Hi, I am using evaluate_remote_response and update_element_function, to update elements with blocks of content, something like this: <% update_element_function("div_id", :binding => binding) do %> <div id="newdiv_id"> This is a new div! </div> <%= draggable_element(''newdiv_id'') %> <% end %> That will update the
2007 May 14
8
Problem with script.aculos.us script
I''m newbie to rails application. I like to use script.aculos.us script in my app. I faced the following problem. 1. first i creat my application. 2. Then I copied the files scriptaculous.js, builder.js, effects.js, dragdrop.js, controls.js and slider.js and prototype.js into my app/public/javascripts/ 3. Then included the <%= javascript_include_tag :defaults %> code into head
2007 Nov 16
1
drag & drop list needs refreshing
Hello guys, I''m a scriptaculous newbie (I started working with it only yesterday) and I have already the first problem. I''m trying to implement a drag & drop list (fallowing the shopping cart example http://demo.script.aculo.us/shop) and I''m almost done but after dropping an item on the target div I need to refresh the page to see that the item has been moved.
2005 Jul 20
3
examples of drag n drop
Sorry if this sounds cynical, ( i do love script.aculo.us scripts ) , but I am wondering if people know of some good real world examples of uses of drag n drop and sortable lists. such a cute script will likely be *ab*used as much as it is used. obviously the point here is to use script.aculo.us to improve the user interface rather than just have some k00l eFX. e.g. the drag n drop instantly
2006 Apr 15
0
drag&drop strangeness
hi people! I have a view like this: # list.rhtml <form id="search"> <ul style="list-style: none;"> <div id="searchfields"> <%= render "contacts/search_fields" %> </div> <div id="trash"> trash me </div> </ul> <%= drop_receiving_element
2005 Sep 29
14
Draggables and overflow div''s revisited
I have two scrollable div''s (overflow:auto), one with a list of elements (the source) and the other is the drop target (dest). I''ve enabled ghosting so that the drag element gets out of the scrollable box (good). Interesting, at least on Firefox, the ghosted drag ends up going ''under'' the destination div when I drag it. No amount of z-order fidding seems to
2006 Feb 16
1
Draggable Window
Is there any component in rails that makes a draggable window? My current application needs to have windows containing controls that can be moved to new locations on the browser. Thanks Rob -- Posted via http://www.ruby-forum.com/.
2002 Jun 03
2
FW: oplock break on excel files using samba 2.2.4
I'm having the same kind of problem too. Links to other excel workbooks are really breaking badly. One of them so bad that if I highlight the file through a windows explorer view; it kills the window immediately. I'm using RH 7.2 and Samba 2.2.4 -1 Please let me know if someone has some suggestions .... So far I've tried: veto oplock files = /*.mdb/*.MDB/*.ldb/*.LDB/*.xls/*.XLS
2002 Jun 03
1
oplock break on excel files using samba 2.2.4
Hi, I search for a solution about the "oplock break" problem that occurs sometimes on my RH7.0 / Samba 2.2.4 machine when accessing Excel files on a Samba share. I didn't find any solution on the Net or on this list about this. * Is there a solution without disabling oplock ? * Is it a RedHat or a Samba problem ? Thanks in advance for your help. --- Sylvain BARTHELEMY, Senior