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:04

Can't get menus to work


Poster: annasue
Dated: Wednesday May 31 2006 - 20:48:53 BST

I have purchased a single license for http://www.flowersalc.com and "think" I've installed the menus correctly on the server. I am trying to get a single link at http://www.flowersalc.com/index2.html to be replaced with a dropdown menu. It should be showing up between About Us and Flower Choices but if you slide your cursor over that area, an error shows. Can anyone help, please?

Thanks,
Anna Sue


Poster: Migru
Dated: Thursday June 1 2006 - 16:19:14 BST

Hi

try this

a) remove both
top=155;
left=200;
from the embedded_main
You have the menu in a table, so the position is relative, those properties are for absolute positioning.

b) replace your code (in menu_data.js)
Quote:
// Build your sub menus first
with(main=new menuname("submenu1")){
style=menuStyle;text=Weddings;url=weddings.html");
}


with

Code:
// Build your sub menus first
with(milonic=new menuname("submenu1")){
style=menuStyle;
aI("text=Weddings;url=weddings.html;");
}



The aI(" ..." ) string is missing in your submenu !!!

Michael

Menus with errors


Poster: annasue
Dated: Thursday June 1 2006 - 22:40:31 BST

Thanks for your help. Now it is trying to work but still displaying an error on the page and can't seem to find the graphic to display even though it's in the same directory. And, it isn't displaying the submenu.


Poster: Migru
Dated: Friday June 2 2006 - 9:51:01 BST

Hi

You have placed the banner06_05.jpg in the menus folder, but the path set in the menu targets to the root. So modify the path and the main menu as follows

Code:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
position="relative";
aI("image=menus/banner06_05.jpg;showmenu=submenu1;");
}
drawMenus();



It should work then, I´ve tested that.

Michael


Poster: annasue
Dated: Friday June 2 2006 - 13:32:13 BST

Thank you so much. This worked!


Poster: Migru
Dated: Friday June 2 2006 - 13:40:26 BST

Hi

You´re welcome

Michael


Poster: annasue
Dated: Friday June 2 2006 - 13:50:00 BST

I'm still having an error on page message at the bottom and the link isn't expanding to the submenu???


Poster: Migru
Dated: Saturday June 3 2006 - 11:00:31 BST

Hi
the problem is, when I´m starting your page in my working environment, (using my Milonic files) there is no script error message and the submenu works as expected, as soon as I´m starting your url, the script error message window pops up, reporting an error in line 21, character 28824,
´_mi{...].1´ etc.
Is there a problem with the Milonic script files, please try after uploading them again?

This is for demonstration: (right click and open in new window)
http://www.dhyg.de/test/index2.htm


Michael