# Hittest Deep Zoom please help me!

**URL:** <https://forum.kirupa.com/t/hittest-deep-zoom-please-help-me/305654>\
**Category:** programming\
**Created:** [March 1, 2010, 1:10pm UTC](https://forum.kirupa.com/t/hittest-deep-zoom-please-help-me/305654 "2010-03-01T13:10:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gast23](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@gast23](https://forum.kirupa.com/u/gast23)\
**Post date:** [March 1, 2010, 1:10pm UTC](https://forum.kirupa.com/t/hittest-deep-zoom-please-help-me/305654/1 "2010-03-01T13:10:20Z")

</div>

Hey,

i created a “Deep Zoom classic + Source” template.

The only thing i still need for my project is to know when a image got clicked/is in the users focus!!! (a single subimage)!

I would be very thankful for help. (A method would be the best and the insert point!)

Yeah i know there are some methods on google but they don’t fit in this generated code…

Deep Zoom is very cool but i don’t understand why the api is so bad designed.

There should be a event on subimage, something like “Clicked”, “focused”…

Thank you!:luigi:
