Q54 How can I tell whether the document is loaded within frames?
You are here: irt.org | FAQ | JavaScript | Frame | Q54 [ previous next ]
if (parent.frames.length != 0) {
// loaded in frames
}
else {
// not loaded frames
}Feedback on 'Q54 How can I tell whether the document is loaded within frames?'
©2013 Martin Webb 