Displaying 18 results from an estimated 18 matches similar to: "drag problem"
2005 Aug 15
6
setting position for draggables?
Hi list,
how can I set the top and left CSS properties for draggable divs? When I modify the properties directly, the DIV jumps to its old position when I start to drag it.
Thanks in advance!
Martin
_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail k?nnen Sie eine SMS an alle
Freunde gleichzeitig schicken:
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 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 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
2005 Aug 10
2
extend question
Is it possible to call the super class''s version of a function from a subclass?
SuperClass = Class.create();
SuperClass.prototype = {
initialize: function(){
this.varA = '''';
this.varB = '''';
}
}
SubClass = Class.create();
SubClass.prototype = (new SuperClass()).extend({
initialize: function(somevar) {
this.somevar = somevar;
}
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 Oct 18
1
[PATCH] Compiz Events
I wrote this quick patch because I want plugins to be able to
communicate with each other with events. Using the option values to
communicate with each other is a bit cumbersome if you want to monitor
for changes or do anything which requires events.
It is just a small patch and works in the compiz way (ie by wrapping the
core
event).
Some potential events that I can think of at the moment are
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
2007 Dec 01
3
Event.observe and normal event
Hello!
I posted in another mail that I had a problem with this code:
paths.each(
function(img, i) {
this.imglist[i] = new Image();
this.imglist[i].src = img;
Event.observe(
this.imglist[i],
''onload'',
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
2011 Jan 03
8
Heroku, needs constant AppController updates?
Dear All,
Fairly new to rails and Heroku, so could be doing something wacky - do
let me know if you think my code practice is off, even if unrelated to
this error, I''d like to learn!
I''m using Rails 3.0.0, ruby 1.8.7, and ''sqlite3-ruby'', ''1.2.5'', :require
=> ''sqlite3''.
I''ve got an application that goes off and
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
2009 Apr 24
1
Hangup Detection After Originate (Asterisk Manager API)
I have written an asterisk manager client which creates an outbound call
using Asterisk manager API's Originate action.
when the call is connected I run 3 applications on it.
1)read a dtmf digit from user
2)A customized application which I have written,(It plays something to user)
3)Hangup
If user hangs up while app 2(see above) is executing I get a 'Event Hangup'
from asterisk in my
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
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 Sep 25
3
In place editing an empty field
I am trying to use the Scriptaculous InPlaceEditor and in some cases the
field will be empty. That is, the field currently has no value but the
user wants to enter a value.
The InPlaceEditor appears to not work in this case. Other identical
fields (except wit different ids and some value) do work.
I have tried using a nonbreaking space ( ), and this does cause the
editor to appear,
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