I’m using this brilliant solution for showing a fancybox as a result of a POST request.
The problem is that I don’t know how to customize the fancybox behaviour.
How to show a spinning animation (or similar) while the ajax is performed?
How to set a title/show the content of the fancybox as (stylized) html?
Explain:
formatTitle: This function format the title for your fancybox
showspinningAnimation : In this function put a spinning .gif (as example) in a div showing the loading…