This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes move the mouse, its X and Y co-ordinates are shown in IE but not Chrome Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "move the mouse, its X and Y co-ordinates are shown in IE but not Chrome" Watch "move the mouse, its X and Y co-ordinates are shown in IE but not Chrome" New topic
Author

move the mouse, its X and Y co-ordinates are shown in IE but not Chrome

Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 1055

whenver I move the Mouse Browser its X and Y co-ordinates are shown for the IE but not Google Chrome....I also want the same thing to work in Google Chrome.I checked the if condition twice not sure whree I am wrong




http://www.lifesbizzare.blogspot.com || OCJP:81%
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
document.onmousedown=mouseClicked(); <-- you are calling a function, not assigning a function here and it is not defined in your code
 
 
subject: move the mouse, its X and Y co-ordinates are shown in IE but not Chrome
 
Similar Threads
Turn Based Strategy Games
Event parameter
X and Y coordinates
Div popup
How to display text over an image in IE