Posts tagged 〝javascript〞

(page 20 of 24)

Q&A - Dynamically assigning CSS Floating in JavaScript

April 2nd, 2007 at 5:09 pm

Floating a DOM element from JavaScript means using style.cssFloat (not float), but a class name and CSS rules are the more maintainable fix for IE quirks.


Determining the depth of a nested HTML list

March 26th, 2007 at 3:29 pm

A short JavaScript function that finds the maximum nesting depth of a nested UL menu using getElementsByTagName, with a test case to try.


Unobtrusive connected select boxes – yet another solution approach

March 17th, 2007 at 12:54 am

Build connected select boxes that work without JavaScript: start with one select using optgroups, then split it into linked dropdowns with DOM scripting.


CSS vs JavaScript Presentation at the F2E Summit 07 in Sunnyvale

March 9th, 2007 at 1:00 am

Slides from a Yahoo F2E Summit talk arguing CSS and JavaScript are not rivals: how CSS-only menus and scripted solutions can each benefit from the other.


My Maintainable JavaScript presentation at the Yahoo! Front End Engineering Summit 2007

March 8th, 2007 at 8:59 am

Slides, workshop files and a model solution from a talk on maintainable JavaScript best practices at Yahoo's internal Front End Engineering Summit in Sunnyvale.