5 ms·
The weak DOM API not JS was what plagued the early web period from 2000 - 2005.
by gotchange 11y ago
The weak DOM API not JS was what plagued the early web period from 2000 - 2005.
- frik 11y agoNot weak, but every browser had their own non spec API functions to traverse the DOM in various ways. JQuery offered an easier cross browser API, whereas otherwise one would have to handle various bugs and different API functions.
- kedean 11y agoParticularly events. I think there are technically 3 different ways to create event handlers, one for each of the major js engines of the early 2000's.
- TazeTSchnitzel 11y agoListeners are complicated, but .onclick and friends work everywhere and always have.
- acdha 11y agoFor the simplest cases, yes, but even there you could easily find oddities with things like cancellation, bubbling, timing with regards to other events, support for various element types, etc. Here's a whole list just for click, which is probably the most standardized event handler, and doesn't even go back before the IE5.5 era: http://quirksmode.org/dom/events/click.html http://quirksmode.org/dom/events/click.html
- LoSboccacc 11y agoto double down, touch events on mobile browsers are in a different order than mouse event in regards of onclicks, so that a touchend and mouseup fire at the opposite side of the click event on some mobile browser but not all.
- untog 11y agoUntil you want to add more than one onclick event.
- jnbiche 11y agoMaybe I'm just old, but from the perspective of the current day, I'd call the early web period 1990-1995. Or possibly 1990-2000.
- buckbova 11y ago2000-2005 is the early "dynamic html" period. Or at least that's what I put on my resume at the time.
- kgwgk 11y agoActually DHTML goes back to 1997 (with Netscape Navigator 4 and Internet Explorer 4).
- deleted 11y ago[deleted]
- icebraining 11y agoI just had a pang of nostalgia after I checked and saw that Dynamic Drive is still online :)
- girvo 11y agoDynamic Drive was how I learned Javascript back in the day! Pulling apart how the author of a script had written it, to see how to get the snowflakes drifting down my page become leaves instead ;)
- dsjoerg 11y agoNot maybe, but yes.
- JackFr 11y ago1990-95 is pre-Netscape -- that's kind of pre-history. (I too am old enough to remember the internet before the web. You really had to work hard to goof off at work when all you had was nntp, archie and gopher.)