I run fancybox beta v.3 and I have a gallery that I want to log views of. Every time a user opens the fancybox or click on another thumbnail/use the arrows to navigate to another gallery item I want to log it by sending an ajax request with ID to MySQL via PHP.
I know how to do all of the logging, but I need help with where I will put my ajax code in the fancybox code. Is there a simple way of doing this?
Thanks for help!