similar to: Drag Errors anyone? Element.makePositioned

Displaying 20 results from an estimated 9000 matches similar to: "Drag Errors anyone? Element.makePositioned"

2008 May 07
3
IE barks at getInlineOpacity, makePositioned and a catch
Hi fellow sufferers of IE''s JS hell I''m working on this little JS animation here, works just fine on Foxy, Opera, Safari and friends: http://www.ard.ch/newpage Then comes IE7: Object doesn''t suppot this property or method (line 530) (effects.js): var oldOpacity = element.getInlineOpacity(); Object doesn''t suppot this property or method (line 597)
2005 Nov 04
19
Drag & Scroll
When using drag and drop, the browser window will not scroll if you move the mouse off the page. This makes it very difficult, if not impossible to create certain types of web applications. I know this has been mentioned before and is on the Wish List, but it''s very frustrating. If you look at this other Javascript library called "Drag''nDrop & DHTML Library"
2006 Jun 23
16
Help please-draggable
I asked the other day about this problem but haven''t received a response. Trying again: I just downloaded 1.6 and can''t get a simple draggable to work, which is weird. I know it''s not my browser since the demos are working. Here is my simple code. I''ve also had the "new Draggable" between the select tags. Didn''t change anything.
2006 Mar 23
3
drag and drop sorting recipe
The new pragmatic Rails Cookbook has a drag and drop sorting recipe. Does anyone know if this works with 1.0? I''ve followed the recipe (i think), and I can drag but when I drop everything goes back the way it was. It seems that the sort logic doesn''t get invoked. I put this code in my view: <%= sortable_element ''task-list'' , :url => {
2006 Mar 16
3
Drag Drop problem with Div using overflow:auto
There seems to be a problem with dragging an object outside a div if using overflow:auto on the div style. My problem is the same as the one described in the following thread but the responder''s "fix" did not work for me. Is there a fix for this problem? http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2006-February/002599.html Regards
2008 Mar 11
7
sortable scroll in div problem : dragged element doesn't follow the mouse pointer
Hello, I''m facing a strange problem with a long list of Sortable items in a container that has an overflow:auto. If I drag an item from the top to the bottom, the container div is scrolling, but there is a difference between the position of the dragged element and the mouse pointer. An example is better that a thousand words. Try to drag the first item at the bottom of 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
2006 Mar 29
4
Why doesn''t Rails 1.1 have all the Script.aculo.us 1.6 files?
Why aren''t builder.js, slider.js, and scriptaculous.js part of the Rails 1.1 javascripts? rab:javascripts $ pwd /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.0/html/javascripts rab:javascripts $ ls -l total 288 -rw-r--r-- 1 root wheel 148 Mar 28 08:56 application.js -rw-r--r-- 1 root wheel 28036 Mar 28 08:56 controls.js -rw-r--r-- 1 root wheel 23613 Mar 28 08:56 dragdrop.js
2006 Feb 03
1
Stupid drag/drop add on
To constraint the movement to a specific area, I added the following lines in dragdrop.js This will allow you to specify: area: [2,3,100,120] to draw a rectangular area where movement is allowed... might have very strange side effects, just needed a quick/dirty hack. Plus I installed script.aculo.us just 10 minutes ago :) Don''t flame pls. Manuele line:202 (please note the ","
2005 Jul 01
1
drag problem
Hi - my first post here so first of all can I say how impressed I am with this library Now to my first question - I''m simply trying to make a div draggable, here''s my test page: http://localhost:85/folio11.co.uk/js_tech_demo/scriptalicious_test.html what seems to be happening is that the first drag works fine, but on subsequent drags the div''s initial coordinates
2007 Jun 24
2
function Element.isParent argument order?
I was trying to troubleshoot "jumpy" Sortables and noticed that when the function Element.isParent is called from onHover (line 749 in dragdrop.js v. 1.7.1_beta3) and from onEmptyHover (line 781), the arguments seem to be in reverse order. Element.isParent (line 944) expects "child, element(parent)" but is called with "dropon(parent), element(child)", making it
2006 Mar 30
4
possible scriptaculous bug
I have two sortable lists, one after the other. I can drag from the first to the second but not from the second to the first. The behavior is consistent if n > 2. For example, I can drag from 1 to 2, 3 or 4 from 2 to 3 or 4 and from 3 to 4, but not in the reverse order: I can''t drag from the 4th list to anything (besides itself). From the third list I can drag only to itself and 4.
2006 Jan 28
2
javascripts
Trying to use auto_complete_for which works fine on my home system. I see that when I use <%= javascript_include_tag "defaults" %> that when used, the webrick reports GET /javascripts/prototype.js GET /javascripts/dragdrop.js GET /javascripts/effects.js GET /javascripts/controls.js but on the system that I am trying to develop on and doing similarly, the webrick only reports
2007 Oct 22
6
weird error - stream closed
Hi all, few days ago mongrel start crashing on one of my sites, i upgraded to latest version (1.0.1) but problem still exists. When i try to load page in browser random elements are missing or page is blank (empty html). In mongrel.log i''m getting: Mon Oct 22 01:10:47 +0200 2007: ERROR: stream closed Mon Oct 22 01:10:47 +0200 2007: ERROR: closed stream Mon Oct 22 01:10:47 +0200 2007:
2005 Aug 31
11
Documentation generator?
I''m looking for a documentation generator for JavaScript code that can handle the coding style used in prototype.js and script.aculo.us. Any recommendations for such a tool? In a similar vein, does it make a noticeable difference in production when comments are removed and several script files are combined into a single one? Michael -- Michael Schuerig Most people
2005 Jul 05
1
[PATCH] script.aculo.us drag-and-drop patch
Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2618 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050705/8b315d27/smime.bin
2007 Jan 23
3
Too many session numbers per page request?
If I view the source on one of my pages I see: <script src="/javascripts/prototype.js?1168898271" type="text/javascript"></script> <script src="/javascripts/effects.js?1169242655" type="text/javascript"></script> <script src="/javascripts/dragdrop.js?1169241657" type="text/javascript"></script>
2005 Aug 18
1
Auto Complete, works as adverrtised?
I''m trying to use the auto complete now and I get: undefined method `auto_complete_for'' for #<ProductsController:0x40a44338> My code is: def auto auto_complete_for :product, :title end Just like in the "view source" div from the demo. Well, almost like it. Am I missing .rb library somewhere? thanks Jacob
2006 May 28
10
Drag''n''Drop out of overflow:auto containers
Cheers, I have some elements inside a div with overflow:auto. When I trie to drag them outside of the div, the div starts to scroll. Is there a way to stop this behaviour for drag and drop? I thought of maybe using callback to disable the overflow and restoring it againg after the drop. Did someone implemented something like this? Thanks, Jonathan -- Jonathan Weiss
2006 Jul 16
17
AWDWR question
In an early section on Action View, showing code being put directly into the rhtml file: <% require ''date'' DAY_NAMES = %w{ Sunday Monday Tuesday Wednesday Thursday Friday Saturday } today = Date.today %> <h1>Hello, Dave</h1> <p> It''s <%= DAY_NAMES[today.wday] %>. Tomorrow is <%= DAY_NAMES[(today + 1).wday %>. </p> I get this