slideUp & slideDown effects using JQUERY
Our div layer id=d1
So to slideUp the layer we can use like this
To slideDown this layer we can use like this
We will integrate the slideUp and slideDown effects with the Click event of the buttons
Adding speed of transitionWe can add optional parameter to speed up or slow down the transition from show to hide or hide to show. We can add these three choice as option.
Time in milliseconds
To slow the sliding up of div layer
To fast the slide down of div layer
To add 5000 milli seconds delay
We can combine the effects of sliding down and use one effect slideToggle().
This article is written by plus2net.com team.
|Most Popular JQuery Scripts|
|Two dependant list boxes|
|Calendar with Date Selection|
|Data change by Slider|
|Show & Hide element|