forum

Home / DeveloperSection / Forums / Setting a menu to close after X amount of time

Setting a menu to close after X amount of time

Anonymous User 1587 23-Nov-2014
$(document).ready(function(showmenu) {
    $('#showmenu').click(function() {
            $('.menu').slideToggle().delay('1000');
    });
});

Where and how would I set a time out to close the menu (which drops down upon click) so that after X amount of time, the menu is hidden again.


Updated on 24-Nov-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By