slideToggle effect using JQUERY

We can combine slideUp and slideDown by using juqery slideToggle()

To slideToggle on click of a button here is the code.

$('#b2').click(function(){
$('#d1').slideToggle();
})

Adding speed to transition

We can add choice to transition effect. The choice are

Slow
Fast
Milli seconds

	$('#d1').slideToggle('slow');
These effects add speed to the transition effects.


Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com



    php designer

    13-06-2017

    Great tutorial. This tutorial was really helpful to known the slide toggle jquery function. Its helpful to beginners.
    Thanks.

    Post your comments , suggestion , error , requirements etc here .







    Most Popular JQuery Scripts

    1

    Two dependant list boxes

    2

    Calendar with Date Selection

    3

    Data change by Slider

    4

    Show & Hide element


    JQuery Video Tutorials




    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2021 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer