similar to: Drag/Drop and KeyPress

Displaying 20 results from an estimated 1000 matches similar to: "Drag/Drop and KeyPress"

2006 Apr 06
3
Drag and drop events. Or: How I learned to take over the world.
Hey all, First, I just want to say thanks to all of you who read, and email here frequently. So "Thanks". Second, I have a little pet project. This one has not timelines, and is mainly meant for my own personal growth and javascript goodness. It is a drag and drop game, and it may not be 100% possible to do everything I want with it. But that has not stopped me from
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
2007 Jul 16
4
Problem with keypress event handling
Hi all, we are writing a cross browser Javascript control that enhances the HTML text input element in order to accept only digits (more or less). Supposing that ''domText'' is the DOM element corresponding to the HTML text input, we wrote the following: Event.observe(domText, "keypress", this.onKeyPress.bindAsEventListener(this)); where this.onKeyPress =
2006 Aug 13
2
Catching "keypress" event with observe_field
I''m desperately trying to update a div when a key is pressed in a text field. Eg. : <input type="text" id="field"> <div id="area"></div> <%= observe_field :field, :url => {:action => :myAction}, :update => :area, :with => "text_param", :on => ''keypress'' %> This does not seem to work, and I
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 Apr 07
3
Pointer position on keypress event?
Hi. Is there any straightforward way to tell pointer position (x, y) upon keypress? In original wxWidgets, wxKeyEvent supports GetX() and GetY() methods, but wxRuby''s KeyEvent object does not have one. I also checked with event.methods and event.instance_variables. Do I need to keep track of pointer position by evt_motion? -- Taisuke Yamada <tyamadajp@spam.rakugaki.org>,
2006 Mar 13
2
Keypress events with no AJAX needed
Is anyone else finding it frustrating to do in Ruby client-side things that would be simple in Javascript? It seems like all of the "helpers" involve server (controller) communication. For example, having a text field that just echos below what the user types. Is this the only way to do it? <div id=''word_panel''> <%= text_field_tag
2008 May 30
1
Drag and Drop with scriptaculous
Hello, I''m making my first steps with prototype and scriptaculous. I''m playing around with drag and drop. What I try to do: I have some Draggables and some Droppables. You can drag each Draggables to each Droppables. When I drop a Draggables I want to center the Draggables inside the Droppable. And here I get my first problems:-( I use this code: Droppables.add(
2006 Apr 05
4
problem with drag and drop
Hello, I''m creating an application wich can be seen at http://158.227.7.9/serious_serv/prueba_xml_test(31-3)/interfElemen/integMenuContextFileUpl.htm The instructions for working with it are the following: with rigth-click you can click "AƱadir una imagen" to load an image into the page, then you can drag and drop it in the box with "aqui van las imagenes" into it.
2005 Oct 11
8
Drag & Drop probs
Hi, I''m just trying out the possibilities of script.aculo.us / prototype having two problems... I have a draggable element with revert:false-property and two dropzones. (The draggables are in a <td> and the dropzones are <div>s if that is important.) 1. I want the draggable element to snap back to its original position when it gets dropped anywhere out of a dropzone. 2.
2007 Dec 09
5
capturing arrow keypress on IE7 with Prototype 1.6 doesn't work?
Hi! does anyone know a fix for this? in FF and Opera everything is fine, but in IE7 arrow keys are ignored. thank you --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To
2006 Jun 26
2
Drag''n''drop DOM elements between (I)FRAMEs
I am quite disappointed in the drag ''n'' drop support in Mozilla Firefox. What am trying to achieve is dragging an element from one IFRAME/FRAME into another IFRAME/FRAME. But upon dropping the element, I do not want the target IFRAME/FRAME to open/load it. I want it simply to handle the event, such as parsing the element/data dropped. Such uses as dropping an element into a
2008 Jan 16
1
Small doubts with clonePosition, Keypress and this
Hello Guys, I comes to try to clarify some small doubts, I''m trying to create a function that, if I positioned over this, create a box around the cell, but I don''t want to alter values of style, I think that a good way is create a floating table with the same dimensions, to do this, I found "Position": overlap but says it''s obsolete, then I found clonePosition
2003 Dec 14
0
outbound dialing / wait for keypress?
hi there. i've got a question about outbound dialing. here's my scenario: 1. i build a list of phone numbers from a database 2. when a call comes in, i begin dialing from the list 3. when an outbound call is answered, i connect the caller to that line. so far, i'm able to do this with an agi script to dynamically build a dialplan. i make repeated use of this perl call:
2006 Feb 26
14
Question abour Draggables & Droppables
Hi, What I need to know is how to change revert:true to revert:false from a draggable after I drop it on a droppable so it doesn''t return to its original place. Something like: [CODE] <!-- Draggable image --> <img alt="Product" id="item" src="icon.png"> <script type="text/javascript"> new
2012 Sep 06
1
Menu system bug - MENU DEFAULT not working
Hello, I'm reporting a bug, see attached syslinux.cfg I'm using submenu entries to emulate checkbox inputs. The idea is simple, there are submenus generated for all possible cases, and each Enter keypress loads appropriate submenu section. The logic of the menu is correct. Just syslinux has some bug. It doesn't set MENU DEFAULT properly for all submenus. If your first Enter keypress
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
2007 Apr 05
3
Trying to get drag and drop to revert when I want and stay at other times
Here''s the deal. I''m making an ajax-based chess game. It''s done but there''s something I''d like changed. Right now, to move pieces, you click on the piece you want and you click where you want the piece to go. People expect that, but they also expect the ability to simply drag and drop the piece. So I''ve been using the draggables and droppables,
2007 Jul 05
1
onDrop don't fires
Hi! As in http://groups.google.es/group/rubyonrails-spinoffs/browse_thread/thread/bbd975bac3be748a?hl=es I have some problems with onDrop on a Droppable Instead of he I have only a sortable list with draggable elements (I make the list sortable and every element draggable) I try two forms: onDrop: Borrar where Borrar is something like: Borrar = function () { my code here } an onDrop:
2006 Jan 23
8
question about Sortables
So, is there any way to specify a sortable to only do a callback when the dragged item is dropped? As it is, the onChange is called whenever you move the draggable to a new element (even if you don''t drop it), but I''d rather only call my function after they drop it to avoid unnecessary additional server calls. It looks like Droppable supports an ''onDrop'', but