aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes window.event.clientX does not work in IE8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "window.event.clientX does not work in IE8" Watch "window.event.clientX does not work in IE8" New topic
Author

window.event.clientX does not work in IE8

Sameer Kumar
Greenhorn

Joined: Jul 09, 2008
Posts: 6
Hi,

We are checking the window size while closing the screen, and if its less than 0, we have to do some processing.
Means, just before closing the window, we have to update some records in database.
This particular check "if ((window.event.clientX < 0) || (window.event.clientY < 0)) {" was working fine with IE6 and IE7 but failing in IE8.
Any one knows any alternative regarding this.
We are supporting only IE browsers.

Sameer


Regards,<br />Sameer Kumar
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Maybe IE finally fixed that!! If you can not read it, than I am guessing IE corrected that so it behaves like every other browser.

So your code fails with Ctrl-W, browser errors, closing via taskbar, typing in the address bar, etc?

Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: window.event.clientX does not work in IE8