Welcome visitor
* Login
* Register
It is currently March 23rd, 2019, 8:23 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » JavaScript



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  Add events to an image map
PostPosted: November 24th, 2009, 6:19 am 

Posts: 30
You know image maps, right? Imagine a picture with a door, you need to click the door to enter the site. Now, how can you create an event so when the mouse is over the door, an alert message or something else occurs?


Top
 Profile  
 
  Re: Add events to an image map
PostPosted: November 24th, 2009, 7:01 am 

Posts: 26
this is something that i made for an image about guitars, but i think you can change the guitar and put your door thing, right?
<map name="guitar">
<area shape="rect" coords="160,25,260,125"
href="http://www.scriptingok.com" onmouseover="alert('guitar player!');" />
<area shape="rect" coords="475,280,580,340"
href="http://wwwscriptingok.com" onmouseover="alert('guitar!');" /> 
</map>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » JavaScript


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron