Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

jQuery - double click button to open and close element with fadeToggle(), slideToggle or animate() function

0 votes
2 views
added Jun 9 in jQuery by lcjr Second Warrant Officer (5,520 points)
edited Jun 9 by lcjr
$('#vpex-menu').on('click', function() {
    // $('.full-popup.vpex-popup').animate({
    //     'width': 'toggle'
    // }, 1000);
    $('.full-popup.vpex-popup').fadeToggle();
    $('.full-popup.vpex-popup').slideToggle(100);
});

 

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...