Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

how to load at bottom of page html

<script>
    function scrollToBottom() {
        window.scrollTo(0, document.body.scrollHeight);
    }
    history.scrollRestoration = "manual";
    window.onload = scrollToBottom;
</script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #load #bottom #page #html
ADD COMMENT
Topic
Name
4+2 =