This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

window.event.clientX does not work in IE8

 
Sameer Kumar
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic