similar to: altering revert effect based on if dropped on given droppable?

Displaying 20 results from an estimated 200 matches similar to: "altering revert effect based on if dropped on given droppable?"

2006 Feb 16
4
cancelling droppable if draggable dropped on different droppable
I''m writing a web app in which I have several ''windows'' in which the user can perform given functionality. So for example I have one window which manages images on a server (drag an image into a folder and the file physically moved on the server via ajax ) These images can also be dragged into another window to create a slideshow. My problem
2005 Dec 09
0
Element.setOpacity issue in script.aculo.us effects
In the Element.setOpacity method definition in effects.js, there is a line that sets the opacity to 0.999999 if the requested opacity is 1. This is clearly there for a reason, but having a very slight transparency actually makes my pages look bad - images are the worst, but I can see the backgrounds through my supposedly opaque elements. Why is 1 bad for this value? Here''s the
2006 May 05
2
Effects in IE
I mentioned this before, but it would seem that in IE no matter what I do, if elementNode.setOpacity() or elementNode.getOpacitiy() is called then IE will throw a run time error saying that the function does not exists. This makes it quite hard to work with any of the effects that fade elements in and out. Is there a remedy for this? I know if you do Element.getOpacity or Element.setOpacity it
2005 Nov 07
2
Element.setOpacity Question
Why does the setOpacity function do this when the value = 1? els.opacity = ''0.999999''; That just seems weird to me. Can someone please explain? Thanks, <http://zend.com/zce.php?c=ZEND002524&r=212822110> Jon Whitcraft Indianapolis Motor Speedway jwhitcraft-1LwPDYEpVrH2eFz/2MeuCQ@public.gmane.org Phone: (317) 492-8623 :: Fax: (317) 492-6419
2005 Dec 03
0
dragdrop patch that enables dragging from and to divs with overflow:scroll
Hi all, this is a patch for 1.5_rc5 I noticed that I was not able to drag stuff out of scrolling divs. When I tried to drag it out, the draggable would remain in that div and the scrollbars would adapt to the bigger content of the div. This patch extends draggable with an option :tofront. When it is set to true, the draggable will be moved to the document body while keeping its position on the
2005 Oct 26
0
Revert Effects Option??
Hi All, I''m trying to get rid of the appearance of flying objects on revert. I was able to do this by setting the duration to 0 in the Draggable constructor. I''m not at all excited about this solution. Is there already some way to set the parameters of reverteffect in the options that I''m not seeing?? > reverteffect: function(element, top_offset, left_offset) {
2005 Jun 28
0
New beta of script.aculo.us
Hi, A new beta version is ready ready for downloading at http:// script.aculo.us/downloads Changes: * Updated to Prototype 1.3.0 * Fixed sortables that are absolutely positioned * Fixed draggables on pages with no droppables * Added Effect.Transitions.pulse * Added Effect.Pulsate and Effect.Fold effect by Justin Palmer * Added transitions by Mark Pilgrim: .full,
2007 Feb 12
0
Scriptaculous - extending draggable via sortable
Hello, I have created a Yahoo style Drag and Drop using Scriptaculous Drag and Drop. I have hooked my custom functions to the Drag and Drop using the following code: new Draggable(element, {revert:true, ghosting:true, handle: handle, onStart: CollectionDragDrop.dragStart, onEnd: CollectionDragDrop.dragEnd, onDrag: CollectionDragDrop.dragMove, reverteffect:
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
2008 Jun 19
2
Capturing draggable revert
I''ve seen a few posts about this, but no answers. I would like to be able to call a function when a draggable revert occurs. What I''m trying to do is replace a photo with an icon on drag (which I''ve accomplished), but I need to swap it back if the revert fires. I really, really wish there were an onRevert() option, but there isn''t, so I guess I''ll
2006 Feb 20
0
element.remove when element being dragged
Hi I''ve a class which creates a lot of droppable icons (folders) and another class that creates some draggable file icons. When I drop one of the files in the folders I want to remove the file icon from the screen. However, doing Element.remove(droppedElement); results in a repeated js error "element has no properties" in protoype line 1588. This continues to occur until I
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
2006 May 02
0
IE DragDrop Oppacity Error
This is going to be tough to describe, so bear with me. I am using the latest scriptaculous and prototype 1.5.rc0 This error only happens in IE, FireFox handles everything just fine. The error I get is: "Error: Object doesn''t support this property" Code Section that it breaks on (actual lines has comment at the end): Effect.Opacity = Class.create();
2006 May 23
3
Dragging a copy of an image and then reverting
I''d like to drag images onto drop zones. I have a working demo with one problem: the image leaves the dock and then "snaps back" to it: (broken -- image leaves dock during drag then snaps back) http://u32.net/junq/imlib-demo-1/ I can get the image to remain in the dock during the drag using ''ghosting:true''. But how do I keep the original in the dock
2007 Jun 04
2
Re: Ajax.Request question with JSON return
Do I need something like this: eval(''('' + this.header(''X-JSON'') + '')'') (taken from Cody Swann, http://ajaxian.com/archives/prototype-extension-dynamic-script-pattern-support ). I''m guessing my problem is simpler, and I''m leaving something small out related to the header though. Thanks for any help -Mark 1. evalJSON:
2005 Nov 22
1
reverteffect - how to deal with this?
Hello everyone. Does anyone know how to deal with this? i try to change the idea of works revereffect:function but for know unsuccesfull. In my project i have to use dragable with revert: true but i don''t want have revereffect. Maybe any idea? Grzegorz Ślusarek ---------------------------------------------------- HARRY POTTER I CZARA OGNIA - PREMIERA KINOWA 25 LISTOPADA: Wejdź:
2006 Mar 07
1
Sortable trouble
Hi everybody, Could somebody have a look at a little sortable example at http://www.weisshuhn.de/diagnose/sortable.html It implements two Sortables and a Draggable. You can drag elements from the "source" Sortable to the main Sortable, sort them (surprise) and drag them to a trash. Whenever you drag from the "source", a new element is created (by cloning an invisible
2006 Jun 09
0
Not droppable after first drop in FF
Hi all, I have a couple of droppables in my page. Each of them looks like a list and is a <div> containing other <div> for the lines, each line formed by <span>s for different fields. Each line is declared draggable (right after each line, since ithey''re created inside a loop). I have both of them inside a <div> since I need to refresh both at the same time and
2006 Jan 05
0
Droppable div with overflow: auto
I have a Droppable div with overflow set to ''auto''. When there are enough items in the droppable to create a scrollbar, dragging Draggables out of the Droppable causes firefox (1.0.7) to act crazy with all kinds of flickering and ghosting of the Droppable div. Is this a known problem? Any work arounds? -- Michael Peters Developer Plus Three, LP
2005 Nov 04
0
Highlight of the droppable zone
Hello everyone. I have interesting problem I want to Highlight the droppable zone, the simplest solution is: give the droppable area a hover class. But there is a problem, in this case the droppable arrea is the png image and I don''t want to cover image by hover class. The best way will be transparent or half transparent hover class, but i don''t know is it possible? Is it