professorz

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

  •  
  •   professorz · Dec 19, 2015 · 2686 views
    This topic created in 4004 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
    emric
    Dec 19, 2015
    1
    点击 `li` 会触发两个事件, 第一个事件添加了 class, 第二个调用了 toggleClass 这个 class 当然就会被删除了.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1217 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 329ms · UTC 17:43 · PVG 01:43 · LAX 09:43 · JFK 12:43
    ♥ Do have faith in what you're doing.