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, 11:44 AM
Post #2


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

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



Hm. I almost figured it out. Turns out i need to use ' instead of ", and that java script: goes in front of the alert. Now I just need to figure out how to do text formatting, such as spaces, tabs, and line breaks. hmm...
 

Posts in this topic


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