First of all, please excuse my bad english.
I have the following problem:
I have an image gallery opened in fancybox. After fancybox appears, the ajax content retrieved is transformed to adgallery and is shown in fancybox. Every time an image is changed, the coresponding image comentaryes ar fetched in an right aligned div , side
by side with the gallery, inside the fancybox. I use the keyboard suport for left and right arrows and cycling for gallery.
I need after i close the fancybox to completely destroy the adgallery . This is not done, beacouse if I press left and right keyboard, the hash still changes . I tried with no hash suport, but the image still loads somewere in a hidden div. ( to check that
i put some console.log to check if on keypress loads images )
How can I unload all adgallery after fancybox closes ?
Please help me.