Sorry to bother you, yet again. But I just discovered something weird.
Both Opera and Safari (and IE 5.2 for Mac, but I don't plan on
supporting it anyway) just renders a blank page, but Firefox (and
Camino) works just fine.
Is this a bug in MochiKit, or is it my code?
Here is the whole thing:
sisteinfo = ["Header", "image.png"];
boks = DIV({'id': 'siste-utgivelse'},
H2(null, sisteinfo[0]),
P(null,
IMG({'src': sisteinfo[1]})));
SisteUtgivelse = function(){
insert = function(){
appendChildNodes('siste', boks);
}
remove = function() {
sisteBoks = $('siste-utgivelse');
swapDOM(sisteBoks, null);
}
connect('siste', "onmouseover", insert);
connect('siste', "onmouseout", remove);
}
connect (window, "onload", SisteUtgivelse);
Jon.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---