Size effect using Jquery UISyntax of Size effect using Jquery UI.
Here we have given "size " as effect. All other parameters are optional
The end or vanishing point as array ['middle','center']
The height and width the size to reduce
String value , 'both', 'box','content'. Default is 'both'. It is the box or the content inside, which is to be resized.
callback function: (Optional)
We can use a callback function to execute once the size effect is over
It can take these values
time in millseconds
Usually it is connected to Click event of a button, here button id is b1
We can add optional parameter to to manage height and width it resize to
Similarly we can add scale to resixe the box or content inside the element. ( check the DEMO )
WE can add callback function to this, the function will display an alert window with message once the size effect is over.
Here is the code with all optional values