Welcome to the JavaScript section of Safalra’s Website.
This section contains the following page and subsections:
-
JavaScript code to allow tables to be sorted based on customisable criteria
-
Code to facilitate smooth movement of display components in JavaScript
-
Code to schedule multiple functions when a document has loaded
-
JavaScript code to parse and decode query strings
-
How to implement a Mac-style ‘dock’ in JavaScript
-
Implementing cross-browser support for JavaScript DOM node type constants
-
A progressive raytracer implemented in JavaScript
-
How to implement smoothly scrolling drop-down menus in JavaScript
-
An efficient JavaScript implementation of the queue data structure
-
A demonstration of pure/true JavaScript windows
-
JavaScript can be used to make collapsible and expandable HTML lists
-
JavaScript can be used to make drop-down menus
-
JavaScript can be used to make calendars from which a date can be selected
-
Extensions for the JavaScript Number object in the form of 44 new functions
If you’re looking for a JavaScript book, one of the best is the 1000-page JavaScript: The Definitive Guide by David Flanagan, published by O’Reilly and now in its fifth edition.
It covers all aspects of JavaScript and details the most common browser compatibility issues that you may encounter: