search for: positionedoffset

Displaying 5 results from an estimated 5 matches for "positionedoffset".

2008 Jan 30
0
Prototype: Possible bug in Element.positionedOffset?
I''ve been using prototype and CSS for about a month now and I am confused as to why Element.positionedOffset doesn''t always work consistently between IE6/7 and FireFox 2. More than likely I am just not understanding something. The demo of the code can be found here: http://www.synaptik.com/downloads/prototype/bugs/positionedOffset.html. The gist of what I am trying to do is get the offset of an...
2008 May 29
4
Drag/Drop finding droppable's properties?
Hi All, I am trying to develop a dynamic form creator application, whereby we can drag objects from a "palette" and drop them onto a "form" to build the design of our form. To achieve this, when I have dragged the object, and dropped it onto the "form" area, I want to get the position of where the object was dropped. I have a droppable area:
2006 May 16
4
Positioning
...ar understanding. realOffset - This returns the coordinates of the element as if none of the elements on the page are scrollable from the document edge. cumulativeOffset - This returns the coordinates of the element from the document edge (not taking scrolling into account or anything fancy). positionedOffset - This will return the same thing as cumulativeOffset most of the time, but if the element is contained in a positioned element (''absolute'' or ''relative'') then it returns the coordinates from the parentOffset of the element (which is the top-level element that...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...{ element = $(element); - if (element.getStyle('position') == 'absolute') return; + if (element.getStyle('position') == 'absolute') return element; // Position.prepare(); // To be done manually by Scripty when it needs it. var offsets = element.positionedOffset(); @@ -2036,7 +2058,7 @@ Element.Methods = { relativize: function(element) { element = $(element); - if (element.getStyle('position') == 'relative') return; + if (element.getStyle('position') == 'relative') return element; // Position.prepare();...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server