can i have an onclick event on a imagemap area element

前端 未结 7 1181
死守一世寂寞
死守一世寂寞 2020-12-03 09:52

I would like to put an onclick event on an area element. Here is my setup:



        
7条回答
  •  我在风中等你
    2020-12-03 10:44

    I found this question by @TimorEranAV HTML map that displays text instead of linking to a URL and was marked as duplicate, but i think what he was expecting is this,

    
    
      Program - Image Map
    
    
    
    
     Planets
    
    
      Sun
      Mercury
    
    
    
    
    
    

    Here the title tag gives the opportunity to add a hover text(tip) to the image map.

提交回复
热议问题