professorz

jQuery 对同一个元素的切换效果的实现

  •  
  •   professorz · Dec 19, 2015 · 2385 views
    This topic created in 3824 days ago, the information mentioned may be changed or developed.

    问题移步 http://segmentfault.com/q/1010000004169420
    可以在这里回答。

    1 replies    2015-12-19 17:43:11 +08:00
    emric
        1
    emric  
       Dec 19, 2015
    点击 `li` 会触发两个事件, 第一个事件添加了 class, 第二个调用了 toggleClass 这个 class 当然就会被删除了.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3730 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 04:41 · PVG 12:41 · LAX 21:41 · JFK 00:41
    ♥ Do have faith in what you're doing.