jQuery slideDown vs. jQuery UI .show('slide')

前端 未结 5 1891
孤城傲影
孤城傲影 2021-02-03 13:07

I\'m trying to utilize jQuery\'s built in effect functionality to create a \"drawer\" that slides out from behind a navigation bar, pushing the content below it out of the way.<

5条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-03 13:56

    I've been looking for a decent implementation of this (seemingly simple) effect too, and this is the best one I've found: http://eric.muyser.com/work/jquery/drawer/example/

    See here for more info/code/etc: http://eric.muyser.com/blog/post/jquery-plugin-jdrawer

    However, it still seems overkill and needs to be boiled down into a bare essence animation plugin that can be called/applied via .show(), which is precisely what you'd expect to be already present in jQuery/UI as standard in the first place... but sadly isn't...

提交回复
热议问题