Categories:
Partners
Web Hosting
We've partnered with HostGator for reliable, affordable hosting starting at $3.95/mon. Use coupon code "javascriptkit25" for 25% off any package.

Accessing images & creating image rollovers

All images in a web page are accessible through "image object" in JavaScript. The image object is created for you whenever you insert images onto your webpage. It does so automatically, even if there's not one line of JavaScript code on your page, as opposed to the Date object, for example. In this tutorial, we will look at how to access images in JavaScript, and also, how to create the popular rollover image effect using JavaScript.

Copyright 1997-2014 JavaScript Kit. NO PART may be reproduced without author's permission.