single Page Linking

liunx

Guest
Im going to have a page that is long so I want to have a link to a spicific part of the page not to another page but to a spicific part of the same page how would I do that?<!--content-->You use a special parameter on the anchor tag.<br />
<br />
This link;<br />
<br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#parttwo">Go to part two</a><br />
<br />
will auto-scroll up or down the page to its finds this line of code:<br />
<br />
<a name="parttwo"></a><br />
<br />
<br />
Regards.<!--content-->By using fragment identifiers <!-- m --><a class="postlink" href="http://www.xhtmlcoder.com/beck/">http://www.xhtmlcoder.com/beck/</a><!-- m --> is a good example of lots of fragment identifiers in use.<br />
<br />
For example: <a href=http://www.webdeveloper.com/forum/archive/index.php/"#abc">Jump</a> to <a id="abc">Here</a><br />
<br />
Posted at Same time<!--content-->
 
Back
Top