¡@

Home 

2014/10/16 ¤W¤È 12:02:15

jquery Programming Glossary: browser_resize_auto_fired

Fix for jQuery splitter in IE9

http://stackoverflow.com/questions/5321284/fix-for-jquery-splitter-in-ie9

1.6 . Here is what I did I added the function function browser_resize_auto_fired Returns true when the browser natively fires the resize event.. 9 Then replaced instances of browser.msie with browser_resize_auto_fired Finally to get the plug in working under jquery 1.6 I changed.. Math.max wh top splitter._hadjust splitter._hmin px if browser_resize_auto_fired splitter.trigger resize .trigger resize to this window .bind..

Fix for jQuery splitter in IE9

http://stackoverflow.com/questions/5321284/fix-for-jquery-splitter-in-ie9

garlon4's solution with another fix required for jQuery 1.6 . Here is what I did I added the function function browser_resize_auto_fired Returns true when the browser natively fires the resize event attached to the panes elements return .browser.msie parseInt.. to the panes elements return .browser.msie parseInt .browser.version 9 Then replaced instances of browser.msie with browser_resize_auto_fired Finally to get the plug in working under jquery 1.6 I changed this code window .bind resize function e var top splitter.offset.. splitter.offset .top var wh window .height splitter.css height Math.max wh top splitter._hadjust splitter._hmin px if browser_resize_auto_fired splitter.trigger resize .trigger resize to this window .bind resize function e if e.target window var top splitter.offset..