frameElement && self.frameElement.tagName == "IFRAME") { alert('我在iframe中'); }. 第三種 if (window.frames.length != parent.frames.length) ...
確定! 回上一頁