Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:36
Style Compatibility with Milonic 3.x
Poster: averesource
Dated: Monday April 30 2007 - 7:36:35 BST
I am the webmaster for Avenue Resource, a national pornography recovery ministry. I am updating their current site (while developing a completely new one), and have incorporated CoffeeCup Flash forms. In some cases, the forms appear to cut off the Milanic menu. (I realize now that this is a known issue.) In some cases, there isn't a logical way to put the forms down lower on the page, so the flash and the menu won't conflict. They don't want a basic change to the look and feel of the current navigations. They want all changes to be on a "go forward" basis.
What I don't know is if I purchase the new version of the menu, can I emulate the exact style of menu they have now? The production site is: http://www.avenueresource.com
Thanks in advance.
Di
Poster: John
Dated: Monday April 30 2007 - 22:54:55 BST
Yes, you can duplicate that menu, plus a heck of a lot more.
Note that the v3 system is no longer developed or supported here, so an upgrade is strongly suggested. If you're a non-profit, etc., check this page for info on qualifying for a free license.
Poster: Ruth
Dated: Tuesday May 1 2007 - 5:26:34 BST
Hi,
Also, to add to what John said, there is a version 3 to 5 converter located under the DHTML Menu tab on the main site. It's toward the bottom of that menu. So, you can just convert your existing menu array file and get a menu_data file already set up for the new version using your existing style. There will be a couple of changes you need to make, but not many at all.
Ruth
Thanks so much for the input!
Poster: averesource
Dated: Tuesday May 1 2007 - 7:18:00 BST
Thanks to both of you (John and Ruth) for replying. I love the product, and intend to use it in other app development in the future. I'll check into the non-profit status as well. I'll try the converter and get back to you with a "good report" very soon.
Poster: Ruth
Dated: Tuesday May 1 2007 - 7:29:45 BST
Hi,
One thing, you can't put the menu in the table the way you have it now. It's similar but not the same. Take a look at this example page and the other link for more indepth explanations and the table menu sample.
http://support.milonic.com/beginners/ta ... /index.htm
http://www.milonic.com/tablemenu.php
http://www.milonic.com/menusample9.php
Also, if you're going to use it in applications, that would not be a free license, but the one for that site might be, though the pro license is pretty inexpensive given what it gives you.
Ruth
We're going from Bad to Worse
Poster: averesource
Dated: Wednesday May 2 2007 - 1:22:02 BST
I can't get it working -- I've followed your examples and I keep on getting a crazy error message ("menuname is undefined, line 3") when line 3 in the source file is the "<HTML>" tag.
-- The beginning of the code at the <BODY> tag includes:
<BODY vLink=#39597d aLink=#39597d link=#39597d bgColor=#425fc0>
<!-- Insert New Code for Menuing System -->
<SCRIPT language=JavaScript src="/milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=/mmenudom.js><\/scr"+"ipt>"); </script>
<SCRIPT language=JavaScript src="/menu_data.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="/mmenus4.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="/DrawSubmenus.js" type=text/javascript></SCRIPT>
Please help me figure out whats wrong.
http://www.avenueresource.net/betacom/findagroup.htm
From the table cell, I call my DrawMainMenu.js script. The contents of my DrawMainMenu.js is as follows:
// JavaScript Document
with(new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
position="relative";
aI("showmenu=churches;text=For Churches;");
aI("showmenu=you;text=For You;");
aI("showmenu=endorse;text=Endorsements;");
aI("showmenu=order;text=Order Now;");
}
drawMenus();
-- A Partial Listing of my DrawSubmenus.js includes:
effect="Fade(duration=0.3);Alpha(style=0,opacity=85);Shadow(color='#1a2551', Direction=135, Strength=5)"
_menuCloseDelay=500;
_menuOpenDelay=150;
_scrollAmount=3;
_scrollDelay=20;
_followSpeed=5;
_followRate=40;
_subOffsetTop=10;
_subOffsetLeft=10;
buildAfterLoad=True;
with(style1=new mm_style()){
offcolor="#f5b217";
offbgcolor="#1a2551";
oncolor="white";
onbgcolor="#425fc0";
bordercolor="#1a2551";
borderstyle="solid";
borderwidth=1;
fontsize=9;
fontstyle="normal";
fontweight="bold";
fontfamily="Verdana, Arial";
padding=3;
subimage="arrow.gif";
high3dcolor="#66ffff";
low3dcolor="#000000";
pagecolor="Purple";
pagebgcolor="pink";
}
with(milonic=new menuname("churches")){
itemwidth=200;
style=style1;
alignment="left";
aI("text= AVENUE - Servant Letter;url=resourceservant.htm;;separatorsize=1")
aI("text= AVENUE - Endorsements;url=resourceendorsements.htm;;separatorsize=1")
aI("text= AVENUE - Equipping the Church;url=resourceforequipping.htm;;separatorsize=1")
aI("text= AVENUE - Overview;url=resourceoverview.htm;;separatorsize=1")
aI("text= AVENUE - Programs;showmenu=promokit;;separatorsize=1")
aI("text= AVENUE - Leadership Training;url=resourceleadership.htm;;separatorsize=1")
aI("text= AVENUE - Chapter Information;url=resourcechapterinfo.htm;;separatorsize=1")
aI("text= Statement of Faith;url=faith.htm;;separatorsize=1")
aI("text= Order AVENUE Resources Online;url=onlineorder.htm;;separatorsize=1")
}
-- I'm really getting confused -- Please help.
One last thought -- When I purchased the script it was for "avenueresource.com", but my development URL is "avenueresource.net" -- Does that make a difference?
Poster: Ruth
Dated: Wednesday May 2 2007 - 1:39:19 BST
Hi,
I think it might be a path issue. Try removing the / in front of the files, since they are in the same 'folder' as the page.
Ruth
Poster: John
Dated: Wednesday May 2 2007 - 16:56:00 BST
I think Ruth is correct.
Also, if you're not planning on supporting NS4, use the new JS call for the menu system...
Code:
<script type="text/javascript" src="milonic_src.js"></script>
<noscript><a href="http://www.milonic.com/">JavaScript DHTML Menu Powered by Milonic</a></noscript>
<script type="text/javascript" src="mmenudom.js"></script>
<noscript><a href="http://www.milonic.com/">JavaScript DHTML Menu Powered by Milonic</a></noscript>
<script type="text/javascript" src="mmenudom.js"></script>
etc...