» Forums
» DynarchMenu forum
» Bug reports
» Menu remains highlighted after alert
» Re: Menu remains highlighted after alert
| Re: Menu remains highlighted after alert ¶ | |
| There is a problem indeed with your approach. The menu closes right after evaluating the JavaScript expression, but an “alert” dialog is modal (it stops the JS threads until the end user clicked on OK). We hope to be able to make this easier in next versions, but for now here is a quick workaround: <script type="text/javascript"> So as you can see, the idea is to delay the displaying of the alert by a short time (10 milliseconds). During that time, the browser will get a chance to run the code that closes the menu. I hope this helps. | |
| Re[2]: Menu remains highlighted after alert ¶ | |
| You guys game through again. That worked. Thanks! | |
| last |
(*) Discounts available for the above products!













