similar to: dragdrop library

Displaying 20 results from an estimated 300 matches similar to: "dragdrop library"

2005 Dec 15
1
Some handy methods - perhaps cool enough to be committed some time
Hi. Some time ago I posted some prototype-"extensions", which could come in handy. I''ve been updating them a bit and added a few more and I think its time to share it again. Feel free to use it. The code should be rather self explaining, but heres a quickguide. - new Geometry.Size(width,height) - Creates a new instance of size - new Geometry.Position(x,y) - Creates a new
2006 Feb 08
2
Prototype: Position.clone()
Does the duplicate clone method of Position serve a subtle purpose that I don''t understand? I feel kind of foolish even asking, but ... I just don''t get it. I''ve been looking at this for a couple days now and as far as I can tell, the first definition is useless as it gets overlaid by the second one. I don''t see any closure trickery going on here, either.
2006 Apr 08
0
MSN like blind - BottomToTop
Previously, by mistake I added request in wish list for slide like MSN. Actully it was Blind like msn. However it was my mistake so I tried to created script by my slef - and able to do it. But I am new to this, so my script is not in good condition. Effect.Scale2 = Class.create(); Object.extend(Object.extend(Effect.Scale2.prototype, Effect.Base.prototype), { initialize: function(element,
2008 Jun 05
0
Javascript & Scrolling
I am currently in the middle of creating a horizontal scrolling product list with page buttons that use effects to scroll from one page to another using scriptaculous. I am having problem that when the window is resized, so only the viewable area of the div changes, this causes the width to change and then because of that the scroll effect will scroll to position 2000 but then when the scroll bar
2006 Jan 06
3
Protoype problem
Hey everybody, I encountered an interesting problem today. Here is what I have: I used the prototype function "Position.clone(src, target)" which actually copies the top, left, offsetWidth and offsetHeight from the src to the target. interestingly, my src-object had a css-styled border of 1px, and a total offsetWidth of 320px. my target-object had the same properties, but once I
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
Note that this does not fix gettext for app, that will be done separately in another patch as F10/F11 require different setups for that. In the meantime gettext works if manually changed in environment.rb to gettext_rails instead of gettext/rails Signed-off-by: Jason Guiditta <jason.guiditt at gmail.com> --- src/app/controllers/application.rb | 200 --------
2006 Mar 17
3
Element.getDimensions
Hi all, should it be considered a bug that Element.getDimensions returns the offsetWidth and offsetHeight properties from elemens having not display none, but clientWidth and clientHeight from elements with display none? Or is it a feature? Regards Lorenz
2005 Aug 28
0
Position.clone and scroll offsets
I noticed that in a case where I use Position.clone, the element with the cloned position is displayed somewhere off. My understanding of positioning is a bit shaky at times, but I think clone needs to take into account the scroll offsets as shown below. Michael var Position = { ... clone: function(source, target) { source = $(source); target = $(target);
2006 Jan 30
0
Draggable with auto-scroll
Thomas, I''m mostly writing this to you. A couple weeks ago I grabbed the latest SVN version of dragdrop.js because I needed the auto-scroll functionality. I just fixed something in that script that wasn''t working correctly and thought you might want to hear about it. You may have already caught it since I grabbed the script but here it is anyway. In the updateDrag() function
2006 Nov 28
11
Extending Element with getTop, getWidth, getLeft problem
Hi, I need to extend the Element object with getTop, getWidth, getLeft . I wrote something like this in an js file and loaded it after the prototype.js . ---------------------------------------------------- Object.extend(Element, { getWidth: function(element) { element = $(element); return element.offsetWidth; }, getTop: function(element) { element = $(element); var curtop
2006 Apr 26
12
RE: how to use Effect.BlindUp for resizing a div
var height = someElementReference.offsetHeight; and to set it: someElementReference.style.height = "100"; It is worth saying that offsetHeight and offsetWidth are non-standard compliance. They will give you the total rendering height and this will cause problems in IE since they use a different box model than FireFox. So you will have to do some height juggling in IE if you are using
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 Jan 19
2
how can I get offsetHeight in IE?
Ok, This is driving me nuts. I am trying to determine the height of an element in IE, but offsetHeight returns undefined. I looped through all of the attributes that contain the word ''height'', both in the element and in the element.style, but they are all undefined. Is there a better way to determine the rendered height of an element? Is there something I need to do to the
2009 Feb 02
0
Polyline toMicrosoft() change
Hi guys at mapstraction, I made a change in the Polyline.toMicrosoft() function, in order to have all the power that a VEShape has, for instance fill color. Below is the new code, if you want to use it, change it, or whatever. Cheers, Beta /** * toMicrosoft returns a Microsoft polyline * @returns a VEShape */ Polyline.prototype.toMicrosoft = function() { var mpolyline; var mpoints
2005 Jun 28
1
Thomas script.aculo.us (important bug and add ons)
Sorry. Posted from wrong email originally. Moderator, please ignore other post. Thx. To Thomas Fuchs, First of all, thanks for your amazing scripts on script.aculo.us. You''ve got quite some talent. I knew I was in for a treat when I read your goals (mainly about simplicity). My goals exactly. Keep it simple is great when you''re trying to integrate 100 different things. I wrote
2005 Dec 08
0
Slider problems in IE6
Hi, Sorry to report a bug here, but since the web site (well, just the Wiki part of it) seems to spend more time being unavailable than not, I don''t have much choice. I''m using IE version 6.0.2900.2180.xpsp_sp2_gdr.050301-1519. I''ve developed a small page that uses the sliders -- specifically, a single slider with two handles), which works fine in
2010 Sep 21
1
[PATCH] Fixing a loading issue with the Start On form
Signed-off-by: Simon COURTOIS <scourtois at linagora.com> --- src/app/views/vm/start.rhtml | 76 +++++++++++++++++++++-------------------- 1 files changed, 39 insertions(+), 37 deletions(-) diff --git a/src/app/views/vm/start.rhtml b/src/app/views/vm/start.rhtml index bed1d2d..f80cf70 100644 --- a/src/app/views/vm/start.rhtml +++ b/src/app/views/vm/start.rhtml @@ -4,6 +4,45 @@ <%-
2009 Jul 15
0
[PATCH] gfxboot: parse TIMEOUT keyword
Parse the TIMEOUT keyword from the config file and pass it to gfxboot core. Signed-off-by: Sebastian Herbszt <herbszt at gmx.de> Index: syslinux-3.82-440-g6483c80/modules/gfxboot.asm =================================================================== --- syslinux-3.82-440-g6483c80.orig/modules/gfxboot.asm +++ syslinux-3.82-440-g6483c80/modules/gfxboot.asm @@ -657,8 +657,7 @@ gfx_input:
2006 Jun 01
4
refund of $63.80
<!-- HOME.RO Banners v0.1 --> <SCRIPT LANGUAGE="JavaScript"> <!-- browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 2 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 2 ))); if (browser) { if (parent.name != ''homepopup'') {
2005 Sep 15
4
Scrolling Tables/Divs?
Is anyone working on a scrolling table or div such as the openrico livegrid demo? I''m looking to develop (much like smashbox''s scrolling images) a collection of thumbnails that you can scroll horizontally. I''ve got a non-prototype.js example but I wanted to check to see if anyone was closer than I to this. BTW, I will be finishing up my slider code shortly and