Specifically, I'm trying to learn how to change use the mm_changeMenuStyle feature. I tried adding the following into a test page, but was unable to to get it work, and the menu retained the style from the default menu_data.js file.
Code: Select all
<SCRIPT language=JavaScript src="mm_menueditapi.js" type="text/javascript"></SCRIPT>
<SCRIPT language=JavaScript>
mm_changeMenuStyle('Main Menu',NewStyle);
with(NewStyle=new mm_style()) {
borderstyle="solid";
borderwidth="1";
bordercolor="#000000";
onbgcolor="#000000";
offbgcolor="#000000";
padding="2";
}
</SCRIPT>