similar to: Event.observe problem

Displaying 20 results from an estimated 1000 matches similar to: "Event.observe problem"

2006 Mar 03
11
event.keyCode broken in prototype?
I ran 2 tests. One using proto''s Event.observe, and another using an in-line handler of the "keydown" event in a textbox. Using .bindAsEventListener, the event.keyCode is always returning a capital letter, no matter what. The in-line event handler returns lowercase vs. uppercase correctly... What''s going on? I guess I find it hard to believe no one has tried
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 =
2009 Jul 16
2
[PATCH server] updated anyterm/ovirt integration
host static anyterm content locally, url parameterize anyterm rows/cols/general param update spec/makefile Ideally I wanted and tried hard to put all this into a seperate ovirt-server--anyterm subpackage, but we cannot 'reopen' the ovirt server virtual host defined in ovirt-server.conf to add the neccessary rewrite rules. it would be nice to figure out a way to do this ---
2006 Mar 22
4
Capture/Observer keys (F11, F3, ALT+arrows, CTRL+C/V/X)
Hi all, I really appreciate all of you who are behind this great proyect. Im from Argentina (if you dont notice for my accent eheheh) Im trying to capture width the func Event.observe() the keys F3 and F11. Also the combinations for ALT and the arrows keys, and other combinations like: CTRL+X (cut) CTRL+C (copy) CTRL+V (paste) Using something like this: Code: Event.observe(window, keycode=122,
2010 Sep 02
6
[PATCH]ioemu: fix altgr-insert behavior
When access to a Xen DomU (Linux) from a VNC client in Windows, alt-gr key is not working properly. When Alt + another key pressed, vncserver receives Altgr down, Altgr up and key down messages in order, that causes incorrect output. With following patch, when vncerver receives key down message, it first check if the keysym needs altgr modifer, if it needs altgr modifier but altgr is not
2008 Dec 28
1
vncviewer <defunct> under HVM
Unable to connect to my HVM # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 3869 2 r----- 368.6 vm00 45 128 1 -b---- 62.3 The vm00 changes state from "r" to "b" after about a minute. (I have a fedora dvd in the drive.) #cat
2006 Nov 04
0
Prototype observe issues
I have tried a couple of different ways to do the following (using unobtrusive javascript) as well as straight javascript. So far the only way that I have been able to get it to work is through straight javascript but still is not working the way that I would hope. Basically I have the following in my application.js var Myapp = { myObserver: function(event) { // links to adding a new
2004 Oct 20
1
wordperfect 12 tells to report this
Hello, wp12 trial fails to run with following debug output. Wine is several days old CVS. Is it difficult to fix this? err:keyboard:X11DRV_ToUnicodeEx Please report: no char for keysym 0000 (No Name) : err:keyboard:X11DRV_ToUnicodeEx (virtKey=0,scanCode=0,keycode=8,state=0) err:keyboard:X11DRV_ToUnicodeEx Please report: no char for keysym 0000 (No Name) : err:keyboard:X11DRV_ToUnicodeEx
2005 Aug 19
1
Summary: Unexpected result of read.dbf
Hi there, This is summary and patch for a bug in read.dbf, demonstrating in Message-Id: <20050818150446.697835cb.stanimura-ngs at umin.ac.jp>. After consulting Rjpwiki, a cyber-community of R user in Japan, the cause was found, and the patch of solution was proposed. Overflowing occurs when we use read.dbf for reading a dbf file having a field of longer signed integer. For example, $
2006 Mar 08
4
Event.Observer - (was: Ajax.Autompleter not working on IE)
See if I can stir up a little life with a demo. I can''t believe that Ajax.Autocomplete doesn''t work on IE, so I *must* be doing something wrong. Trying to figure this out I added some alerts to control.js and it seems that IE is not getting the onkeypress events. So, here''s a demo: http://hank.org/demos/form.html That contains two fields with onkeypress events:
2005 Nov 14
1
keystrokes from browser
Gmail has keystrokes now and I''m kind of jealous. What javascript library are they using? Any tips or leads on helper functions? -Mike
2006 Sep 02
1
Backspace key is sending Delete after update to 4.4 (tcsh issue?)
Maybe it was always sending Delete and I didn't notice it, but I have had the following in my .tcshrc file for ages (without realizing it): bindkey -b ^? i-search-back Before the update to 4.4, hitting the backspace key at the shell prompt deleted the previous character. Now it activates the search backwards function as instructed to do so by the bindkey directive. The
2001 Jun 22
3
X11: Oracle Forms runs fine locally, but not remotely
There is some difference in the keyboard defs, though not much. The most interesting is this line, from the remote machine, with +keyboard: trace:keyboard:X11DRV_ToUnicode Found keycode 13 (0x D) trace:keyboard:X11DRV_MapVirtualKey MapVirtualKey wCode=0x43 wMapType=2 ... trace:keyboard:X11DRV_MapVirtualKey Found keycode 13 (0x D) trace:keyboard:X11DRV_MapVirtualKey returning 0x63. This is
2011 Feb 22
2
System Log Error
When I issue sudo tail -f/var/log/syslog in order to try and track down an external drive problem I get the following: Jan 11 07:56:00 kernel: [17179663.076000] atkbd.c: Unknown key released (translated set 2, code 0x81 on isa0060/serio0). Jan 11 07:56:00 kernel: [17179663.076000] atkbd.c: Use 'setkeycodes e001 <keycode>' to make it known. Jan 11 07:56:00 kernel: [17179663.084000]
2007 Feb 18
11
Tabulation with ENTER key
Dear all, I think this can be interesting for others too. For a while I tried to solve that problem - how to tabulate with ENTER/RETURN key too and not only with TAB. You know the problem - you are entering a lot of numbers from numeric keypad but you need to go far left to press TAB. This prevents one-hand data entry and prohibits web apps to be used by accountants, for instance. Here is a
2006 Jun 19
2
Autocompleter enhancement feature request
Hello, I have created a ticket for an enhancement of the autocompleter to show the options immediately when the field gets focus. Right now at least one character must be typed for autocomplete to kick in. http://dev.rubyonrails.org/ticket/5435 I have also made some code changes directly in the script Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));
2006 Feb 13
2
[PATCH] Allow generic autocompleter (Ajax.Watcher)
Hey. Below is a patch to allow generic Ajax.Autocompleters. Basically it''s for people who wanna be able to watch an input for changes, but don''t want it to pop up an autocompleter box below. Useful for live previews, that kind of thing. Someone''s gonna have to fix the tabstops. I couldn''t be arse to work out how to make vim do the softtabs properly. Spaces for
2010 Mar 09
1
Obtaining the true aspect ratio for a lattice plot
I almost always supply my own aspect ratio when plotting using lattice. When I plot these to pdf, I would like to specify pdf dimensions that will result in minimal margins around the plot. In my application, resorting to a pdf cropper after plotting is not an option - I must do it in R. The problem is that I cannot determine the correct aspect ratio for the overall plot (accounting
2008 Feb 27
0
PATCH: Make QEMU send logs to stderr
The QEMU code in Xen has a custom patch which stops QEMU sending its log messages to stderr as vanilla QEMU would. Instead it dup()s FD 2 on to /var/log/xen/qemu-dm-{DOMID}.log This is fine in principle, but it assumes that XenD is the only thing that will ever want to run qemu-dm. With the use of Xenner, qemu-dm processes may be run by the ''xenner'' program directly. Xenner in
2006 Oct 16
2
Edge + Mouse button draft patches
Attached are my draft patches to add edge + mouse button to the actions It is useful because the edge bindings are too easily triggered, an edge + mouse button is good because it confirms the action. An additional side benefit is that the mouse wheel can be used for rotating the cube and for the switcher (it is an excellent alternative to alt-tab). I wanted to share the patches before cleaning