Basically, I just want something not to run when a page is loaded into an iframe. Is there an easy way to do this?
+2
A:
if (window != window.top) {
// the script runs in an iframe
}
Darin Dimitrov
2009-11-13 21:12:19