faqts : Computers : Programming : Languages : JavaScript : Links

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 8 people (88%) answered Yes
Recently 7 of 8 people (88%) answered Yes

Entry

JavaScript: Navigate: Link: Forward: How to create a forward link?

Jan 25th, 2005 10:13
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 08 January 2005 - 07:46 pm --------------------

JavaScript: Navigate: Link: Forward: How to create a forward link?

Steps: Overview:

 1. -Add the following source code to your html page

--- cut here: begin --------------------------------------------------

<A
  HREF="#"
  ONCLICK="history.forward();"
>
Forward
</A>

--- cut here: end ----------------------------------------------------

---
---

Note:

Instead of

 history.forward()

you can also use

 history.go( 1 )

---

Note:

Here the '#' sign refers to the beginning of the current page,
and acts just as a placeholder.

Internet: see also:

---

JavaScript: Navigate: Link: Overview: Can you give an overview of 
links?
http://www.faqts.com/knowledge_base/view.phtml/aid/33558/fid/53

----------------------------------------------------------------------