What does this javascript instruct?

wxdqz

New Member
Hello.

I am using a wysiwyg editor to teach myself how html works. In studying the code behind a page with frames I created with the editor, I found this javascript. I tried to find out from the editor's live technical help what the javascript was for, but they said they couldn't tell me. I haven't been able to find the answer in javascript books.

Could one of you forum members please tell me what this script instructs:

var n4p = (self.innerHeight != null && self.innerHeight == 0);
if ((parent.TlxPgNm==null || parent.TlxPgNm!='index') && !n4p){
location.replace('index.htm');
}

Thank you very much.

Jane
 
Back
Top