专注于页面顶部 [英] focus on top of the page
本文介绍了专注于页面顶部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我不确定这是否是提出这个问题的合适场所。我对html5和jquery有疑问。
我从一个页面导航到另一个页面。导航到另一个页面后,焦点应始终位于顶部。怎么做到这一点?
谢谢。
hi all,
I am not sure whether this is a right place to ask this question. I have a question on html5 & jquery.
I am navigating from one page to another. After navigating to another page, focus should be always on top. How to achieve this?
thanks.
推荐答案
请尝试以下方法,
http://www.webdeveloper.com/forum/showthread.php?36039-Set-Focus-to-the-Top-of-Page 一> [ ^ ]
您好,
为您的页面顶部提供一个ID并提供导航网址下面,
Hi,
Give an id to your page top section and give the navigation url like below,
<a href="http://www.w3schools.com/html_links.htm#tips">
Visit the Useful Tips Section</a>
#tips是您的页面顶部ID。
#tips is your page top section id.
这篇关于专注于页面顶部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文