资源算法jQuery-Splitter

jQuery-Splitter

2020-02-05 | |  29 |   0 |   0

jQuery Splitter

This is a forked copy from from http://methvin.com/splitter/ I've updated his splitter just a bit, to make it happier on modern jQuery.

His version blows on on jQuery > 1.5. This version works on 1.7, which is the most recent as of posting.

See also: http://stackoverflow.com/questions/10097458/splitter-js-wont-work-with-new-versions-of-jquery

To fix it the right way, you'd want to comment out lines 63 and 64 - They are triggering an infinite event loop. Then, add e.stopPropagation(); on line 199, and stop the splitter resize event from bubbling back up to the window, which triggers a resize event, which triggers a resi... Yeah. This unfortunately stops the resize recursion entirely. To fix it right, we'd probably want to add something that replaces 63/64 to do it without triggering more resizes.

In the meantime, this should work around it, mainly by use of try/catch blocks.


上一篇:grapheme-splitter

下一篇:album-splitter

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • shih-styletransfer

    shih-styletransfer Code from Style Transfer ...