|
|
|||||||
|
I'd need to add a hyperlink to my site which simply goes 'back', instead of specifying an excact location for the link to direct to. How would I do this? |
||||||||
|
|
|||||||
|
You'll need to use this javascript rather than html, though you may notice a similarity <a href = "javascript:history.back()"> back </a> Of all the things I've lost, I miss my mind the most |
||||||||
|
|
|||||||
|
The link appears to work only within a single page e,g, Back To Top etc. Is there a similar javascript to take you back a page. Thanks Joe. All questions are simple when you know the answers. |
||||||||
|
|
|||||||
|
Try this then: <a href="javascript:history.go(-1)">back</a> Of all the things I've lost, I miss my mind the most |
||||||||
|
|
|||||||
|
Thanks Putasolutions, That works a treat and ideal for a little project I am doing. I'm sure it will resolve Alex's question as well. Joe. All questions are simple when you know the answers. |
||||||||
|
|
|||||||
|
You're welcome, Joe Of all the things I've lost, I miss my mind the most |
||||||||
|
|
|||||||
|
Thankyou everybody for your help! |