2015-10-07 47 views
0

我想集中網頁的特定部分重定向的頁面(重定向頁面=再次原頁)來之後如何使用JavaScript如何專注網頁的特定部分之後重定向

寫代碼
<a href="http://......" /> 
<script type="text/javascript"> 


</script> 
+0

也許使用anchores? http://stackoverflow.com/questions/13735912/anchor-jumping-by-using-javascript –

回答

0

您是否嘗試過將href組合到另一個帶有href的頁面,以將您帶到另一個頁面內的另一個頁面?例如 -

<a href="http://targetsite.com/targetpage.html#target-element">Link text</a> 

以上將帶你到目標頁面http://targetsite.com/targetpage.html和使用id = "target-element"標識的元素。

這是你正在嘗試做什麼?

相關問題