### MasterPage Script and Link Definitions Source: https://www.smartmenus.org/docs These are example script and link definitions for a MasterPage, using Page.ResolveURL for correct path resolution. They include jQuery, jQuery UI, Smartmenus core, and Smartmenus theme CSS. ```html " rel="stylesheet" type="text/css" /> " rel="stylesheet" type="text/css" media="screen" /> " rel="stylesheet" type="text/css" media="screen" /> ``` -------------------------------- ### beforefirstshow Event Source: https://www.smartmenus.org/docs Fired only once for each sub menu, right before it's shown for the first time. You could use it, for example, for some initialization tasks that need to be called just once. You can cancel the event with `return false` and the sub menu will not be shown. ```APIDOC ## beforefirstshow Event ### Description Fired only once for each sub menu, right before it's shown for the first time. You could use it, for example, for some initialization tasks that need to be called just once. You can cancel the event with `return false` and the sub menu will not be shown. ### Cancelable Yes ### Arguments - **e** (jQuery.Event) - The jQuery.Event object. - **menu** (HTMLElement) - The sub menu `