a testcase for a new khtml problem

Leo Savernik l.savernik at aon.at
Tue Apr 26 19:08:54 BST 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050426/69c4309e/attachment.sig>


More information about the kfm-devel mailing list