i want to hide a div when the page fills the screen and there is no need for a scroll bar. But when the page is large and the screen is small and the user needs to scroll down to see all of the page i want to show the div.
Hope you understand my needs, thank you for your help.
*edit (this one not seems to work what am i doing wrong)
<script type="text/javascript">
if($(document).height() > $(window).height()){
$("#scrollTop").show();
}
else {
$("#scrollTop").hide();
}
</script>