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

前端 未结 5 1890
孤城傲影
孤城傲影 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:58

    It is a late post, but I encountered this problem and managed to make something that works.

    I'm not a jQuery or Javascript Guru so don't be harsh with this quick solution.

    Here is a little example. The order of the effects must respected. You can play with the animation time length to have a really nice drawing effect.

    I just quickly tested it on FF 3.6

    You can try the example on the google code playground. http://code.google.com/apis/ajax/playground/#jqueryui

    Click on edit html, paste the code and click run code. The example should be working

    Hope it'll help

    
    
    
    
    
    
    
    
    
        
        
    I want to be pushed nicely

提交回复
热议问题