Style Compatibility with Milonic 3.x

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
averesource
Beginner
Beginner
Posts: 3
Joined: Mon Apr 30, 2007 7:25 am

Style Compatibility with Milonic 3.x

Post by averesource »

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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
averesource
Beginner
Beginner
Posts: 3
Joined: Mon Apr 30, 2007 7:25 am

Thanks so much for the input!

Post by averesource »

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.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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://milonic.com/tablemenu.php

http://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
averesource
Beginner
Beginner
Posts: 3
Joined: Mon Apr 30, 2007 7:25 am

We're going from Bad to Worse

Post by averesource »

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?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

I think Ruth is correct.

Also, if you're not planning on supporting NS4, use the new JS call for the menu system...

Code: Select all

<script type="text/javascript" src="milonic_src.js"></script>
<noscript><a href="https://milonic.com/">JavaScript DHTML Menu Powered by Milonic</a></noscript>
<script type="text/javascript" src="mmenudom.js"></script>
etc...
John
Post Reply