Customization of the menu using CSS code


Menu Generator gives you a wide variety of ways to customize the appearance of your menu.
An additional level of customization can be reached using CSS code.

To apply a custom CSS class to the menu, just run the "dm.ApplyCSS(...);" JavaScript method.
The sample code below demonstrates how to apply the "Border" CSS class to the "MyMenu1" menu:

<script type="text/javascript" src="./MyMenu1/MyMenu1.js"></script>
<div id="MyMenu1"></div>

<style type="text/css">
.Border
{
    border:solid 1px #587DBC;
}
</style>

<script type="text/javascript">
    dm.ApplyCSS('MyMenu1','Border');
</script>





Created by Menu Generator