Home arrow JavaScript arrow Building Image Zooming Controls with the DOM for JavaScript
JAVASCRIPT

Building Image Zooming Controls with the DOM for JavaScript


Welcome to the final part of the series entitled “Zooming images with JavaScript.” In four different tutorials, this series demonstrates how to use some of the most common methods provided by JavaScript to build a highly modular client-side application that allows for decent zooming effects on multiple images in a web document.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 3
March 25, 2008
TABLE OF CONTENTS:
  1. · Building Image Zooming Controls with the DOM for JavaScript
  2. · The previous version of the image zooming application
  3. · Building zoom controls by using some DOM scripting
  4. · Source code for the image zooming application

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Building Image Zooming Controls with the DOM for JavaScript
(Page 1 of 4 )

If you're a web developer who's searching for an approachable guide on how to implement realistic zooming effects on several bitmapped images included in any web page, then look no further and start reading this article now!

Now that I've introduced you to the main subject of this series, let me summarize the topics that were covered in detail during the preceding article. This way you can not only recall the concepts deployed in that specific tutorial, but know what to expect from this one.

Having stressed that important point, I should assume that building an extensible image zooming application with JavaScript is, at this moment, a familiar thing to you, since this process was profusely discussed earlier. I walked you through the progressive development of the aforementioned JavaScript-based zooming application, which can be very useful when it comes to extending the functionality of a typical database-driven website.

To be more specific, say that you have a website that pulls a certain number of products from one or more database tables, which are displayed in a fancy style. A web application like the one that I just described could be easily enhanced with a small bit of interactivity, if it's properly coupled with the zooming script that I'm currently developing in this series. Plus, you have the advantage of its remarkable simplicity along with its easy learning curve. What else can you ask for?

And speaking of advantages, you'll certainly recall that in the previous article of the series I provided this image zooming application with the capability to implement this visual effect on multiple images included in a given web page. However, there was an important issue that needed to be addressed, since the respective zoom controls were built directly from inside the structural markup. This isn't the best approach to follow, simply because they should be created dynamically by using some DOM scripting.

So assuming that this problem should be solved following a standard approach, in this last part of the series, I'll complete the development of this JavaScript-driven zooming application. This implies that each of the zoom controls will be appended on the fly via the DOM, after the pertinent web page has been loaded.

So are you ready to tackle the last chapter of this educational journey? Let's get started now!


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Tutorials for Beginners
- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 2 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials