就感覺點了沒點都一樣,
感覺點了沒點都沒反應(yīng)。
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>無標(biāo)題文檔</title>
<script type="text/javascript">
? ? ? ? function GoForward() {
? ? ? ? window.history.forward(); ? ?
? ? ? ? }
</script>
</head>
?
<body>
點擊下面的錨點鏈接,添加歷史列表項: ? ?
? ? <br />
? ? <a href="#target1">第一個錨點</a>
? ? <a name="target1"></a>
? ? <br />
? ? <a href="#target2">第二個錨點</a>
? ? <a name="target2"></a>
? ? <br /><br />
? ? 使用下面按鈕,實現(xiàn)返回下一個頁面:
? ? <form>
? ? ? ?<input type="button" ?value="返回下一個頁面" onclick="GoForward()" /> ? ? ? ?
? ? </form>
</body>
</html>
2020-07-15
點擊之后,會跳轉(zhuǎn)到你前一個打開的網(wǎng)頁.
你點擊錨點,點擊左邊返回鍵
,再點擊
就會發(fā)現(xiàn)前進(jìn)按鈕黑了
2019-08-30
這個跟返回前一個網(wǎng)頁意思基本一樣,就是記錄,如果沒有打開記錄它就沒什么用。
首先有點擊記錄
forward
點擊網(wǎng)頁進(jìn)去,然后在返回,再點擊返回下一個網(wǎng)頁按鈕自然跳到,這就是下一個網(wǎng)頁的意思。
2019-07-27
你用別的比如sublime,Dreamweaver
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>無標(biāo)題文檔</title>
<script type="text/javascript">
? ? ? ? function GoForward() {
? ? ? ? ? window.history.forward();
? ? ? ? }
</script>
</head>
<body>
點擊下面的錨點鏈接,添加歷史列表項:? ??
? ? <br />
? ? <a >第一個錨點</a>
? ? <a name="target1"></a>
? ? <br />
? ? <a href="http://idcbgp.cn/code/1026">第二個錨點</a>
? ? <a name="target2"></a>
? ? <br /><br />
? ? 使用下面按鈕,實現(xiàn)返回下一個頁面:
? ? <form>
? ? ? ?<input type="button"? value="返回下一個頁面" onclick="GoForward()" />? ? ? ??
? ? </form>
</body>
</html>
2019-04-27
可以把代碼復(fù)制一遍 到自己的工具里運(yùn)行一遍