I have a file that is used by a number of different clients. It is pulled into their website via iframe.
On this file, I have put a script that writes content differently, based on the top or parent document's URL. I am using an if/else statement:
However, on 2 of the clients, I am getting nothing - no error message, just a blank where the content should be. I then tried to see if I got anything, just from the following on these clients:Code:parent.document.URL.substr(parent.document.URL.lastIndexOf("/"),6).toLowerCase();
Again - everyone returns the URL of the top document, except these 2 clients - on them, it's not undefined, not error - just blankCode:parent.document.URL top.document.URL parent.location.href
Is there some kind of server security issue that is causing this not to work? Thanx.



Reply With Quote

Bookmarks