• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 490
  • Last Modified:

MouseOver drawline to image

hi pros!

Is there a way to draw lines from your cursor to specified areas of image and highlight that section of image on MouseOver Event?  

Please advice!
Thanks
0
NhanNguyen
Asked:
NhanNguyen
1 Solution
 
CPOsoskyCommented:
Javascript doesn't have any drawing methods as far
as I know. You might want to check out a relatively
new web technology: Scalable Vector Graphics.

http://www.w3.org/TR/2001/WD-SVG11-20011030/

It's quite easy to learn, and can be controlled almost
exclusively through javascript. There's tons of examples
online. Just go to any search engine and type in:
SVG, javascript, etc...

The downside is since it is relatively new (2001),
most browsers don't support it natively, so anyone
who wants to view the content has to download and install
a plug-in. Adobe just came out with the 3.0 version of
their SVG plugin:

http://www.adobe.com/svg/viewer/install/

-CPOsosky
0
 
NhanNguyenAuthor Commented:
Thanks, I'll look into SVG, looks hella cool.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now