Candrias77
01-06-2003, 01:55 AM
When one of my pages links to an external URL I have it opening in a new window. This new window is a frameset with a menu in a small top frame so that users can get back to my site.
I always link to the same frameset page (link.php) - the lower, main frame URL is defined when the page is linked to, ie. I would open the external link with the code below:
<a href="link.php?link=http://www.apple.com" target="_blank">
The small, top frame is always the same and contains the "back to where you came from" link.
A simple java history-1 link will not work because the visitor may have clicked on links within the lower frameset - it needs to get the url of the refering page.
Hope that this post makes sense, I appreciate any help.
I always link to the same frameset page (link.php) - the lower, main frame URL is defined when the page is linked to, ie. I would open the external link with the code below:
<a href="link.php?link=http://www.apple.com" target="_blank">
The small, top frame is always the same and contains the "back to where you came from" link.
A simple java history-1 link will not work because the visitor may have clicked on links within the lower frameset - it needs to get the url of the refering page.
Hope that this post makes sense, I appreciate any help.