Posts tagged 〝beginningjavascript〞

Shortening JavaScripts with Math

June 28th, 2007 at 6:48 pm

Replace clunky if statements with Math.min() and Math.max() to keep a cursor-centred element inside the viewport, and to normalise scrollTop in IE.

New step by step article how to create a maintainable JavaScript slide show

April 10th, 2007 at 11:41 pm

A five-step article, promised to Singapore workshop attendees, on building a JavaScript slide show maintained in HTML, styled in CSS, with configurable labels.