Users Pricing

forum

Home Forums Setting a menu to close after X amount of time – MindStick

Setting a menu to close after X amount of time

Anonymous User 1993 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.


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md