我們都知道超鏈接爲我們提供了一個新的鏈接頁面。 此外,我們都知道在一個頁面中,有「#」號碼讓我們使用 來找到我們導航的特定位置。超鏈接到新頁面並移動到新頁面的特定位置,可能嗎?
如果我們將這兩者結合起來會發生什麼。跳轉到顯示 的新頁面,並顯示該頁面中的特定位置。 這可能嗎?
--------------------------------------------------------
<Test_01.html>
<a href="Test_02.html#005">link_goes_to_005_location </a> -- user clicks hyperlink
--------------------------------------------------------
<Test_02.html>
001,
002,
003,
004,
<a href="#005">005</a>,
-- not only move to the Test_02.html but also, view stops here(assuming 001-007, each one with height of 200px image). is it possible?
006,
007,
它不會爲我工作。 Internet Explorer latest - 那麼,有什麼辦法可以工作嗎? 在此先感謝 -
您不需要'href =「#」'來創建一個錨點。 – number5
你說得對。事實上,由於點擊鏈接會將您返回到文檔的頂部,因此會導致出現問題。感謝您指出。 –