Home  >  Article  >  Backend Development  >  javascript-请问网页中如何用js实现跳转到指定行数?

javascript-请问网页中如何用js实现跳转到指定行数?

WBOY
WBOYOriginal
2016-06-02 11:34:141246browse

javascriptphphtml

如题,请问如何用js实现点击跳转到相应的网页位置(当前网页的位置,如回到顶部)

是否可以实现跳转到制定div?还是要指定跳转到坐标?求一个实例.谢谢先~

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn