Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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

Initial testing gives blank page... HELP!


Poster: Ginocide
Dated: Tuesday August 9 2005 - 0:47:41 BST

I am using a Milonic menu (Sample 24 v5.728) on a website I am working on. I setup a test page to initialize the menu before I began editing it. In FrontPage, I can see the "JavaScript Menu, DHTML Menu Powered By Milonic" link in the Design view, but there's no menu visible. Since I've never coded in JavaScript before, I didn't think this was a problem. However, after uploading the test page to my server and viewing the page, it is blank - completely blank. This is true for Firefox 1.0.6 and IE6. I have no idea what the problem is and I would appreciate any help anyone can give me.

Here is the test page: http://www.stgeorgewarren.org/test/test.html
(Note that I put mmenudom.js, mmenuns4.js, milonic_src.js and menu_data.js in the directory "menu".)


Poster: Ruth
Dated: Tuesday August 9 2005 - 1:29:41 BST

If you open the menu_data.js file you'll see there is no main menu. This part is missing

Code:
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=10;
orientation="horizontal";
style=menuStyle;
top=10;
aI("status=Back To Home Page;text=Home;url=http://www.milonic.com/;");
aI("showmenu=Samples;text=Menu Samples;");
aI("showmenu=Milonic;text=Milonic;");
aI("showmenu=Partners;text=Partners;");
aI("showmenu=Links;text=Links;");
aI("showmenu=MyMilonic;text=My Milonic;");
}


Because that is not in the file, nor any other main alwaysvisible menu no menu shows. The menus left in the menu_data.js file are submenus that show only when you mouseover an item in the main menu.

You have to put the links that are on the original page someplace on your page, they substitute for the main menu since that is a pop menu.


Ruth


Poster: Ginocide
Dated: Tuesday August 9 2005 - 5:44:43 BST

Thanks, I added the code and all is good. Why wouldn't the main menu code be included? I (obviously) don't remember seeing anything in the readme or installation text telling me to add that. :?


Poster: Ruth
Dated: Tuesday August 9 2005 - 7:50:03 BST

Hi,

If you open the index page in that sample and go about half-way you'll see a dark green stripe across the page that says 'Using The Popup Menu Function Positioned by Images' and below it the sample with the text and images.

Ruth