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 1855 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 !


Message
Can you answer this question?

Answer

1 Answers

Liked By