Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted
Comments
Prasad_Kulkarni 21-Dec-12 1:28am    
Are you using CSS?
PleaseHelpCP 21-Dec-12 1:39am    
yes

Hi,

Give an id to your page top section and give the navigation url like below,

XML
<a href="http://www.w3schools.com/html_links.htm#tips">
Visit the Useful Tips Section</a>


#tips is your page top section id.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900