Hi all, Please help, I want users of the site I am working on to stay within the frames that have been set out.
I use js to detect whether the current html document is within a frame. If not they are redirected to the page containing the frameset which will then display the page but within a frame.
I have tried using 'document.referrer' and 'history.previous' to get the source for the new frame but without any success.
I think that document.referrer only returns a value when a href link has been used. is this true? Also, history.previous returns 'undefined' even though the previous page is in the browsers history.
Thankyou all in advance, Pip.