artlung.com is the personal web site of joe crawford / san diego / california usa / january 2002

Nervous Energy Galore: document.getElementById 2002 Jan 18

In a fit of nervous energy, I made a new lab item: modify the box! a dhtml experiment. Useless, but an excellent exercise. I sat down and wrote this in about an hour and a half. I definitely am feeling better about my confidence with dynamic html – which is where client-side scripting ( commonly referred to as JavaScript, but really it’s ECMAScript, meanwhile, Microsoft would have you call it JScript, and of course originally it was called LiveScript ) and CSS meet.

In a related note: Kynn solved my MSIE6 bug with the current splash page – the trick was to put a false line-height of 3pixels. I had a <div> that was appearing 18 pixels high despite being given a height of 3 pixels. It was apparently making an affordance for text that was not there. Good to know.

Joe Crawford blogged this at 8:38pm in 2002 in January. The 18th was a Friday. You are reading this 16 years later. Make a public comment. There are no comments Tweet. Direct message. Send email. It has hashtags→ .

Leave a Reply

Comments Open; Trackbacks Open.