Fold effect using Jquery UISyntax of Fold effect using Jquery UI.
"fold" as effect. All other parameters are optional
It can take these values
time in millseconds
Boolean (true or false). First horizontally to be folded while hiding. Default value is false
Integer or string. This is the size of the folded element, default value is 15
callback function: (Optional)
We can use a callback function to execute once the fold effect is over
Let's keep this inside a Click event of a button, here button id is b1
Adding callback Function:
We can display an alert window with message once the fold effect is over.
Here is the code
This article is written by plus2net.com team.