Questions tagged [onmouseover]

OnMouseOver is an event which fires in a GUI framework when a user positions mouse cursor over a control.

1007 questions
6
votes
1 answer

onmousemove Event Not Firing

I've searched through the answers provided in this blog and others without any resolution. Help is greatly appreciated. I have an onmousemove event that is executing the first item in the list of events to fire but won't execute the second. …
6
votes
3 answers

Javascript play sound on hover. stop and reset on hoveroff

function EvalSound(soundobj) { var thissound=document.getElementById(soundobj); thissound.currentTime = 0; thissound.Play(); } function StopSound(soundobj) { var thissound=document.getElementById(soundobj); …
user2081357
  • 63
  • 1
  • 2
  • 6
6
votes
5 answers

Change Text Color on mouseover

I'm hoping to accomplish this using pure CSS and Javascript. I'm ok with PHP as well. I'm avoiding jquery because I'm trying to learn javascript a bit more and I've found that in some word-press sites jquery doesn't always work the way I need it to.…
myth024
  • 196
  • 1
  • 2
  • 12
5
votes
3 answers

Make "ball" follow mouse on canvas

I'm trying to make a ball follow the mouse around inside a canvas area. But the ball only get the first position when mouse enter the canvas area (so on the edges). What is wrong since the ball doesn't follow mouse when moving around inside…
rehnoj
  • 337
  • 3
  • 12
5
votes
1 answer

mouse hover in HTML function to pop out or zoom in pic

I am an oracle guy and am struggling to write an HTML function, I would really appreciate your help. What i want to achieve is i have a 4 picture or one pictures with 4 parts, and once the mouse over each part it needs to pop out or get zoomed in.…
user2730114
  • 75
  • 2
  • 9
5
votes
3 answers

the difference between calling object and function in javascript

I'm writing in two files - one is html and one is JavaScript. So to call an object I do document.getElementById("nameObj").onmouseover = changeMe; and in the JavaScript file I do changeMe = function() { //and here i write the function } but now…
user3488862
  • 1,329
  • 2
  • 12
  • 16
5
votes
4 answers

onmouseover doesn't work when using javascript to add img tag on IE

I need some javascript code that dynamically adds an img tag to a div, and the img tag needs onmouseover and onmouseout handlers. I have it working on Firefox. But it doesn't quite work on IE. On IE, the img tag is added, but the onmouseover and…
5
votes
1 answer

D3 color change on mouseover using classed("active",true)

I'm new to js and D3. I've generated a heatmap of-sorts and would like to change the color of a tile using D3's on.mouseover. I'm able to change the color explicitly but want to use a CSS active rule. Probably something simple to fix. Any help…
glynnsc
  • 115
  • 1
  • 2
  • 7
5
votes
4 answers

onMouseOver not triggering specific function

I'm having a very confusing issue and I was wondering if someone could shed some light on it. I have a DIV element ...
And an external…
determinedto3d
  • 53
  • 1
  • 1
  • 3
5
votes
3 answers

onmouseover for the last of several generated divs will not work in IE

I have a JavaScript function: function addTool(id, text, tool, pic) { var container = getById('infobox'); var origimg = getById('tempimg').src; container.innerHTML += "
" + text + "
5
votes
4 answers

How to show a simple textbox when I hover over an icon using jquery

I have an input field in a html and a help icon (?) next to the field, When I hover over the icon I want a simple text message to be displayed and the text message should disappear on hovering away. Any way to do this using jquery? Icon will be a…
Haran Murthy
  • 341
  • 2
  • 10
  • 30
4
votes
4 answers

Is there anyway on onmouseover to fire after mouseovering after a few seconds?

I want to make sure the user wants to have something pop up by mouseing over a div. I don't want the user to accidentally trigger something to pop up without intent. setTimeout doesn't work because even if it's very brief, the pop up will still pop…
JCarter
  • 407
  • 3
  • 11
4
votes
6 answers

change css class on mouse over

Hi im trying to make my navigation bar do the css focus effect on mouseover so it will not change until another menu item has the mouseover. Im trying to do it using Jquery. Here is my code(I did import the jquery script btw and my css class): …
Matthew
  • 53
  • 1
  • 1
  • 4
4
votes
0 answers

OnMouseOver/OnMouseOut combination unreliable - What's actually causing this and how is it best resolved?

I'm trying to build a simple prototype in which I want to capture whether a user is either entering or leaving the website on desktop. Through 2 strips and a onmouseover/onmouseout I want to understand whether it's an inbound or outbound case. Hence…
user1098973
  • 334
  • 2
  • 9
4
votes
2 answers

Adding delay to jquery event on mouseover

I am trying to add a simple delay to a mouseover event of a child and having difficulties. (Still learning!) This enables me to show the popup after a delay, but shows all of them simultaneously: onmouseover='setTimeout(function() {…
TLK
  • 1,770
  • 1
  • 17
  • 32
1 2
3
66 67