Hi,
I'm totally new to php, so please excuse if this is a silly question.
I have a web site which is frame driven. The staff pages within the section of the web site can be visited from search engines direct without opening the pages up within the sites frame set.
This looks odd and doesn't have any link to the main site (as it would show on when it's viewed correctly).
I have been told that there is a way of detecting whether the page is being viewed from within the frame set or as a standalone, and if it is being viewed from outside the frame set it would automatically re-direct the page into the correct frame slot.
I have tried this with a basic Java script, but when the page is viewed in the frame, it re-directs the page to the whole web site within the frame window, which becomes a huge mess.
Does anyone have any ideas on how I can get this sorted ??
TIA
Kev.