Hi,
I have a website that uses a frameset to control its shopping cart. If my site is accesessed from some other site with a frameset, like some web search engines, My site is prevented from setting up it's own frameset.
So It seemed like a good idea to compare hostnames. That would tell you that the top frame is from somewhere else.
But I am finding that I cannot detect this information using top.location.hostname. It comes back blank. Is that some sort of security block?
any help would be appreciated.
Kevin
I have a website that uses a frameset to control its shopping cart. If my site is accesessed from some other site with a frameset, like some web search engines, My site is prevented from setting up it's own frameset.
So It seemed like a good idea to compare hostnames. That would tell you that the top frame is from somewhere else.
But I am finding that I cannot detect this information using top.location.hostname. It comes back blank. Is that some sort of security block?
any help would be appreciated.
Kevin