# Need to set a timer for a menu

**URL:** <https://forum.kirupa.com/t/need-to-set-a-timer-for-a-menu/146544>\
**Category:** Uncategorized\
**Created:** [May 2, 2005, 12:57pm UTC](https://forum.kirupa.com/t/need-to-set-a-timer-for-a-menu/146544 "2005-05-02T12:57:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![markP](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@markP](https://forum.kirupa.com/u/markP)\
**Post date:** [May 2, 2005, 12:57pm UTC](https://forum.kirupa.com/t/need-to-set-a-timer-for-a-menu/146544/1 "2005-05-02T12:57:44Z")

</div>

Morning all,

I have a pretty basic menu that opens on rollOver but can’t close untill you make a choice or hit a close button. I’d also like that menu to close after a few seconds if you don’t make a choice or click the close button. I know I can do this somehow with setInterval but I haven’t found it yet. Can anyone help out with this?

Thank you.
