Question 1 is how do shorten the main menu height. I've seen the menu quick reference but it doesn't tell you where to put the directive. I've tried putting itemheight=25 and menuheight=25 into both the main .html page and the menudata.js script but neither works. What's the default value?
Question 2 is the menu items are in the .html page. I know I can use SSI for central administration, but I'd rather put this stuff in a central javascript (unless SSI would reduce the weight of the page).
This is what I've copied and pasted into my main .html page in order to get this menu system to work. It'll probably wrap and is enclosed in a "<td>" tag.
Note that I only have a kindergarden level concept of .html and .js though I can configure directives if I know where and what to edit.
Code: Select all
<SCRIPT language=JavaScript src="scripts/milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=scripts/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=scripts/mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="scripts/menu_data.js" type=text/javascript></SCRIPT>
<script>
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=155;
left=200;
alwaysvisible=1;
orientation="horizontal";
overfilter="";
position="relative";
aI("text=Home;url=http://milonic.com/;status=Back To Home Page;");
aI("text=Menu Samples;showmenu=Samples;");
aI("text=Milonic;showmenu=Milonic;");
aI("text=Partners;showmenu=Partners;");
aI("text=Links;showmenu=Links;");
aI("text=My Milonic;showmenu=My Milonic;");
}
drawMenus();
</script>