WARNING: long codes ahead
WARNING: long codes ahead
Hi all, I'm new. ^^ I also have a problem with this menu which I'm putting in a table cell. It wont show up no matter what I do. Here's the code that I put in to see if it work. Can someone tell me what I'm doing wrong?
<td>
<script>
with(menuStyle=new mm_style()){
onbgcolor="#4F8EB6";
oncolor="#ffffff";
offbgcolor="#DCE9F0";
offcolor="#515151";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#2D729D";
separatorsize="1";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="menuimages/arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=155;
left=200;
alwaysvisible=1;
orientation="horizontal";
position="relative";language=JavaScript src="/menu_data.js" type=text/javascript>
with(milonic=new menuname("Milonic")){
style=menuStyle;
aI("text=Home;url=http://www.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;");
}
with(milonic=new menuname("Milonic")){
style=menuStyle;
aI("text=Product Purchasing Page;url=http://www.milonic.com/cbuy.php;");
aI("text=Contact Us;url=http://www.milonic.com/contactus.php;");
aI("text=Newsletter Subscription;url=http://www.milonic.com/newsletter.php;");
aI("text=FAQ;url=http://www.milonic.com/menufaq.php;");
aI("text=Discussion Forum;url=http://forum.milonic.com/;");
aI("text=Software License Agreement;url=http://www.milonic.com/license.php;");
aI("text=Privacy Policy;url=http://www.milonic.com/privacy.php;");
}
drawMenus();
</script>
</td>
<td>
<script>
with(menuStyle=new mm_style()){
onbgcolor="#4F8EB6";
oncolor="#ffffff";
offbgcolor="#DCE9F0";
offcolor="#515151";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#2D729D";
separatorsize="1";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="menuimages/arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=155;
left=200;
alwaysvisible=1;
orientation="horizontal";
position="relative";language=JavaScript src="/menu_data.js" type=text/javascript>
with(milonic=new menuname("Milonic")){
style=menuStyle;
aI("text=Home;url=http://www.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;");
}
with(milonic=new menuname("Milonic")){
style=menuStyle;
aI("text=Product Purchasing Page;url=http://www.milonic.com/cbuy.php;");
aI("text=Contact Us;url=http://www.milonic.com/contactus.php;");
aI("text=Newsletter Subscription;url=http://www.milonic.com/newsletter.php;");
aI("text=FAQ;url=http://www.milonic.com/menufaq.php;");
aI("text=Discussion Forum;url=http://forum.milonic.com/;");
aI("text=Software License Agreement;url=http://www.milonic.com/license.php;");
aI("text=Privacy Policy;url=http://www.milonic.com/privacy.php;");
}
drawMenus();
</script>
</td>
If you downloaded the menu, you got a menu_data.js file with everything else. The 'main menu part goes in the table cell
The rest stays in the menu_data.js file including all the submenus [showmenu=samples] etc. You seem to have included the style in the cell and also some submenus. If you have some other samples of the menu you could open the menu_data.js file for one of them and for this one and compare and see that the only thing moved to the cell is the: with(milonic=new menuname("Main Menu")){menu part. Hope that helps
Ruth
Code: Select all
<td><script>
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=155;
left=200;
alwaysvisible=1;
orientation="horizontal";
position="relative";
aI("text=Home;url=http://www.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></td>
Code: Select all
with(menuStyle=new mm_style()){
onbgcolor="#4F8EB6";
oncolor="#ffffff";
offbgcolor="#DCE9F0";
offcolor="#515151";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#2D729D";
separatorsize="1";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="menuimages/arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}
with(milonic=new menuname("Samples")){
style=menuStyle;
etc, etc. for all the ones in that file [links,partners, milonic, etc.etc, etc,
drawMenus();
Ruth
Yes. Here are two pages. One is with a horizontal menu in a table, the other vertical menu in a table. They have info and explanations on them for you, and simple pages with nothing but the menu and a table on it to see.
links removed#
Ruth
links removed#
Ruth
Last edited by Ruth on Tue Dec 30, 2003 7:46 am, edited 1 time in total.
I think I'm beginning to understand it, but another problem that I have is making the menu to show up. It's always a blank no matter what I do. Here's the result from my experimentation.
http://www.geocities.com/anime_realm555 ... realm.html
http://www.geocities.com/anime_realm555 ... realm.html
Easiest way to understand it is to read the install.txt file that comes in the download. Specifically, it shows you exactly what the JS calls should look like (yours are wrong), and also the order in which the items are called (yours are wrong)...
From that file...
Also, you have a "<script language=javascript>" just hanging in there doing nothing. It needs to come out.
Read the files that come in the download, and also see the samples and other reading suggested at http://www.milonic.com/forum/viewtopic.php?t=2981. The files are important, especially...
From that file...
Your calls are not in the right order, plus you're missing one completely.The order in which the tags appear IS important, and must be as shown above.
Also, you have a "<script language=javascript>" just hanging in there doing nothing. It needs to come out.
Read the files that come in the download, and also see the samples and other reading suggested at http://www.milonic.com/forum/viewtopic.php?t=2981. The files are important, especially...
Sorry if I seem slow, this is my first time using these menus things.
John
Actually, it only said you could download the zips 'if you wanted' mainly because I thought that just a simple page with no text of any kind on it, with nothing but the table and the menu would make it easy to see in the source code how the files were placed. But, that's ok, it gave me something to do besides watch dumb tv programs.
Ruth
Ruth
Thanks to everyone that had help me out. I think I'm beginning to understand...sorta. I'm concluding that you only have the change the information in the menu_data.js file, is that right? After that, you upload all 4 files from the .zip document to your server? So what do you use to edit the information in the file menu_data.js?
Thats personal preference. I personally user Dreamweaver to edit my javascript files. But since you sound alittle newer to the subject, notepad should do just fine. Just open it up, edit it and then just save it. Do not save it as a .txt file, leave it as a .js file.
Dave Hergert
Software Engineer
"Helping to make the menu better, one at a time."
Software Engineer
"Helping to make the menu better, one at a time."
You should read the following to get answers about license.
Licensing FAQ: http://www.milonic.com/licfaq.php
Licensing FAQ: http://www.milonic.com/licfaq.php
I knew it was too good to be free. Oh well, I guess I'll just keep that "milonic menu" tab. ^^
If you would like to see the final product, go here:
http://www.geocities.com/anime_realm555 ... dates.html
If you would like to see the final product, go here:
http://www.geocities.com/anime_realm555 ... dates.html