2012-12-27 230 views

回答

2
function MyUpDownFunction(){ 

    var top-height= $('header-div-element').position().top + <any-other-custom-height>; 


    if($(window).scrollTop() > top-height){ 
     $('#your-div').slideDown(); 
    }else{ 
     $('#your-div').slideUp(); 
    } 
} 
相关问题