• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help with image coordinates

 
Macij Nowak
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, so i have an image, lets say it is cow.
i have to make script which shows me information about after clicking on the part of the body, for example head. i have an array with body parts along with their coordinates in javascript (width, height and top/left position). how do i do it? onclick + switch?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64718
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don't you just us an image map to begin with?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic