1. The example Periodic Table doesn't display because Opera doesn't
like inserting an element before itself. Fix: search for the code
"table.insertBefore(rowContainer,table.firstChild);" and add "if
(rowContainer != table.firstChild)" in front of it.
2. In the function "Cascade.prototype.tick" Opera complains that null
is an inappropriate value to assign to style.zIndex. Might I suggest
"auto"? Deleting the property works too, as in "delete
this.targetElement.style.zIndex;".
Apart from that, I've been very impressed! :-)
> 1. The example Periodic Table doesn't display because Opera doesn't
> like inserting an element before itself. Fix: search for the code
> "table.insertBefore(rowContainer,table.firstChild);" and add "if
> (rowContainer != table.firstChild)" in front of it.
Ouch, thanks, that'll be fixed in beta 3.
> 2. In the function "Cascade.prototype.tick" Opera complains that null
> is an inappropriate value to assign to style.zIndex. Might I suggest
> "auto"? Deleting the property works too, as in "delete
> this.targetElement.style.zIndex;".
Hmmm, this one is annoying. "auto" doesn't work in IE, nor does
delete. So I've gone with a dreaded browser detect:
this.targetElement.style.zIndex = config.browser.isIE
? null : "auto";
I'd welcome any more elegant alternatives,
Cheers
Jeremy
>
> Apart from that, I've been very impressed! :-)
>
>
> >
>
--
Jeremy Ruston
mailto:jer...@osmosoft.com
http://www.tiddlywiki.com
--
Jeremy Ruston
mailto:jer...@osmosoft.com
http://www.tiddlywiki.com
this.targetElement.style.zIndex = "";
?
Just checked in Opera, Firefox, and IE.