similar to: Catching events outside document (on window chrome)

Displaying 20 results from an estimated 1100 matches similar to: "Catching events outside document (on window chrome)"

2008 Jul 01
2
Sortable, stop event on drop
I''ve got a "Sortable" list that is sorting just fine. But in the list items, there is a link. If you mousedown on the link, drag it to a new location and mouseup, the list gets reordered appropriately, but then the link is followed (you did - after all - click it). Is there a way to either stop the mouseup/click event before activating the link after you''ve dragged
2007 May 05
0
integration with movtable
Hi, I''m trying to integrate movtable to display some data. The file that lists out the partials to display the data looks like this: <html> <head> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <title>Movtable - List</title> <%= stylesheet_link_tag
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
2005 Oct 14
2
events after sort
hi, i''ve just started use prototype.js et al, i am currently creating a sortable list with: Sortable.create(''id'', { onChange: myFunc }); but what i really want is an event that occurs after the li''s have been reordered and settled into the new list order. how would i do that? i know i can do for exampe: Event.observe(''id'',
2005 Sep 27
1
Multiple Page Print Jobs Wont Sort
Hello List, Im running samba 3 with cups. When I change the sort order in msword when printing multiple pages the sort order is stuck to page 1,1 then page 2,2 etc. So printing 2 copies of a multiple page ducument will not result in a sort order of 1,2,3 .. per document. I'm running multiple HPjetdirect printers in a mixed windows environment, using client printer driver = yes. However,
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
2007 Jun 10
1
variable scope
caveat: I haven't either read actionscript language spec nor really got through swfdec context, frame and such. This is fully based on blocky.swf code inspection. thanks to flare, i can extract the below beautiful code. You don't need to understand the whole thing but there is one thing to notice: border[XY]start are initialized in on(press) and get used in on(release). Currently swfdec
2005 Aug 31
0
Event listener problems
I''ve been using the bindAsEventListener function and registering various events I want to monitor and have had some problems which might be of interest. First I have been having a crash on Safari 2.0 and 2.0.1. The logical place to call Event.stopObserving to de-register the listener is actually within the listener once it has finished its task. eg register a mouseup listener
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
2008 Jun 04
9
How to achieve the 'multi' fade effect that is used by Apple computer?
Hi all! My first post here, so: be gentle ;-) I have been playing around with the scriptaculous library for a while now, and I must admit it is great. However, there is one thing that I''m notable to achieve: On Apple computers website for ilife (iphoto) http://www.apple.com/ilife/iphoto/ there is a verrrryyy nice fade effect going on when you click the navigation for ''new in
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 Feb 29
8
Running LaTeX dvi previewer on MacOS X
Several people have given great advice on how to successfully use X11 on Mac to so we can use the dvi previewer to view latex() output from Hmisc. Now after a version upgrade of X11 and X11sdk we are getting lots of crashes. I noticed a Mac dvi previewer with an executable stored as /Applications/TeX/TeXShop.app/Contents/MacOS/TeXShop Can we bypass X11 problems and point Hmisc to this
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 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
2005 Oct 25
0
Speed improvements for draggable elements?
Hi All, I''ve just started with all of the wonderful scriptaculous goodness that has been made available (thanks Sam and Thomas!) and have a question. My issue is with dragging performance and wonder if there''s something simple I''m missing. When I click on a draggable element (on the left- hand side of the page in my app), I can immediately begin dragging it,
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
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?
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(), ...)
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