jquery animate position in percentage
how do I determine the positions in percentages?   


        $(document).ready(function(){
          $("#button").toggle(function(){
            $("#slide").animate({top:-100%},1000);
          },function(){
            $("#slide").animate({top:0%},1000);
          });
        });
        
Please suggest.
jquery animate position in percentage
===

how do I determine the positions in percentages?   


        $(document).ready(function(){
          $("#button").toggle(function(){
            $("#slide").animate({top:-100%},1000);
          },function(){
            $("#slide").animate({top:0%},1000);
          });
        });
        
Please suggest.