Monday, 3 June 2013

ASP.NET: Jump to specific part of a web page. Text- mapping

This is very easy to do. Just declare a text with id and create a hyperlink to jump to that id.

            <ul>
                <li><a href="#exam1">Exam1</a></li>
                <li><a href="#exam2">Exam2</a></li>
                <li><a href="#exam3">Exam3</a></li>
            </ul>
 <p id="exam1">
    Exam1 70-515:
 </p>
<p id="exam2">
    Exam2 70-515:
 </p>
<p id="exam3">
    Exam3 70-515:
 </p>

No comments:

Post a Comment