S
SuneH
If a page is opened by open.window, I can't track from which page with
document.referrer.
Is there a way to to that?
document.referrer.
Is there a way to to that?
If a page is opened by open.window, I can't track from which page with
document.referrer.
Is there a way to to that?
if (this.opener && !this.opener.closed)
{ alert(this.opener.location); }
ok, but it is my tracker that won't register the referrer:
ref=""+escape(top.document.referrer)
I don't follow you.
No surprise, I will try to write it better:
If a page is opened with window.open
and a guest click on a link in that window
there is apparently no referrer.
The referrer is empty.
Is there a way to get the referrer?
I try with top.document.referrer and document.referrer.
there is apparently no re
in the popup window, document.referrer should point to the previous
page. What browser are you using? Can you post a test case that
illustrates the problem?
Right, there's no problem from opened window to the next pages.
Just checked it again, it's only IE6 that doesn't work ok,
FF is ok!
Then I don't understand your second explanation of the problem.
Can you post a test case or link?
On Wed, 17 Oct 2007 00:52:45 -0700, David Mark
I want the document.referrer of the opened window.
I can get the ref in IE6 with this:
if (window.opener) ref = window.opener.location.href;
But then I need the lastIndexOf('/') the ref ... but how?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.