And this is Opera Web Standards Curriculum: the JavaScript version, written , and concerning JavaScript and the DOM, Updates, and Web
The Opera guys have been putting together a Web Standards Curriculum -- a sort of school textbook of modern web development. Anyway, after a certain amount of cajoling from Chris "Dark Sanatic" Mills I came through on my promise to actually write some articles for it. They've now been published in the JavaScript section, if you like that sort of thing: one on modifying the HTML DOM tree and one on simple animation. Enjoy.
(I am proud I was not as whiny as Nyman -- if you saw excerpts of my emails to Mills & co they'd all say "oh, piss, yes, I did say I'd do that, didn't I? I'll get it done this week, promise." Who'd be an editor, eh?)
Comments
Don't want to be a picky bugger, but your code on creating and editing HTML reads:
var el = document.getElementById('mypara');
mypara.style.display = 'block';
You don't seem to use el, shouldn't it be:
el.style.display = 'block';
That's very funny from Opera...
Why their stupid browser doesn't have a native JSON object ? Same with Safari and Chrome.
Only IE8 and Firefox 3.5 (maybe from 3.x, haven't really checked) have it.
Oh, no, those were all "made-up", ok?! :-)