[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: a testcase for a new khtml problem
From:       Leo Savernik <l.savernik () aon ! at>
Date:       2005-04-26 18:08:54
Message-ID: 200504262009.00212.l.savernik () aon ! at
[Download RAW message or body]


Am Dienstag, 26. April 2005 18:59 schrieb Luciano Montanaro:
> El Martes 26 Abril 2005 18:39, Leo Savernik escribió:
> > Am Dienstag, 26. April 2005 15:00 schrieb Luciano Montanaro:
> > > I first thought the problem was limited to the non standard
> > > document.all[]
> >
> > It is.
>
> Uh... does the page really work for you, or is it buggy?

With *all* occurrences of document.all replaced with getElementById, it works:
	document.getElementById('i'+index).style.background = '#ffff00';
//	document.all['i'+index].style.background = '#ffff00';
	index = (index + 1) % 10;
	//document.all['i'+index].style.background = '#ffcc00';
	document.getElementById('i'+index).style.background = '#ffcc00';
	setTimeout('cycleFocus()', 1000);

So the bug *must* be related to document.all

mfg
	Leo

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic