Initial testing gives blank page... HELP!

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
Ginocide
Beginner
Beginner
Posts: 6
Joined: Tue Aug 09, 2005 12:08 am

Initial testing gives blank page... HELP!

Post by Ginocide »

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

Post by Ruth »

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

Code: Select all

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://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
User avatar
Ginocide
Beginner
Beginner
Posts: 6
Joined: Tue Aug 09, 2005 12:08 am

Post by Ginocide »

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

Post by Ruth »

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
Post Reply