CopyPastor

Detecting plagiarism made easy.

Score: 0.9793136469356677; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2020-06-24
by Rithik Banerjee

Original Post

Original - Posted on 2009-07-17
by daniellmb



            
Present in both answers; Present only in the new answer; Present only in the old answer;

If you don't need the change to animate then you don't need to use any special plugins - I'd just use the native JavaScript window.scrollTo method -- passing in 0,0 will scroll the page to the top left instantly.
window.scrollTo(x-coord, y-coord);

- x-coord is the pixel along the horizontal axis. - y-coord is the pixel along the vertical axis.
If you don't need the change to animate then you don't need to use any special plugins - I'd just use the native JavaScript window.scrollTo method -- passing in 0,0 will scroll the page to the top left instantly.
window.scrollTo(x-coord, y-coord); Parameters
- x-coord is the pixel along the horizontal axis. - y-coord is the pixel along the vertical axis.

        
Present in both answers; Present only in the new answer; Present only in the old answer;