Displaying 18 results from an estimated 18 matches for "onstart".
Did you mean:
fnstart
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
2006 Jun 14
5
Sortable Tree - Stoping Event dispatch ?
Hi,
I''m trying to play with sortable tree and have two issues:
I have an AJAX Tree looking like:
<ul class=''TreeCat'' id=''work''>
<li class=''open''>
<img src=''s.gif'' class=''node'' onclick="Ajax.Tree.toggle(event,this);"/>
<a
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
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: CollectionDragDrop.revertEffect});
Now besides making the rows Draggable I want them to be sortable. But
I am not able to pass on the onEnd, onStart hooks with...
2006 Aug 11
14
Sortable callback, when dragging starts/stops
Hi *,
is there a callback or something else to get noticed, if the user starts
(stops) to drag an element of a sortable? I only found the onUpdate and
onChange callbacks, but they don''t give the information I need.
Thanks in advance,
Tim
2005 Oct 14
6
Draggables onDragStart
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1027 bytes
Desc: image001.gif
Url : http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20051014/b3c26edf/attachment.gif
2006 Feb 27
11
Disabling anchor clicking in a draggable
Hey guys
I have an interesting problem - I have some draggable elements (sortable
actually), with links (<A>) inside them. I want the user to be able to
click on the link, however if the user drags the element I don''t want
the link to get fired. Can anyone think of a way to do this? It only
needs to work in Firefox.
Cheers
-Rob
2008 Feb 05
0
scriptaculous drag and drop question
...s wondering how I would go about it using
scriptaculous library I have been searching around the web and I have
not found anything helpful.
I wanted to add a drag proxy so that when user drags on a div I wanted
the build the a new div with a different look to be dragged. I have
been looking at the onStart event of Draggables but it seems to be
breaking down my drag and drop.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs...
2008 Jul 01
0
Draggable item absolutely positioned inside relative div
...the "portal".
I needed to drag these elements outside the "portal". If I just made
the elements draggable, when I got to the boundary of the portal, the
elements would disappear on the inside. I solved this by moving the
element to the portal''s parent container in the onStart handler (while
keeping track of the original container so that I could put it back on
the onEnd handler. The problem I encountered was when I was dragging
elements that required me to scroll down on the inner container. When
they came out of the portal, their "top" property was set relati...
2006 Aug 18
1
Possible to ''Reset'' sortable?
Hi all,
I have a sortable list (tree) that interacts with various droppables.
[List 1]
[List 2]
[List 3]
[List 4] [Drop here 1]
[List 5] [Drop here 2]
Now, on dragging [List 2] and dropping it on [Drop here 2] a certain action
takes place. I then want [List 2] to return to its original location.
However, it returns to the list below [List 4].
So, any ideas how I can get it to
2006 Apr 06
1
RE: Drag and drop events. Or: How I learned to takeover the world.
You should open up dragdrop.js in the scriptaculous directory and take a
look at the interface for Draggables/Draggable. There is an event for
dragStart, dragging, and dragEnd (not by those exact names but you
should see them)... sorry I can''t offer more help than just pointing you
in the right direction... very busy. Good luck, nice start!
The information transmitted in this
2006 Jan 17
0
Draggables notifier
I have a request for the keeper of the scripts (Thomas?)...
In the Draggables var, I think the onStart and onEnd notify events
should be named more descriptively. For instance onDragStart and
onDragEnd.
This would alleviate a possible place for namespace collisions where
other custom classes might use a similar notify schema (although I would
adamantly recommend all such classes also use descrip...
2007 Feb 23
11
Problems getting mongrel service working
Hello list!
I have mongrel service 0.1.0 working on my current production machine.
Upgrading to a new server and also moving to mongrel service 0.3.1
has not worked yet. I am hoping someone will have an idea as to why.
I have mongrel installed properly (I think):
C:\rails\igacc>gem list --local
*** LOCAL GEMS ***
...
mongrel (1.0.1)
A small fast HTTP library and server that runs
2006 Jun 14
5
generic onDragStart onDrag and onDragFinish events extracted from scriptaculous?
Hi folks.
I''m working on a project where I need some drag and drop, but I need to
implement what happens in a very different way, so I''m creating my own class
for it. I don''t want to reinvent the wheel and redo Thomas'' excellent
drag/drop functionality, nor do I want to copy/paste his code over into mine.
So, I was wondering, has anyone tried to extract
2006 Feb 28
0
Question abour Draggables & Droppables - my code example
...;m aware of this option. It''s not ideal, as this is a CMS and I
> > don''t want the admin view of the site to be too different. Plus these
> > elements are really small. I''d rather get a proper solution rather than
> > a hack :-/
>
> Draggables have onStart and onEnd events. You could use these to change
> the onClick event for the <a> tag to a null event when the draggable is
> being dragged, and back again when it stops, maybe. I don''t know whether
> this will work, because I use handles myself.
>
> Chris
>
>
>...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...);
},
-
+
removeObserver: function(element) { // element instead of observer fixes mem leaks
this.observers = this.observers.reject( function(o) { return o.element==element });
this._cacheObserverCallbacks();
},
-
+
notify: function(eventName, draggable, event) { // 'onStart', 'onEnd', 'onDrag'
if(this[eventName+'Count'] > 0)
this.observers.each( function(o) {
@@ -210,7 +210,7 @@ var Draggables = {
});
if(draggable.options[eventName]) draggable.options[eventName](draggable, event);
},
-
+
_cacheObserverCall...
2006 Jan 16
8
resizable window/div - some help needed
Hello
I have been working on a little window dialog script - please see
<http://net4visions.com/dev/window/window.htm>
http://net4visions.com/dev/window/window.htm for a preview. the necessary
files can be downloaded here:
<http://net4visions.com/dev/window/window.zip>
http://net4visions.com/dev/window/window.zip .I''ve included just the basics
- please change the path in
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