Is it possible test if the page is being iframed by a specific domain with JavaScript?
Like this:
if (window!=window.top){
if (this page is iframed by www.foo.com){ // load foo's special navigation bar}
if (this page is iframed by www.bar.com){ // load bar's special navigation bar}
} else { //load normal navigation bar }
Try
You should see the parent page’s url in the alert box. And the rest, as they say, is history…