Questions tagged as 'eventos-do-mouse'

3
answers

OnMouseOver Effect

I wanted two effects in OnMouseOver so that when you mouse over, the text is one color and the background is another color. I'm using this code onmouseover="javascript: this.style.backgroundColor = 'Red'" But in this case it just changes th...
asked by 12.11.2016 / 00:59
1
answer

How do I get the name of a button in the MouseListener?

How do I get the name of a button in a class that implements the MouseListener: public class Viewer extends javax.swing.JFrame{ public Viewer() { initComponents(); } public void init(){ MouseListener ouvinte = new...
asked by 19.05.2014 / 01:11
1
answer

How to add MouseClicked to a JLabel?

I'm creating a program with MVC rules in Java and would like to know how to create an Event in a JLabel when I click on it with the mouse. For example, for buttons I do this: View class: void addLogarListener(ActionListener cal) {...
asked by 21.11.2016 / 14:23
1
answer

How to simulate [mouseup ()] element by element using get ()

I have a web application which has elements of type input . <input class="switch-input" name="0" type="checkbox" /> <input class="switch-input" name="1" type="checkbox" /> <input class="switch-input" name="2" type="checkbox" /&...
asked by 22.12.2016 / 17:52
1
answer

How to execute a JS function before the CodeBehind method call? [duplicate]

I have a button asp <asp:button ID="cmdAvancarEndereco" runat="server" cssclass="btn btn-success btn-lg" text="Avançar >"> </asp:button> which has an event of VB linked in click Private Sub cmdAvancarE...
asked by 10.02.2017 / 15:13
1
answer

How do I disable mouse effects on mobile phones?

I've finished my responsive site and now I'm in the testing phase on phones and tablets. But I came across extremely nasty browsing on mobile phones and tablets, because the :hover effects I put in are messing up when I slide my finger on...
asked by 18.02.2016 / 13:27
1
answer

Simulate mouse click

I need to simulate the mouse click, but I can not use PostMessage nor mouse_event . Is there any other way to send the click?     
asked by 03.05.2015 / 06:29
1
answer

How to create an event, the mouse reaches a certain area of the application

I am developing an application in delphi xe5 and would like to make a menu open to mouse "enter" in an area of my form. It's kind of complicated to explain, but I'll try ... The windows taskbar has this option, it is hidden and when you arriv...
asked by 10.07.2014 / 18:53
1
answer

Problem in SVG image. Event mouseenter (), mousemove (), and mouseleave ()

I have an SVG image with the States of the Country, and when I hover over a State, the image with the name of the State appears and follow the mouse. I have already made the image appear and disappear with the events mouseenter and...
asked by 14.04.2014 / 21:38
2
answers

What is the difference of $ ('.boot'). on ('click') for $ (document) .on ('click', '.botao')? [duplicate]

I searched and could not find anything (probably because I do not know how to search). Anyway, does anyone know? NOTE: I do not want to know the difference between .click and .on ('click'), please read both options carefully. What I want to...
asked by 11.10.2018 / 20:16