IBM Developerworks, Written by Kris Hadlock
See the different methods used to create objects using JavaScript. This demo uses each object-creation method to create a functional photo slideshow.
With the increased popularity of interactive websites, JavaScript is in high demand. Developers who truly want to write complex JavaScript code need to have a basic understanding of the different ways custom objects are built and how to use them. This demo shows a few different ways a custom object can be created using JavaScript and how the objects can be used in a real-world situation by creating an interactive photo gallery.
Read the original article at IBM Developerworks