?
Solved

MouseOver drawline to image

Posted on 2003-02-28
2
Medium Priority
?
484 Views
Last Modified: 2012-05-04
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
Comment
Question by:NhanNguyen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
CPOsosky earned 300 total points
ID: 8043403
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
 

Author Comment

by:NhanNguyen
ID: 8044098
Thanks, I'll look into SVG, looks hella cool.
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question