Javascript

  1. DOM Selectors API

    A quick glance at the Selectors API indicates to me that I am not alone in my desire to retrieve DOM elements with CSS selector syntax.

  2. Better Javascript

    Javascript needs to grow. The Javascript libraries such as Prototype and JQuery should barely exist. Before you say anything, let me refine the statement. Firstly, I am not discrediting them because they are very usefully libraries. Why should they barely exist? Much of their functionality, as I believe, should be provided […]

  3. Add A Class Randomly From a Set

    I was recently asked by a friend for information about how to have a random background image. Well not completely random, the background image should be from a set of images. My idea: add a class, randomly from a set, to the body (or another element) with Javascript. I could just change the style […]