|
12-02-2003, 08:06 AM | #1 |
Orange Mole
Join Date: Nov 2003
Location: High Wycombe, Bucks. UK
Posts: 35
|
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.
__________________
Regards Bob Finch |
12-02-2003, 08:21 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
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.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
12-04-2003, 04:23 AM | #3 |
Orange Mole
Join Date: Nov 2003
Location: High Wycombe, Bucks. UK
Posts: 35
|
The answer is:- define('LINK_TARGET','_self'); //Target for result links
Why didn't I think of that!
__________________
Regards Bob Finch |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Show recent searches on a page other than list.php | Gam-Man | How-to Forum | 1 | 06-04-2005 11:39 PM |
web page thumbnails in result page | JWSmythe | How-to Forum | 2 | 05-15-2004 02:11 PM |
How to exclude part of page in a PHP file | mario51 | How-to Forum | 2 | 12-18-2003 12:13 AM |
Search box on html page | rafarspd | How-to Forum | 4 | 12-04-2003 07:37 AM |
reindex specific PHP page on change? | ZAP | How-to Forum | 2 | 11-28-2003 07:35 PM |