# Thumbnail gallery component help! \[MX\]

**URL:** <https://forum.kirupa.com/t/thumbnail-gallery-component-help-mx/28830>\
**Category:** Uncategorized\
**Created:** [August 19, 2003, 2:41am UTC](https://forum.kirupa.com/t/thumbnail-gallery-component-help-mx/28830 "2003-08-19T02:41:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![liquidac](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/liquidac/32/205_2.png) [@liquidac](https://forum.kirupa.com/u/liquidac)\
**Post date:** [August 19, 2003, 2:41am UTC](https://forum.kirupa.com/t/thumbnail-gallery-component-help-mx/28830/1 "2003-08-19T02:41:47Z")

</div>

Hi everyone, first thanks to take the time to read this message! 🙂

Now the problem, i am using this gallery component  
[http://www.mr10.net/components/gallery/](http://www.mr10.net/components/gallery/)

what im trying to do is, when you click on the large image or on a button it open this image in a pop-up.

What they say on the site

> 

c. Optional: you can assign a clickHandler to the large pictures for enabling pop-ups or download options:

01 function clickMe(id) {  
02 //get imagenode for this thumbnail  
03 //‘id’ counts from 1, XML counts from 0: hence the ‘-1’  
04 var imageNode = myGallery.getXMLNode().firstChild.childNodes[id - 1];  
05 trace(imageNode);  
06 }  
07 myGallery.setClickHandler(‘clickMe’, \_root);

this is only example code and will do nothing more than display the xml node assigned the clicked picture in the output box.

[http://www.mr10.net/components/gallery/manual/](http://www.mr10.net/components/gallery/manual/)

Please help me!  
thanks!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 19, 2003, 6:24am UTC](https://forum.kirupa.com/t/thumbnail-gallery-component-help-mx/28830/2 "2003-08-19T06:24:50Z")

</div>

my problem is resolved
