MyOAExx/Scripts/js/jquery-core/README-IE-FIX.TXT
(完整代码) 776B
In Internet explorer jQuery sometimes throws an unidentified exception on draggable events when the getBoundingClientRect() method is called
http://dev.jquery.com/ticket/4996
http://stackoverflow.com/questions/371468/looking-for-a-workaround-for-ie-6-7-unspecified-error-bug-when-accessing-offset
http://www.sencha.com/forum/showthread.php?26276-2.0.1-IE-offsetParent-getBoundingClientRect-after-DOM-replace-issue
jquery-1.4.2-ie-fix.js is an attempt to fix this bug. Seems to work!
On line 5943 in jquery-1.4.2.js the following,
1: var box = elem.getBoundingClientRect()
was changed to,
1: var box = null;
2: try {
3: box = elem.getBoundingClientRect();
4: } catch(e) {
5: box = { top : elem.offsetTop, left : elem.offsetLeft }
6: };
Seth
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。