Wrox Programmer Forums
|
BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4
This is the forum to discuss the Wrox book Beginning Dreamweaver MX by Charles E. Brown, Imar Spaanjaars, Todd Marks; ISBN: 9780764544040
Please indicate which version of the book you are using when posting questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 1st, 2004, 11:47 PM
Registered User
 
Join Date: Dec 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 5 Image Mapping

Im having problems in chapter 5, i have put the hotspots on the italyMap and put all the info in and saved it but when i open it in a browser it shows the italy map and when i click on the usa or france button it does not bring up those maps even when i close the eye in the layers menu for the italy map.

Sorry if someone has already posted this question i couldnt find it if it has been posted already.

Thank you for any help you can give me.

Nick

 
Old December 1st, 2004, 11:54 PM
Registered User
 
Join Date: Dec 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry i forgot to mention it's in Beginning Dreamweaver MX 2004 book.

Nick

 
Old December 2nd, 2004, 03:27 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Nick,

Take a look at this thread: http://p2p.wrox.com/topic.asp?TOPIC_...erms=italy,map

You may have exactly the same problem....

Cheers,


Imar
 
Old January 6th, 2005, 03:23 AM
Registered User
 
Join Date: Dec 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you very much for your reply sorry i havent replied earlier i havent really been able to get on. i did look to see if someone else asked the same question but i couldnt find it lol so thank you for your help


 
Old January 6th, 2005, 04:02 AM
Registered User
 
Join Date: Dec 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have just tried what you said in that thread and for some reason the usa and the french map show up when i open it in a web site but for some reason the italy map wont i dont know what ive done wrong ill show the code on here if you like and if you have time to look at it that would be very helpful. Im still new at this this is the first time ive ever used dreamweaver let alone any web design program.

<body onload="MM_preloadImages('Images/regions_over.gif','Images/home_over.gif','Images/news_over.gif','Images/contact_over.gif')">
<div id="usaMapOuter" style="position:absolute; left:300px; top:150px; width:200px; height:200px; z-index:1; visibility: hidden;"><img src="Images/USA.gif" alt="" width="200" height="200" /></div>
<div id="franceMapOuter" style="position:absolute; left:300px; top:150px; width:200px; height:200px; z-index:2; visibility: hidden;"><img src="Images/France.gif" alt="" width="200" height="200" /></div>
<div id="italyMapOuter" style="position:absolute; left:300px; top:150px; width:200px; height:200px; z-index:3; visibility: hidden;"><img src="Images/Italy.gif" alt="" width="200" height="200" border="0" usemap="#italyMap" />
  <map name="italyMapOuter" id="italyMapOuter">
    <area shape="rect" coords="2,34,102,107" href="#" onmouseover="MM_setTextOfLayer('mapText','','%3Ch1 %3ENorthern Italy%3C/h1%3E%0D%0A%3Cp%3ENorthern Italy cuisine is influenced by many cultures. Its rich soil gives us fine wine and cheeses.%0D%0A%3C/p%3E')" onmouseout="MM_setTextOfLayer('usaMap','','')" />
    <area shape="rect" coords="105,59,176,135" href="#" onmouseover="MM_setTextOfLayer('mapText','','%3Ch1 %3ESouthern Italy%3C/h1%3E%0D%0A%3Cp%3EThe cuisine of Southern Italy is characterised by olives, ripe tomatoes, and citrus fruit.%3C/p%3E')" onmouseout="MM_setTextOfLayer('mapText','','')" />
  </map>
</div>
<div id="regMenu" style="position:absolute; left:350px; top:100px; width:415px; height:35px; z-index:4"><img src="Images/italyButton.gif" width="136" height="31" onclick="MM_showHideLayers('usaMapOuter','','hide' ,'franceMapOuter','','hide','italyMapOuter','','sh ow','regMenu','','show','mapText','','show')" /><img src="Images/usaButton.gif" width="136" height="31" onclick="MM_showHideLayers('usaMapOuter','','show' ,'franceMapOuter','','hide','italyMapOuter','','hi de','regMenu','','show')" /><img src="Images/frenchButton.gif" width="136" height="31" onclick="MM_showHideLayers('usaMapOuter','','hide' ,'franceMapOuter','','show','italyMapOuter','','hi de','regMenu','','show')" /></div>
<div id="mapText" style="position:absolute; left:535px; top:175px; width:200px; height:200px; z-index:5"></div>



Sorry if this is a bother but ive tried changing it and as i said im new to this so im sure its something easy i just cant see it lol. If i do figure it out i will tell you.

Thank you for all your help

Nick

 
Old January 6th, 2005, 04:07 AM
Registered User
 
Join Date: Dec 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i forgot to say i tried the changes that you said needed to be done and thats what i posted there.
Nick

 
Old January 6th, 2005, 04:50 AM
Registered User
 
Join Date: Dec 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok now i wouldnt have a clue what i have done but it seems to be working now lol even with the text and everything. thanks for your help anyway.






Similar Threads
Thread Thread Starter Forum Replies Last Post
CHAPTER 7 - UPDATE an Image dutraveller BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 4 March 20th, 2008 12:27 PM
Chapter 6 FCKeditor image upload hdpark BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 12 February 19th, 2008 01:04 PM
Chapter 7 - Image Problem SoftMind BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 4 June 19th, 2006 04:30 PM
chapter 7 image upload on Mac OS X laolaonk BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 February 19th, 2006 10:20 PM
Chapter 5-Image Mapping Help! maxcain Dreamweaver (all versions) 3 March 16th, 2004 09:00 AM





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