• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Best way to scrolldown onpageload

javascriptphpjqueryasp.netjquery-events


PHP Snippet 1:

    $(document).ready(function() {
        window.scrollTo(0, 100);
    }

PHP Snippet 2:

function Scrolldown() {
 window.scroll(0,100); 
}

window.onload = Scrolldown;

PHP Snippet 3:

<body onLoad="Scrolldown()">

PHP Snippet 4:

function Scrolldown(){
window.scroll(0,100); 
}

Related Snippets

Limit login attempts in Laravel 5.7

How to show a popup modal in codeIgniter?

Laravel implode array items to new lines

PHP my timezone is no setting up in PHP.ini File in xampp

php - add comma thousands separator but remove trailing zeros

oauth-private.key does not exist or is not readable

Check if string contains a value in array [duplicate]

Execute only one time and then wait set period of time before executing again

Laravel 5.1 how to use {{ old('') }} helper on blade file for radio inputs

how to sort by a custom appended relation to model

AJAX call fails with SyntaxError: Unexpected end of JSON input

if statement inside concatenation

How to change product Image when variables are selected in Shop and Archive Pages?

storagelogs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied

wp_remote_get() not passing authentication

About Contact Privacy policy Terms and conditions