HTML
  Home arrow HTML arrow Page 4 - Clickable Geographical Map Regions
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  
Mobile Linux 
App Generation ROI 
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

Clickable Geographical Map Regions
By: Chrysanthus Forcha
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2008-06-03

    Table of Contents:
  • Clickable Geographical Map Regions
  • Relationship between Geographical Regions and Image-Maps
  • Code Explained
  • Caution, Animation, Conclusion

  • 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


    Clickable Geographical Map Regions - Caution, Animation, Conclusion


    (Page 4 of 4 )

    Caution

    Note that we have used three text editor windows: one to create the coordinates for the regions, one on which we just placed the coordinates, and one for the web page to be hosted. Now, you may be using an IDE or Studio or some other software to create your web page. If you copy the coordinates from the window and then paste it on the code page of your IDE, the coordinates may be pasted with additional symbols. These symbols come from the opened browser window, even though you did not see them there.

    To avoid this problem, paste the coordinates first to a text-editor's window. The text-editor does not receive these symbols, so it does not display them. You then copy the coordinates as they should be, from the text-editor onto the code page of your IDE.

    Animation

    By animation, I am referring to a situation in which, if you place your mouse pointer over a geographical region, the region may change its color or develop a border. The image-map specification does not really give you facilities to do this. Even though the AREA element has a style attribute, which means that you can give the area element borders or some other style through a style sheet, browsers do not support this.

    Therefore, you cannot animate image-maps through the style attribute. If you really want to animate, then you can use CSS layers of the same image. This is the subject of another article.

    Conclusion

    You can make regions of a geographical map in a web page clickable so that they will open new web pages. You do this using HTML image-maps and JavaScript. To animate these regions with today's browsers, use CSS layers and JavaScript. Animation, however, is a subject for another article.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · A secret to make irregular image shapes clickable.A secret to give links to...
     

    HTML ARTICLES

    - Comparing Browser Response to Active Client ...
    - Testing Browser Response to Active Client Pa...
    - Active Client Pages: Completing the Code for...
    - ACP and Browsers: Setting up an Example
    - How Browsers Respond to Active Client Pages
    - Completing a Tree with Active Client Pages
    - HTML Form Verification and ACP
    - Building an ACP Tree
    - Completing an ACP 3D HTML Table Image Gallery
    - Building an ACP 3D HTML Table Image Gallery
    - A Multiple Page Image Gallery with Active Cl...
    - Building an Image Gallery with Active Client...
    - Concluding a Menu for All Browsers
    - A Vertical Menu for All Browsers
    - Downloading Long HTML Pages with ACP







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    Stay green...Green IT