Displaying 20 results from an estimated 22 matches for "mousemov".
Did you mean:
mousemove
2005 Aug 24
1
draganddrop mousemove event question
I''ve noticed that the update method of every Draggable is called for
each mousemove event while nothing is dragging. I''m wondering what the
reasoning behind this is (vs. attaching the mousemove handler after a
mousedown event). Does it have a noticeable performance impact when
there are lots of draggables (say 400)?
Disclaimer: I''m really new to JavaScript and...
2005 Aug 31
0
Event listener problems
...ut one time in twenty, sometimes on the second or
thrid click sometimes after forty or more clicks. I can only assume
that Safari is garbage collecting the method as soon as it is de-
registered even if it is still executing.
Second I was testing on Firefox. I wanted to monitor mouseover,
mousemove, mouseout and mouseup. There was a lot of commonality to
the code so I made a single binding of my handler object to the
handler method and test for the event.type to handle any differnce
for event type. The binding was like
this.myboundhandler = this.handlermethod.bindAsEventListener(thi...
2006 Feb 09
3
Draggables and Droppable performance (tips)
...en more so) as you add droppables. This
might be a "duh" statement, but I had originally thought the problem was
more in just the shear number of objects I was creating on the client
(sitting in memory), and not necessarily the fault of scriptaculous or
any one script. However, with every mousemove event, the entire
draggables (and droppables) collections are spun through checking for
all sorts of things, which REALLY bogs down performance once you start
trying to add any significant number of draggables or droppables. Here
are a couple of optimizations I found that seem to work pretty good....
2007 Oct 04
0
Getting mouse position from a timed function - My Solution
...s.bodyEl = $(document.body);
//Bind event listener.
this.boundUpdatePosition =
this.updatePosition.bindAsEventListener(this);
this.start();
},
updatePosition: function(event){
this.x = event.pointerX();
this.y = event.pointerY();
},
start: function(){
this.bodyEl.observe(''mousemove'', this.boundUpdatePosition);
},
stop: function(){
this.bodyEl.stopObserving(''mousemove'', this.boundUpdatePosition);
},
within: function(element){
//is the cursor within the given element? Return bool
var el = $(element);
var vpo = el.viewportOffset();
retur...
2005 Aug 30
0
No subject
is called from your application, not from wine code.
In 9 out of 10 cases this would be done within the handling of some
message, in this case for instance a WM_MOUSEMOVE or WM_LBUTTONDOWN
message. Here that seems not to be the case. That would make a
backtrace from within this call interesting.
[...]
> Maybe someone can get something out of that.. I've been comparing them
> for the past 30 minutes and I can't see anything significant...
> Inter...
2008 Jul 01
0
Draggable item absolutely positioned inside relative div
...their "top" property was set relative to
the inner container. For whatever reason, the event passed to me
didn''t contain any mouse coordinates, nor was I able to get the scroll
distance of the container.
I ended up keeping track of the mouse coordinates at all times with a
"mousemove" event on the document element. I added an onDrag handler
to position the element using the mouse coords I was getting. The
problem with doing this was that in dragdrop.js, in the draw method of
Draggable, it constantly overwrites the top property with its own
calculation which does not work...
2007 May 05
0
integration with movtable
.../DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<title>Movtable - List</title>
<%= stylesheet_link_tag ''movtable'' %>
<%= sort_generateJS %>
</head>
<body onload="sortableInit()" onmousemove="mouseMove(event)"
onmouseup="mouseUp(event)">
<%= render_partial ''../../lib/movtable/table'' %>
<%= render_partial ''../../lib/movtable/navigation'' %>
<%= render_partial ''../../lib/movtable/filter'...
2011 Apr 07
0
python for game menus needing mouse but with mwo=force
...#39;x'] - smallstep
def pointerRight():
mouse['x'] = mouse['x'] + smallstep
def pointerUp():
mouse['y'] = mouse['y'] - smallstep
def pointerDown():
mouse['y'] = mouse['y'] + smallstep
def pointerClick():
os.system("xdotool mousemove " + str(mouse['x']) + " " + str(mouse['y']) + " click 1")
def handle_event(aEvent):
keycode = aEvent.detail
if aEvent.type == X.KeyPress:
# smaller mouse jumps from keyboard
if keycode == key_up:
pointerUp()
eli...
2006 Feb 14
0
Another draggable/droppable performance booster
...able.scroll function). This only processes the droppables
list when the mouse stops moving for a split second (100 milliseconds in
my example below), making dragging perfectly smooth while the mouse is
moving. Feel free to tweak the timing to your taste by changing the
integer initial value of this.mouseMoveTimerValue, or by changing the
timeout values from 50 to your preference.
NOTE: If you use this approach it is best to include a hoverclass for
your droppables (so they become highlighted or otherwise different when
activated)... so your users know for sure that it is safe to drop. This
is the...
2009 Sep 20
0
r30 committed - jslint now passing for google and googlev3
...mp;& options.pan) {
map.panTo(pt);
}
else {
@@ -357,7 +359,7 @@
mousePosition: function(element) {
var locDisp = document.getElementById(element);
- if (locDisp != null) {
+ if (locDisp !== null) {
var map = this.maps[this.api];
GEvent.addListener(map, ''mousemove'', function (point) {
var loc = point.lat().toFixed(4) + '' / '' + point.lng().toFixed(4);
@@ -496,11 +498,10 @@
gpoints.push(this.points[i].toProprietary(''google''));
}
if (this.closed || gpoints[0].equals(gpoints[length-1])) {
- var g...
2006 Jan 20
3
disabling drag''n''drop features on some areas
...is also visited, leading to unwanted issues.
What I''ve tried to do is to look for all ''a'' tags in the draggable elements
in order to hook
two functions on mouseover and mouseleave triggers
There, I try to disable the drags by removing the event observer on the
draggable mousemove trigger
It kind of works, but not all the time (don''t ask me why :/)
So, has anyone done this before and has a better solution ?
I am using 1.4.0_rc3 but if IIRC, I didn''t see any changes on this area
since the last version
Cheers,
Tarek
--
Tarek Ziadé | Association AfPy |...
2006 Mar 02
3
Hey How did they do that?
I''ve seen web apps where cells within a table column can be highlighted by
dragging over them. NumSum does this. Any ideas on how this is achieved?
When I try to select cells in a column by dragging over them the text within
rows gets selected as well.
Take Care
--
Aneesha
_______________________________________________
Rails-spinoffs mailing list
2006 Jun 15
12
Why such bad performance with IE ?
Regarding DragDrop
I am wondering what the deal about Internet Explorer 6 is. My application is
near to final and now while testing browsers all but the IE6 are running as
supposed to. Any other browser is performing smooth movement while IE
compared provides a very bad expirience. I''ve seen some "tuning" infos on
this list but they are either outdated or not actually working
2006 Jun 13
3
Weird flicker effect in IE6 (sortables)
...ese are various contents (forms, divs,
more lists) etc..
Now on only some of them the whole page (all text) begins to flicker /
redrawn in Internet Explorer 6 if i pick up a dragable and move it above its
original position (like moving it above the ghost of the element). The
flickr occurs on every mouseMove but not on any other sortable list item! ..
it looks like it is firing events when i am over the source position.
Also i noticed that the browser is getting really slow when i do that for
too long. (event loop, recursion??) I wasn''t able to trace the events so i
don''t know what...
2002 Apr 10
0
FoxPro Regressions - followup from Feb
...) retval=00000000 ret=0065fe45
>
>From the return adress (0065fe45) you can see that the SetCapture()
>is called from your application, not from wine code.
>In 9 out of 10 cases this would be done within the handling of some
>message, in this case for instance a WM_MOUSEMOVE or WM_LBUTTONDOWN
>message. Here that seems not to be the case. That would make a
>backtrace from within this call interesting. [...]
>
>> Maybe someone can get something out of that.. I've been comparing
>them
>> for the past 30 minutes and I can't see anything si...
2001 Aug 20
1
Event trail info help request
...running the latest wine built locally, daily from CVS.
I'm using Xfree 4.0.2 with a microtouch touchscreen, and I'm chasing a
mouse event bug.
I write my software in Borland Delphi 4.
For testing, I have written a program that simply intercepts the application
message queue, and filters WM_MOUSEMOVE, WM_LMOUSEDOWN and WM_LMOUSEUP events,
and prints them to a memo component complete with hex representation of the
hwnd from the message.
I'm running the program with
wine -managed --debugmsg +event Project1.exe
This applies to all the windows programs I have run so far. I use Calc.exe fro...
2011 Mar 04
0
Wine release 1.3.15
...ormats.
winex11: Pre-register atoms for all the built-in clipboard formats.
winex11: Always reference clipboard formats by atom instead of name.
user32: Remove GetClipboardFormatName from the user driver interface.
Alistair Leslie-Hughes (4):
mshtml: Add support for get/put mousemove event.
oleaut32: Implement ITypeInfo_GetNames Stub/Proxy.
msxml3: Add IObjectSafety support to IXMLHTTPRequest.
mshtml: Implement IHTMLAnchorElement get/put target.
Amine Khaldi (3):
comdlg32: Add missing break (Coverity).
riched20: Add a missing break.
d3dcomp...
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 Oct 23
0
Wine release 1.1.32
...all items.
comctl32: Fix imagelist leak when switching LVS_EX_CHECKBOXES style.
gdi32: Always create a context for DIB_RGB_COLORS.
kernel32: Fix copied data length.
comctl32/tests: Explicitly initialize window handle.
Owen Rudge (2):
comctl32: Only execute hit test in MouseMove if necessary.
comctl32: Ensure listview control has focus when marquee dragging.
Paul Chitescu (1):
netapi32: Add stub for NetFileEnum().
Paul Vriens (22):
comctl32/tests: Fix some test failures on older comctl32 versions.
ddraw/tests: Don't crash on older ddraw....
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c
...ons)
-{
- if (conditions & SWFDEC_EVENT_LOAD)
- return "Load";
- if (conditions & SWFDEC_EVENT_ENTER)
- return "Enter";
- if (conditions & SWFDEC_EVENT_UNLOAD)
- return "Unload";
- if (conditions & SWFDEC_EVENT_MOUSE_MOVE)
- return "MouseMove";
- if (conditions & SWFDEC_EVENT_MOUSE_DOWN)
- return "MouseDown";
- if (conditions & SWFDEC_EVENT_MOUSE_UP)
- return "MouseUp";
- if (conditions & SWFDEC_EVENT_KEY_UP)
- return "KeyUp";
- if (conditions & SWFDEC_EVENT_KEY_DOWN)
-...