Determine if Parent Document Exists
I have a page that contains an IFRAME. There is a possibility that a search engine will direct a visitor directly to the page contained in the IFRAME, and so within that page I would like to include some Javascript that can determine if the parent page is present or has a specific URL, and then either display a message with a link to the parent page, or automatically redirect them to the home page.
I need help How-to determine if the parent exists or has a specific URL, and how to redirect them to a specific URL (if that is possible)
Thanks in advance
Mike
EchoVue.com
__________________
Mike
EchoVue.com
|