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:44
Identical Menu on every page
Poster: terrym
Dated: Wednesday January 17 2007 - 9:28:24 GMT
Hi
I have just started using the Milonic Menu, ver: 5.766 Table based Horizontal, and it is really great. But I have a small problem which I'm hoping someone can help me with.
I have a Main Menu page and this loads with no errors. But I'm now starting to create sub-pages and, apart from the actual page content, I want the top of each page where the menu is displayed to be identical to the Main Menu page.
At the moment, I have the Main Menu page and one sub-menu page.
They are both identical in every way apart from this line:
with(milonic=new menuname("xxxxxxxxxx")){
In the Main Menu page the menuname is "MainMenu" and in the Sub-menu page the menuname is "SubMenu01".
As I have said, when the Main Menu page is opened, it just opens normally. But when I link to the Sub-menu page I get a yellow triangle with an exclamation mark to the left of the word Done, on the status bar. If I click on this triangle, I get an error message as follows:
Error: 'menuname' is undefined
and it points to the appropriate line in the Sub-menu page.
I initially tried this with the same menuname as the Main Menu page, but I received the same message.
I expect the reason is something really simple, and I look forward to any replies.
Thanks