HTML
  Home arrow HTML arrow Maximizing and Restoring HTML Images with ...
Iron Speed
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Download TestComplete 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
HTML

Maximizing and Restoring HTML Images with the Image Map Method
By: Chrysanthus Forcha
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2008-04-16

    Table of Contents:
  • Maximizing and Restoring HTML Images with the Image Map Method
  • The Method
  • Image Map
  • Testing and Finalizing

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    Maximizing and Restoring HTML Images with the Image Map Method
    (Page 1 of 4 )

    This article is a follow up to the article "Maximizing and Restoring HTML Images with the Absolute Method." It offers an alternative method, which I call "Image Map." So if you want another way to display an image on your web page with maximization and restoration capabilities, then by all means read this article.

    The phenomenon

    Just as a quick review, in case you didn't read the earlier article, let me remind you of what we'll be trying to accomplish. Many web pages feature images that can be enlarged (maximized) and restored within the same page. There is normally a small clickable area on the image. When you click this area, the image is maximized. While the image is maximized, there is still a small clickable area on the image; if you click that area, the image is restored to its smaller size. This phenomenon is common in e-commerce or shopping websites.

    You can get this effect by purchasing a program that will produce the image with the small clickable area. When this area is clicked, the image will maximize or restore itself; you do not need to know how the program was written, you just use it to produce an image with the maximization and restoration characteristics. Another way is to do it yourself, using JavaScript and CSS. That is what I want to show you in this article. I call the method, the Image Map Method.

    You need to know the basics of HTML, JavaScript, and CSS in order to understand this method. I will use the image of a watch to explain the method. Two sizes of a watch are given below (Fig.1 & Fig.2). The small one is the watch at its normal size. The bigger one is the watch at the maximized size.




    The small triangle with a black border at the bottom right of the normal-sized image is the clickable area used to maximize the image. The same small triangle (proportionally enlarged) at the bottom right of the maximized image is the clickable area used to restore the image.

    More HTML Articles
    More By Chrysanthus Forcha


       · You do not really need a special software in order to have an image that can be...
     

    HTML ARTICLES

    - Text on HTML Images: Do it Yourself
    - Custom Buttons in HTML
    - Quick Web Page Menu
    - Maximizing and Restoring HTML Images with th...
    - Maximizing and Restoring HTML Images with th...
    - Handling Hyperlinks and Images in HTML
    - Quick Start with HTML
    - HTML Tips
    - Color Composition and HTML
    - HTML Fonts, Styles, and Headers
    - Uses of the New Window Command for Web Sites
    - HTML Working with Images
    - HTML: Working with Special Characters
    - HTML Forms
    - HTML Tables


     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway