I have a frameset with two frames, say
the frameset page (frameset.html)
frameA (loaded with frame_a.html)
frameB (loaded with frame_b.html)
and another page, referrer.html.
when I click a link in frame_b.html to load referrer.html into that frame, and check document.referrer in referrer.html, the result is always the same…frameset.html.
The referrer is always defined as the frameset, not the document that was loaded into frameB, where the click originated.
here’s the VERY SIMPLE code that I’m using in referrer.html…
document.write(“this is the javascript referrer: ” + document.referrer);
and that’s it.
So my question is, Is it possible to identify the page loaded into the frame, rather than the name of the actual frameset? If so, how?
Any help you could provide would be greatly appreciated.
Thanks!