javascript - Scrollbottom js not working in Firefox, Chrome, Safari -


i've used scrollbottom javascript jquery (1.3.2/jquery.min.js) scroll particular div in below of page. working fine in ie 8 & 9 functionility not working in firefox, chrome, safari. mean scrolling functionality working div text not showing. used like:

<a href="#about">about us</a>   top div  <a name="about">description</a>  bottom div 

any idea make workable in firefox. appreciate kind advice. thank you.

i don't see in fiddle above code scrolling down, can try in this fiddle. that's correct, should use latest jquery version.

what added in js:

$('#firstdiv').on("click", function(){     $('html, body').animate({"scrolltop" : $(document).height() - $(window).height()}); }); 

Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -