![]() |
Returning from a html page to a php page.
The site url is 'http://www.rafars.org/'.
The PhpDig search url is 'http://cgi.rafars.org/php/S/search.php' The above search url will call up the search and display page. In the top left is a logo, this logo has as it's url 'javascript:history.back();'. This works and will take you back to the calling *.html page. If you do a search and then select a page from the search results you are taken to that page. At the bottom (and in the top bar menu) of that page is a 'back' button with the same 'javascript:history.back();', this does not return you to the phpdig search page. Any ideas please. |
Hi. This is because the selected page opens in a new window and so there is nothing to go back to when the 'javascript:history.back(); link is clicked. You could remove the target="_blank" to get the selected page to dispaly in the same window as the search results.
|
The answer is:- define('LINK_TARGET','_self'); //Target for result links
Why didn't I think of that! |
All times are GMT -8. The time now is 03:13 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.