Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > HTML > BOOK: Beginning HTML, XHTML, CSS, and JavaScript
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning HTML, XHTML, CSS, and JavaScript
This is the forum to discuss the Wrox book Beginning HTML, XHTML, CSS, and JavaScript by Jon Duckett; ISBN: 978-0-470-54070-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning HTML, XHTML, CSS, and JavaScript section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 4th, 2010, 01:20 PM
Registered User
Join Date: Apr 2010
Location: Planet Earth
Posts: 70
Thanks: 4
Thanked 0 Times in 0 Posts
Default Mistake in book about image maps!

Hello everyone!
I have found a big mistake in this book in Chapter 3: Images, Audio, and Video. The mistake deals with image maps. Here is the code:
<img src="http://p2p.wrox.com/images/cafe_map.gif" alt="Cafe Map" width="500" height="300" border="0" usemap="#cafe" /> 
        <map name="gallery">
          <area shape="circle" coords="154,150,59" href="Cafe.html" target="_self" alt="Cafe">
          <area shape="poly" coords="272,79,351,79,351,15,486,15,486,218,272,218,292,166,292,136,270,76" href="courtyard.html" target="_self" alt="Courtyard">
          <area shape="rect" coords="325,224,488,286" href="Kitchens.html" target="_self" alt="Kitchens">
I put in red the mistake. As you can see, it says usemap="#cafe". However, it doesn't correspond to map name="gallery". The usemap and map name must correspond to each other.
Surprisingly, when I downloaded the code for this, both of them said "cafe". The error is in the book.

Just wanted to alert everyone of that, including the author if there's a second edition coming.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Use Map/image maps teresagoh Javascript 4 February 11th, 2006 03:54 AM
mistake in code yami56 Access 3 February 24th, 2005 04:04 PM
mistake in my topics zakarya_hazara Classic ASP Basics 1 October 9th, 2004 02:49 AM
image maps NeilS21 VB How-To 0 June 29th, 2004 07:35 PM
How do you represent thumbnails and image maps? mountainbiker XSLT 0 June 17th, 2004 07:22 AM

All times are GMT -4. The time now is 09:18 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.