Not Working in Netscape

Giganews Newsgroups
Subject: <div> Not Working in Netscape
Posted by:  jeffejohns…@hotmail.com (Jeff Johnson)
Date: 30 Jul 2003

Hi Everybody,

I have a function that works great in IE but fails in NN.  Would
someone please give me some insight as to how to correct this:

function init(){
    var oFrame = parent.frames['content'];
    
    if (typeof(oFrame.divSummary) != 'undefined'){***** fails here!
        updateContent(oFrame);
        return;
    }
    setTimeout("init();",200);
    return;        
}
        
function updateContent(oFrame){
    oFrame.wH(oFrame.gE('divSummary'), '<%= sHTML%>');
    return;        
}

Your reply is greatly appreciated,

Jeff

Replies