Demos
What follows are code demos and examples which I've posted for various reasons. Some of them are linked to articles which discuss them. Enjoy. No warranty of any kind expressed or implied.
Cascading Style Sheets
-
Dual CSS Backgrounds on Your Body
A snazzy technique to display two different background images on your body under your content. An article which discusses the background technique is here.
JavaScript
-
DOM Document Loaded Refactored
(DOMLoaded Object Script)Nothing too original, but I took Dean Edwards' and Matthias Miller's DOM Document (onLoad) work and refactored it into an Object Literal where you can pass any function name to it.
-
Ajax Object
My own JavaScript Ajax Object which demonstrates effective usage of the XMLHTTPRequest Object.
-
Accessible Ajax, A Basic Hijax Example
Demo is here. Two articles: First one on the concept is here and the second with this example linked is here.
-
Debugging JavaScript with Firefox, Firebug, and also IE!
A simple JavaScript debugging script to bring basic Firebug console logging to Microsoft Internet Explorer.
Download the script. Read the article on debugging with this script.