Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Code for moving particular area of the page

Code for moving particular area of the page is mainly useful when the web pages are lengthy and also for easily moving to top of the page from bottom of the same page. It's simple one line code with Anchor Tag and id.

Meanwhile, if you want to navigate to particular area of the same page than the anchor tag will be,<a href="#cf" >  and,
if you want to navigate to particular area of some other page than the anchor tag will be, <a href="onlinewebprt.html#cf" > , but condition is that particular are should be kept in id tag which is mentioned in the anchor tag. As here i mentioned id as cf so particular content will be in



<div id="cf">
 <p>----------------------</p> </div>




This post first appeared on Php Source Codes, please read the originial post: here

Share the post

Code for moving particular area of the page

×

Subscribe to Php Source Codes

Get updates delivered right to your inbox!

Thank you for your subscription

×