Sorry if not clear....actually the link post is more for showing images defined to category items when items are hovered over. What your looking for, and correct me if I'm wrong, is a toggle action to show multiple states. If this is the case, there is no simple way of doing it like when using individual buttons and associating the buttons to events under the "Events" tab.
As indicated (though I don't have the post link offhand), is to use P3rvB3ar's catelogy P3rvTalk plugin. Though I haven't used it, I'm of very little help. Or to have two category entries, one for and "On" state, one for an "Off" state. You then have one, or two images for each state (depending on how you want to do it). The "On" would have an event to show an image or two, then perform a function, then the "Off" state would hide the images (and even show other images), and have an opposite function to it.
Is that what your looking for?