SunQuest
           HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 19th, 2000, 07:46 PM
tigertim tigertim is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 1999
Location: St.JOhn's, Newfoundland, Canada
Posts: 7 tigertim User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Can anyone please tell me if it is possible for when the mouse paases over an area in an image map, another image pops up.

If so please do tell me how if not, please let me no either way.

Tim

Reply With Quote
  #2  
Old February 20th, 2000, 12:15 AM
Spookster Spookster is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 1999
Posts: 84 Spookster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Here is an example:

<HTML>
<HEAD>
<TITLE>Simple Image Rollover</TITLE>
<SCRIPT LANGUAGE="javascript">
<!--//
/* Author: Spookster
* Email: ts_spook@hotmail.com
* Description: This script will preload
* your images and allow you to produce a
* dynamic rollover effect.
*/

// This statement detects if the browser supports the image object
if (document.images) {

//This section instantiates or creates the image objects
//You can also add the width and height of the images inside the parentheses seperated by a comma
image1 = new Image();
image2 = new Image();

//This section specifies the location or url of the images to be used
image1.src = "image1.jpg"
image2.src = "image2.jpg"
}
//-->
</SCRIPT>
</HEAD>
<BODY>
<IMG src="yourimage.jpg" border="0" usemap="#imagemap1">
<MAP name="imagemap1">
<AREA shape="circle" coords="115,267,27" href="somewhere.html" onMouseover="document.rollover1.src=image2.src" onMouseout="document.rollover1.src=image1.src">
</MAP>
<BR>
<IMG src="image1.jpg" name="rollover1">
</BODY>
</HTML>

Spookster

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Need help with image map


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





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