Log In · Register

 
Imagemapping Q.
Fireshrieker
post Jun 30 2004, 08:58 PM
Post #1


Feh... I want ramen!!
*****

Group: Member
Posts: 928
Joined: Feb 2004
Member No: 3,203



Hi kiddies.
Question: when you make an imagemap, instead of having the hot spot point to a URL, could you make it go to, say, a javascript function?

I was thinking along the lines of adding the popup-menu function to an imagemap so that whenever someone clicks on that hotspot, a popup info box shows up (credits, etc.). Is this possible or am i just dreaming?
 
 
Start new topic
Replies
Fireshrieker
post Jul 2 2004, 10:01 AM
Post #2


Feh... I want ramen!!
*****

Group: Member
Posts: 928
Joined: Feb 2004
Member No: 3,203



QUOTE(DrNick311 @ Jul 2 2004, 9:34 AM)
Hmm... Where it says "HREF=" on the actual mapping code, try calling up the Javascript function instead of putting in a URL.

Yeah, that's what i was thinking... but would i add the <script> and </script> tags to it, or just the
CODE
<!-- begin code provided by createblog.com -->
alert("WHAT YOU WANT POP-UP TO SAY")
<!-- end code provided by createblog.com -->
part of it?
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: