# Kirupa xml gallary need to change xml onpress

**URL:** <https://forum.kirupa.com/t/kirupa-xml-gallary-need-to-change-xml-onpress/306701>\
**Category:** Uncategorized\
**Created:** [March 20, 2010, 11:20am UTC](https://forum.kirupa.com/t/kirupa-xml-gallary-need-to-change-xml-onpress/306701 "2010-03-20T11:20:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raaz](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@raaz](https://forum.kirupa.com/u/raaz)\
**Post date:** [March 20, 2010, 11:20am UTC](https://forum.kirupa.com/t/kirupa-xml-gallary-need-to-change-xml-onpress/306701/1 "2010-03-20T11:20:01Z")

</div>

Hi every one,

I have a very simple problem with kirupa photo gallery with xml.

i just want create some category on the gallery.

cat1.onPress = function ()  
{  
listXML.load.(“gall1.xml”);  
}

cat2.onPress = function ()  
{  
listXML.load.(“gall2.xml”);

}  
…etc

but with click on category my some images disable ,

have any any suggestion or hint or solution about this.

Please i am in troubling with my project.
