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.
11 minutes
| Description | Name | Size | Download method |
|---|---|---|---|
| Transcript | Creating_Objects_with_JavaScript.pdf | 40KB | HTTP |
Information about download methods Get Adobe® Reader®
Learn
- Get started with object-oriented JavaScript code (Kris Hadlock, developerWorks, April 2011) teaches you how to take the JavaScript language to the next level by creating your own custom objects.
- Understanding built-in objects in JavaScript (Kris Hadlock, developerWorks, August 2011) gives a foundational understanding of the intrinsic objects available in the JavaScript language.
- The Web development zone specializes in articles covering various web-based solutions.
- Stay current with
developerWorks technical events and webcasts.
- Follow developerWorks on Twitter.
Get products and technologies
- Try IBM software for free. Download a trial version, log into an online trial, work with a product in a sandbox environment, or access it through the cloud. Choose from over 100 IBM product trials.

Kris Hadlock has been a contract web developer and designer since 1996. He has worked on projects for companies such as SPIN Magazine, IKEA, United Airlines, JP Morgan Chase, GoDaddy Software, and Fire Mountain Gems. He is the author of Ajax for Web Application Developers (Sams) and The ActionScript Migration Guide (New Riders) as well as a featured columnist and writer for numerous websites and design magazines, including Peachpit.com, InformIT.com, and Practical Web Design magazine. Kris is also the founder of www.studiosedition.com, a web design and software development studio specializing in fusion of form and function.