PDA

View Full Version : back script


wolf202
November 24th, 2002, 11:24 PM
hi, i'm back. if ya been wondering where i been well i've been using dreamweaver to put my page inn tables. well now i need a script and i was hoping if you had one i need it to create a text link that will take the viewer back to which ever page they were at last.

degsy
November 25th, 2002, 02:12 AM
It's a standard javascript.

You can use history.back() or history.go(x)

wolf202
November 27th, 2002, 12:26 AM
o yah well umm yah.. sor i put <a href="history.back()">?

Spider
November 27th, 2002, 12:53 AM
<a href="JavaScript:history.go(-1)" onMouseOver="self.status=document.referrer;return true">GO BACK ONE PAGE</a>

That's a text link that goes back one history step.

Steven.Bentley
November 27th, 2002, 08:02 PM
the board seems to have added a space in the word javascript for some reason of other...

Spider
November 27th, 2002, 08:18 PM
Good eye Steven.

I went to edit it but it's fine. It just shows split after posting.

javascript
JavaScript


javascript
JavaScript
JavaScript:history.go(-1)
JavaScript :history.go(-1)


It seems to do it inside [code] tags only, and only when the
colon touches the word.

degsy
November 28th, 2002, 01:50 AM
If you visit a few VBulletin boards you will find that a few words are filtered for security reasons.

Javascript is one of them, when used in posting a script.