Javascript "onMouseOver" triggering for children?

I can't tell if this is a result of the jQuery I'm using, but this is what I'm trying to do: <div class="info" style="display: inline;" onMouseOut="$(this).children('div').hide('normal');" ...

Controlling mouse with Python

How does one control the mouse cursor in Python, i.e. move it to certain position and click, under Windows?

Javascript - Track mouse position

I am hoping to track the position of the mouse cursor, periodically every t mseconds. So essentially, when a page loads - this tracker should start and for (say) every 100 ms, I should get the new...

How to make buttons in python/pygame?

I'm making a game in pygame and on the first screen I want there to be buttons that you can press to (i) start the game, (ii) load a new screen with instructions, and (iii) exit the program. I've...

Tracking mouse position in Adobe Air using JavaScript

How do I track the mouse cursor position change in Adobe Air using Javascript API in Adobe Air 1.5? The following code doesn't seem to work for me. var mainWin; //main stage var...

Mouse position on mouseover event

Is it possible to get the exactly mouse position in a mouseouver event of a image? If i use a function that update the mouse position on document mouse move event I can have problems with delay...

How to get the correct mouse position in relation to a div that has has a scale transform applied

I am using CSS transform scale to create a smooth zoom on a div. The problem is that I want to be able to get the correct mouse position in relation to div even when scaled up, but I can seem...

Ruby - Get Mouse Coordinates

How do I get the position of the mouse pointer in ruby? This should be the absolute (screen) position. If this requires a system specific answer, I'm on Ubuntu. Thanks

WPF - Two Finger Horizontal scrolling on Macbook pro trackpad

The OS is Windows 8 on a Retina Macbook PRO. i need to support both vertical scrolling using the trackpad and horizontal scrolling in my app. I would like to move the WPF scrollviewer position...

JavaScript How to Dynamically Move Div by Clicking and Dragging

Okay it would seem like it should be simple. I need to take an already existing div and move it according to mouse position within the window. I have searched everywhere and it has led me to...

Python get mouse x, y position on click

Coming from IDL, I find it quite hard in python to get the x-y position of the mouse on a single left click using a method that is not an overkill as in tkinter. Does anyone know about a python...

Handle combobox dropdown when combobox moves

Our WPF application have a ScrollViewer that contains various controls. When a combobox withing this ScrollViewer is opened, and then the user uses the mouse wheel to scroll the ScrollViewer, the...

Why the coordinates of a location in streetview of Google Earth and Google Maps are different?

I am new to the Google Maps development and i have an issue struggling for some time. The lat/long of a location in street view of google earth and google maps ( web browser) are not exactly...

Re-size a rotated rectangle using mouse drag in c#

It will seems to most of the guys here that it's a repeated question but it isn't. I am having a very hard problem. I have a rectangle which can be re-sized when it's not rotated and all work...

pygame- Making mouse-interactive elements on a "scrolling" surface

Ok, so our world map for a Risk-style conquest game we are making is made of a matrix of mouse-interactive "country" objects containing their own values like name, owner, and unit counts. Right...

Get Mouse Position when pressing a character

I want to get the position of my mouse relative to the frame when I click a shortcut: @Override public void handle(KeyEvent keyEvent) { if (keyEvent.isShortcutDown()) { if...

opencv window not closing after calling destroyAllWindows() function

I am implementing camshift algorithm in python using opencv and using the position given by it to move my mouse and draw on the kolour application. When i press the button on in tkinter ui a frame...

How can i prevent from moving the camera view under the terrain?

I'm using this mouseorbit script attached to a camera. The problem is when i move the camera with the mouse and rotating it so the camera is under the terrain. I want that when it get to the...

Can access localhost but virtual host can't be reached

First post on stackoverflow, so thanks in advance for the help. I am having an issue connecting to my virtual host (created in WAMP), though I can access my localhost site with no issue. When I...

Python Gtk3 - Scroll TextView inside of ScrolledWindow by mouse and courser position

I have some text in a Gtk.TextView When I select the text with my mouse or navigate the cursor beyond the bottom edge I cannot se my selection because it does not scroll. So I think I need to get...

Mouseup lost when leaving iframe: leads to reversed input

TL;DR question: How can some javascript tell the window that the mouse button has been released? The mouseup event is being lost because of a cross-domain iframe. I can detect that the problem has...

Embedding an <a-scene> breaks the raycast of the mouse/cursor

When adding the embedded component to a scene for easier styling of elements in my AR scene, the raycast/click event does not trigger on the correct spot. When I remove the embedded tag from the...

How to implement zoom towards mouse like in 3dsMax?

I'm trying to mimick the 3dsmax behaviour when you zoom in/out by moving the mouse wheel. In 3ds max this zooming will be towards the mouse position. So far I've come up with this little...

how to draw svg polygon on the points of mouse click position

I have a project: on mouse clicks and move and next click and so on; by every click's position I want to make an svg polygon but I don't have any idea as to how. When the mouse moves, at the same...

How to register to global mouse events (move, click) with VB.NET?

For my own implementation of a lightweight remote service application (like RDP, TeamViewer), I need to listen to the system's (or global) mouse events, like mouse move or left/right/middle/etc...

Custom Add-In Toolbar to stack

I have the following code that generates a custom toolbar. My issue is, as I add more buttons/pop ups, they ad one another horizontally. which means after adding 4/5 it tends to take up a huge...

Is there a way to put the cursor where the mouse is clicked in multiline TextFields?

I am using a multiline textfield similar to the Life Story field in the Flutter gallery textformfield example. I can't get the cursor to stay where I put it using the mouse. You can use the arrow...

How to get objects correctly placed when zoomed in on fabricjs canvas?

I'm using fabricjs to load an image, use the mouse wheel to zoom on pointer position, and click to add a circle. When no zoom, objects are created where clicked. When zoomed in, the only circle...

Firing Mouseout Event depends on Window Size

I want to draw on a 3D-transformed canvas, but have some weird problems with the mouseout event in Chrome. When I set the JSFiddle window size to 2100px, the mouseout event works as...

new line after end of current line causing creating of new prompt

I was working with xtermjs to make an in browser terminal and everything works fine except for 1 bug I have in my code which I can't figure out. The problem is when a user types in terminal and...