On the page I am building, I have four buttons which show/hide (visible=”true” || visible=”false”) certain div’s. What I want is before the AJAX function is called, my own custom function be called, which animates opacity of current visible div to zero, then displays a loading image and finally after the AJAX function completes another custom function is called which animates the “to be” shown div from zero opacity to 1 and from left to right. What I am trying to accomplish is windows phone 7 kind of effect in the webpage. So, any ideas how I can do that?
Share
If your are using Asp.net ajax then yo can achieve this by following these steps
Register your javascript methods with these statement.
Definition of registered methods