We help IT Professionals succeed at work.

Javascript Click and Drag Box

aristanoble asked
Medium Priority
Last Modified: 2012-05-07
I'm looking for a way to implement an image tagging feature. In the browser, I want to be able to display an image and allow the user to tag elements within the image; however, the user should be able to click and drag a selection box to tag elements of various sizes within the image. The box size and position should then be recorded so that when that element is moused over or if a hyperlink that corresponds to that element is moused over then the selection box, of the appropriate size and position, should appear over the image. I can take care of the server side scripting but can you provide the javascript or ajax code to accomplish this?
Watch Question

Application Support Analyst
Unlock this solution and get a sample of our free trial.
(No credit card required)
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.