search for: onmouseup

Displaying 17 results from an estimated 17 matches for "onmouseup".

2005 Aug 18
5
Sortable > how to know wich elementID was dropped ?
Maybe a newb question, maybe not. It''s not well documented, and I want to know how to know the id of my newly dropped item. The usage, would be to attach the newly dropped id to its *new* parent in a DB. Thanks. ???????????????????????? http://www.samueldr.com http://www.hostingquebec.ca
2007 May 05
0
integration with movtable
...quot;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'' %> </body> </html>...
2006 May 21
3
Catching events outside document (on window chrome)
Hello, How can I catch the onmouseup event outside the ducument - means when the pointer is above window chrome (e.g. toolbar)? Event.observe(document, ''mouseup'', someListener) works only inside the document for me. Thanks in advance for your help! Thomas -- Posted with http://DevLists.com. Sign up and save...
2005 Sep 23
2
Sortables: which element moved?
Looking at the archives, people have asked this before, but I can''t find a proper answer: How do you get sortable_element to return the dragged (moved) element? I know I can compare the list of elements before and after, but I need to know exactly which element was moved. The problem with comparing the list before and after is that if an element is dragged one element forward or
2006 Mar 16
2
how to distinguish between click and drag?
Hi All I have a sortable <ul> list where each <li> contains a link. e.g. <ul> <li><a>link</a></li> <li><a>link</a></li> <li><a>link</a></li> </ul> How can I go about stopping the click event on the link if the li element has been dragged? Cheers Rob
2008 Jun 04
9
How to achieve the 'multi' fade effect that is used by Apple computer?
...y Events'' etc. Is it possible to get this effect working with scriptaculous? So far, I''ve managed get things going part of the way with this ocde: "<a href="#" onmousedown="$(''budgetpositionbox'').fade({duration:0.2}); return false;" onmouseup="$ (''researchthemepositionbox'').appear({duration:0.2}); return false;">Research Theme</a>" Where the ''...positionbox'' is the <div> that fades in and out. BUT: my problem here is that I have to hard code things so that my menu would...
2006 Apr 16
8
"Cannot convert String to Integer" after using association
So, I''ve written a partial that does some stuff with a given instance of my class "entity". Entity is ActiveRecord. I''m able to retrieve all sorts of data from an @entity, until I do something like: <% for @attribute in @entity.attributes %> <div id="attribute_<%= @attribute.id %>"> <%= render(:partial =>
2006 Apr 05
0
Howto disable Firefox Drag + Drop
Hi, I am trying to implement some custom drag and drop using javascript. However, in Firefox, the drag and drop extension seems to interfere with my custom handling of onMouseDown, onMouseMove and onMouseUp. Once I start to drag the mouse (left-mouse-down + move a few pixels) firefox shows a drag-forbidden symbol (circle with a diagonal bar inside). Does anybody know how to disable this firefox extensions as it makes no sense in my case. Best Regards Peter
2006 Feb 04
0
Clicking a Draggable
Is there a standard way to catch single click on Draggable divs? Ideally I''d be able to receive an x,y position of a click on a div (I''m thinking onmouseup) when the map has not been dragged, but when the map is dragged, I don''t receive (or can easily ignore) an onclick event. I this something I have to hack into Draggable or is there something I can use there already? If the first, any tips on adding it? Cheers, Douglas
2006 Jan 13
1
Draggables causing text to be selected... solution?
Hi, it''s me again. Ok, so I''m using the Draggable class, and it''s great. However, dragging something often causes undesirable selecting of text on the page while performing the drag operation. Is there a way to prevent this? Sincerely, Ryan Gahl Design Engineer Camtronics Medical Systems (an Emageon Company) Ryan.gahl-nlycWCgr5/vuufBYgWm87A@public.gmane.org
2020 Aug 09
0
Interactive graphics
Dear R-Devel list members I'm facing as problem already known and linked to the use of getGraphicsEvent(prompt = "Waiting for input", ???????????????? onMouseDown = NULL, onMouseMove = NULL, ???????????????? onMouseUp = NULL, onKeybd = NULL, ???????????????? onIdle = NULL, ???????????????? consolePrompt = prompt) setGraphicsEventHandlers(which = dev.cur(), ...) getGraphicsEventEnv(which = dev.cur()) setGraphicsEventEnv(which = dev.cur(), env) The problem rises when trying to get interrupts generated by pressi...
2016 Sep 16
1
getGraphicsEvent() questions, minor feature/tweak request, and patch(es).
...em{prompt}{prompt to be displayed to the user in the graphics window} + \item{prompt}{prompt to be displayed to the user in the graphics window, or NA for no prompt} \item{onMouseDown}{a function to respond to mouse clicks} \item{onMouseMove}{a function to respond to mouse movement} \item{onMouseUp}{a function to respond to mouse button releases} \item{onKeybd}{a function to respond to key presses} - \item{consolePrompt}{prompt to be displayed to the user in the console} + \item{consolePrompt}{prompt to be displayed to the user in the console, or NA for no prompt} \item{which}{which g...
2007 Feb 22
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_js.c libswfdec/swfdec_js_mouse.c libswfdec/swfdec_listener.c libswfdec/swfdec_listener.h libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_root_movie.c
...3,19 @@ swfdec_player_do_mouse_button (SwfdecPla { GList *walk; guint event; + const char *event_name; if (player->mouse_button) { event = SWFDEC_EVENT_MOUSE_DOWN; + event_name = "onMouseDown"; } else { event = SWFDEC_EVENT_MOUSE_UP; + event_name = "onMouseUp"; } for (walk = player->movies; walk; walk = walk->next) { swfdec_movie_queue_script (walk->data, event); } + swfdec_listener_execute (player->mouse_listener, event_name); if (player->mouse_grab) swfdec_movie_send_mouse_change (player->mouse_grab, FALSE...
2007 Mar 07
0
11 commits - libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_scriptable.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h
...c/swfdec_event.c +++ b/libswfdec/swfdec_event.c @@ -41,6 +41,75 @@ struct _SwfdecEventList { GArray * events; }; +static const char *event_names[] = { + "onLoad", + "onEnterFrame", + "onUnload", + "onMouseMove", + "onMouseDown", + "onMouseUp", + "onKeyUp", + "onKeyDown", + "onData", + NULL, + "onPress", + "onRelease", + "onReleaseOutside", + "onRollOver", + "onRollOut", + "onDragOver", + "onDragOut", + NULL, + NULL +};...
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
..._AS_CONSTANT_STRING ("onLoad"), + SWFDEC_AS_CONSTANT_STRING ("onEnterFrame"), + SWFDEC_AS_CONSTANT_STRING ("onUnload"), + SWFDEC_AS_CONSTANT_STRING ("onMouseMove"), + SWFDEC_AS_CONSTANT_STRING ("onMouseDown"), + SWFDEC_AS_CONSTANT_STRING ("onMouseUp"), + SWFDEC_AS_CONSTANT_STRING ("onKeyUp"), + SWFDEC_AS_CONSTANT_STRING ("onKeyDown"), + SWFDEC_AS_CONSTANT_STRING ("onData"), + SWFDEC_AS_CONSTANT_STRING ("onPress"), + SWFDEC_AS_CONSTANT_STRING ("onRelease"), + SWFDEC_AS_CONSTANT_STRING...
2010 Jan 08
0
Wine release 1.1.36
...rect name also for file objects in NtQueryObject. ntdll: Don't require read access to the root directory for normal opens, similarly to the open by id case. Alistair Leslie-Hughes (5): mshtml: Add stub interface IHTMLFiltersCollection. mshtml: Implement IHTMLDocument2 get/put onmouseup. mshtml: Implement IHTMLDocument2 get/put onmousedown. mshtml: Implement IHTMLDocument2 get/put onmouseout. gdiplus: Implement GdipIsVisibleClipEmpty. Andrew Eikum (9): hlink: Add tests and fix error handling in IHlink::{Get, Set}StringReference. hlink: Add partial im...
2008 Jan 08
0
9 commits - configure.ac test/custom test/Makefile.am test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
...se-scaled.as @@ -0,0 +1,17 @@ +// makeswf -v 7 -s 200x150 -r 1 -o mouse-scaled.swf mouse-scaled.as + +trace ("Simple check for mouse movements on scaled movie"); + +dump = function () { + trace (_xmouse); + trace (_ymouse); +}; +Mouse.addListener ({ onMouseMove: dump, onMouseDown: dump, onMouseUp: dump }); + +_xscale = 10; +_yscale = 1000; + +function quit () { + loadMovie ("FSCommand:quit", ""); +}; +setInterval (quit, 3000); diff --git a/test/trace/button-events-button-5.swf b/test/trace/button-events-button-5.swf deleted file mode 100644 index c669574..0000000 Binary...