![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have 'details' pages, which are accessible from various lists, depending whether they are called from the 'by date' or 'by event' listing. The visitor has to click the 'Back' arrow at top left to return to the calling page. Is there a way I could incorporate a onClick behaviour, which will return the visitor the the calling page, the 'parent'? In the 'behaviours' panel I could only see that I can only assign a specific URL to the behaviour, which would not work in my case, as the calling URLs might be different each time the page is visited.. karl,London |
#3
| |||
| |||
|
|
Karlhevera wrote: I have 'details' pages, which are accessible from various lists, depending whether they are called from the 'by date' or 'by event' listing. The visitor has to click the 'Back' arrow at top left to return to the calling page. Is there a way I could incorporate a onClick behaviour, which will return the visitor the the calling page, the 'parent'? In the 'behaviours' panel I could only see that I can only assign a specific URL to the behaviour, which would not work in my case, as the calling URLs might be different each time the page is visited.. karl,London a href="javascript:history.go(-1);">back</a |
#4
| |||
| |||
|
|
JFTR: Every browser already has a back button and users know how to use it. There's hardly a reason to reinvent the wheel, especially since it relies on JS and would appear as a non-working link to users without JS. |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
many thanks... as they say: it's easy, when you know how.. Never though that it could be this simple..:-) |
#7
| |||
| |||
|
#8
| |||
| |||
|
#9
| |||
| |||
|
|
Michael: Sure, everyone is aware of the button's existence. However, I was aked 'why do I have to click on the 'Back' arrow, at the top of the browser, to go back to the previous page?' |
#10
| |||
| |||
|
|
Djinn: this is the snippet.. where do I put the line? map name="Map" id="Map" area shape="rect" coords="4,4,64,21" href="#" onclick="MM_goToURL('parent','apothecary_summary.h tm');return document.MM_returnValue" onmouseover="MM_swapImage('Image1','','pics/closelabel_swap.jpg',1)" onmouseout="MM_swapImgRestore()" / /map |
![]() |
| Thread Tools | |
| Display Modes | |
| |