2条回答
  • 2021-02-06 15:42

    Edit:

    Are you trying to do sth like this? See: http://twitter.github.com/bootstrap/javascript.html#tabs


    See the working example: http://jsfiddle.net/U6aKT/

    <a href="#id">go to id</a>
    <div style="margin-top:2000px;"></div>
    <a id="id">id</a>
    
    0 讨论(0)
  • 2021-02-06 15:54

    try this

        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
        <html>
        <body>
            <a href="#name">click me</a>
    <br><br><br><br><br><br><br><br><br><br><br>
    <br><br><br><br><br><br><br><br><br><br><br>
    <br><br><br><br><br><br><br><br><br><br><br>
            <div name="name" id="name">here</div>
        </body>
        </html>
    
    0 讨论(0)
提交回复
热议问题