I'm attempting to code my own website, and I thought that the best way to make it seem pro tech is to have it filled with iframes, the only problem comes when I have to load a popup. The popup displays either on my iframe or not at all, and what ever code I seem to be using doesn't work.
I've tried
if(window.location !== window.parent.location){
don't show popup
}
else{
show the popup
}
I'm just trying to make sure that users can still read my site with an iframe, without taking away the whole popup alerts.