Help me!!

zhang_xiujiao 2011-05-26
I don't know if this is the right place to post this, but I noticed there is no compatibility helper in Ext.lib.Dom for window.screenX/window.screenY vs window.screenLeft/window.screenTop

I've only tried it in IE6/7 and FF2, but according to the 5th ed of the JavaScript rhino book, it says:


IE, Safari, and Opera support screenLeft and screenTop, while Firefox and Safari support screenX and screenY
I see I could just go:
x = window.screenLeft || window.screenX

or something, but having a helper would save people (me) from having to hunt around and figure out what exactly is going on.

What do you think?
sea0108 2011-05-27
I think jQuery can help u.
m2maomao 2012-04-20
请楼主用中文.
BuN_Ny 2012-10-25
Yes, I think so.
Global site tag (gtag.js) - Google Analytics