RE: multiple frames and scripts not loading

"Bryan Andrews" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <E5B0A21B29879B408844E0551227EF173ACFC7@tatl0s10.trendinfluence.com>
It is the latest .9.79. I figured it out, though not to my satisfaction. IT wasn't loading those scripts because of something javascript that it did not like. Everything was formatted correctly I'm pretty sure and I would have hoped that the debugger would have helped me figure out what the problem was:

function checkContent()
		{			
			//stmh = setTimeout('window.location.reload()',5000);
			
			var objHidden;
			var objVisible;
			
			//Netscape
			if (document.layers) 
			{
				objHidden = document.layers['content'];
				objVisible = parent.frames.room_dup.document.layers['content'];
			} 
			
			//Early IE
			else if (document.all) 
			{
				objHidden = document.all('content');
				objVisible = parent.room_dup.document.all('content');
			} 
			
			//New IE and mozilla
			else if (document.getElementById) 
			{
				objHidden = document.getElementById('content');
				if (is.ns){
					objVisible = parent.room_dup.document.getElementById('content');	
				else{
					objVisible = parent.frames.room_dup.document.getElementById('content');	
				}
							
			}
			
			
			if(objVisible.innerHTML != objHidden.innerHTML) 
            {        
				objVisible.innerHTML = objHidden.innerHTML; 
				if (document.layers) 
				{
					parent.frames.room_dup.scrollTo(0,2147483647); 
				}                  
				else
				{
					parent.room_dup.scrollTo(0,2147483647);    
				}
                       
            } 
            
            //parent.input.document.frmInput.txtText.focus();		
            
		}
		

-----Original Message-----
From: Martin Honnen [mailto:[email protected]]
Sent: Thursday, December 18, 2003 5:41 AM
To: [email protected]
Subject: Re: multiple frames and scripts not loading


Bryan Andrews wrote:

> I cannot get certain scripts to run - 2 of my pages do not show in the
> loaded scripts area. Is there a know bug with querystrings (my frames
> are loaded with qstring params)?

There was bug http://bugzilla.mozilla.org/show_bug.cgi?id=126779 but it
was fixed on 2002-07-30.
I don't know what version you run, maybe installing the latest from
   http://www.hacksrus.com/~ginda/venkman/
helps.
--

        Martin Honnen
        http://JavaScript.FAQTs.com/

_______________________________________________
mozilla-jsdebugger mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-jsdebugger
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.