Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Creating objects with the JavaScript language

Kris Hadlock (kris@krishadlock.com), Web Developer/Designer, Studio Sedition
Photo of Kris Hadlock
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.

Summary:  See the different methods used to create objects using JavaScript. This demo uses each object-creation method to create a functional photo slideshow.

Date:  01 Nov 2011
Level:  Introductory

Activity:  43408 views
Comments:  

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.

Duration

11 minutes


Download

DescriptionNameSizeDownload method
TranscriptCreating_Objects_with_JavaScript.pdf40KBHTTP

Information about download methods          Get Adobe® Reader®


Resources

Learn

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.

Biography

Photo of Kris Hadlock

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.

Comments



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Web development, Java technology
ArticleID=757865
SummaryTitle=Creating objects with the JavaScript language
publish-date=11012011

My developerWorks community