search for: onmousedown

Displaying 20 results from an estimated 23 matches for "onmousedown".

Did you mean: mousedown
2006 Apr 18
2
link_to_function onmousedown
Hi, Is there some way to produce an anchor that looks like the following using helpers, or should I just code it in the rhtml like this? <a href="#" onmousedown="javascript:foo(); return false"> Thanks, Brad -- Bradley Mazurek
2006 May 20
10
Changing the height of LI elements to achieve such an effect?
Hi Everybody, I was wondering if there is such a work done with Scriptaculous/Prototype before and if not how to achieve it? Example : http://www.anatolip.com/ It is done with codes borrowed from moofx and his own codes. Thanks in advance Danial _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
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?
...hen you click the navigation for ''new in iPhoto ''08'', ''Organize by 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> th...
2006 Jan 16
4
how di i stop a running effect?
Hi, i need some help with Effect.Appear/Effect.Fade i would like fade in and out an element on hovering an element(-> tooltip behavior), but when i''m using Effect.Appear/Effect.Fade both effects will continue to play and overlap each other, resulting in unpredictable behavior. <code> <button onmouseover="Effect.Appear(''test_div2'')"
2006 Apr 20
0
Tvs Plasma notebboks E-gold apy
...h == 2)){ alert("Substitua pela mensagem que vai aparecer."); return false; } else if (navigator.appName == ''Microsoft Internet Explorer'' && (event.button == 2 || event.button == 3)) { alert("Function Dsabled!."); return false; } return true; } document.onmousedown=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; </script> </div> <table id="general" style="text-align: left; margin-left: auto; margin-right: auto; width: 842px; height: 441px;" border="0" cellpadding=&quot...
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
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
2008 Jul 21
0
Re: Listing user jobs
...In application_helper.rb: def userjobs userid = current_user.id @jobs = Job.find(:all, :conditions => { :user_id => userid }) return(@jobs) end In application.rb: helper :application In qalayout.html.erb: <% if logged_in? %> <a href="javascript:;" onmousedown="toggleDiv(''viewjobs'');">View your jobs</a> <div id="viewjobs" style="display:none"> <% @jobs = userjobs() %> <% for job in @jobs %> <%=h job.status %> <%=h job.filename %> <%=h job.created_at %&g...
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 27
0
Hello. About the dragable list in script.aculo.us
...only one of its <li> elements can be draged. I first tried to use the ''only: someclass'' for the class that I wanted to move in the Sortable.create method, but that disabled movement. I''ve never even tried javascript before, so my reaction to this was to attach onmousedown="return null;" to the element i don''t want the user to drag directly. Didn''t work either. Do you know how to achive this? Thank you. _________________________________________________________________ Don''t just search. Find. Check out the new MSN Search! htt...
2007 Dec 03
0
scrollbars and dragable
...le object. Now I have a problem. My div contains scrollbars with css: overflow: auto. When I use the IE6 the scrollbar hangs often :-) My div looks like this: <div style="visibility: visible;height:190px; widht:695px;" id="skaldiv" > <div id="historybar" onmousedown=" new Draggable(''skaldiv'');" >Verlauf</div> <a href=""><img style="position:absolute;right: 2px; top: 2px;" src="/icon/close.gif" /></a><br /> <div style="overflow: auto; height: 88%; "&...
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...
2009 Aug 12
3
How to label and unlabel points on scatterplot with mouse pointer
Dear all, How can I label/unlabel points on scatterplot with mouse pointer. As the mouse approches near to point, it should label the closest point, then unlabel when it moves away. How can I do in R? I be very thankful. Thanks and Regards, Hitesh Singla -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
2016 Sep 16
1
getGraphicsEvent() questions, minor feature/tweak request, and patch(es).
...evision 71269) +++ src/library/grDevices/man/getGraphicsEvent.Rd (working copy) @@ -24,12 +24,12 @@ } \arguments{ - \item{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 consol...
2006 Aug 07
8
Dropables problem on scroll bars
I have a droppable and draggable implementation. works pretty much well except when my droppables are on a scrollbar (created via overflow:auto) since my droppables are on a list. seems that the droppables aren''t working well with scrollbars and overflow. please help! thanks! _______________________________________________ Rails-spinoffs mailing list
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
...ot;onMouseMove"); swfdec_player_update_mouse_position (player); } @@ -501,15 +503,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...
2008 Mar 11
7
sortable scroll in div problem : dragged element doesn't follow the mouse pointer
Hello, I''m facing a strange problem with a long list of Sortable items in a container that has an overflow:auto. If I drag an item from the top to the bottom, the container div is scrolling, but there is a difference between the position of the dragged element and the mouse pointer. An example is better that a thousand words. Try to drag the first item at the bottom of the
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
...6526fa 100644 --- a/libswfdec/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&qu...