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

Re: Menu disappearing on page it refers to


Poster: dturner_uk
Dated: Monday November 26 2007 - 15:42:38 GMT

Hi John

Many thanks for your reply. I have now performed the upgrade to the lastest version but the problem is still there.

One other quick thing, since I have upgraded the width of the menu bar has grown and now extends off my pages to the right. I'm not sure which parameter to edit to fix this.

Thanks in advance for your help. I'm sure it's something stupid I've done.

Best wishes
David T

Menu disappearing on page it refers to


Poster: dturner_uk
Dated: Saturday November 24 2007 - 17:03:10 GMT

Hi - I am new to Milonic and have checked the FAQs but can't seem to find an answer to this one. It's probably something simple and I'm sure it's something I'm doing wrong, but I would appreciate any help.

My problem is this; I have a horizontal menu but when you choose one of the menu items and go to the relevant page, the heading for that menu item disappears. IE:

Main menu reads: Menu 1 Menu 2 Menu 3 Menu 4 Menu 5

Click on "Menu 2" - takes you to menu2.htm . . . BUT the menu now has a red "x" where Menu 2 used to appear on the menu. I imagine it's something to do with referencing the actual page you are currently on.

Does this sound familiar to anyone?

I am still uploading the pages and tweaking as I go along but you can get an idea of what I mean by starting at http://www.nostalgiacentral.com/1950s.htm

Watch what happens to the menus if you choose any of the other menu headings.

If it helps, you can read the content of my menu_data.js file at http://www.nostalgiacentral.com/milonic.htm (It's very long! - sorry)

Many thanks in advance for your help

David T

Re: Menu disappearing on page it refers to


Poster: dturner_uk
Dated: Sunday November 25 2007 - 3:13:12 GMT

BTW - I don't know if this provides a clue, but if you click on the "Top" link at the bottom of any of the problem pages and then hit F5 to refresh, the "missing" menu comes back again.

Off to tear my hair out now . . .

Best wishes
David T

Re: Menu disappearing on page it refers to


Poster: John
Dated: Monday November 26 2007 - 14:37:02 GMT

First, you are way down-level. You're running v5.754, current is v5.786. The most current version is required for help here in the forum.

Let us know here when you're up to level and we'll go from there.

Re: Menu disappearing on page it refers to


Poster: Ruth
Dated: Monday November 26 2007 - 19:39:08 GMT

Hi,

All I get is service unavailable when I click the link and I need the page to be able to see what's going on.

Ruth

Re: Menu disappearing on page it refers to


Poster: John
Dated: Monday November 26 2007 - 20:07:29 GMT

Ruth, I started working on it here, but don't have time to finish right now.

I fixed numerous HTML errors. The menu had at least 2 problems...

1. The background blue was extending all the way to the right side of the window. Fixed.

2. Clicking on a main menu item, e.g., The 1970s, overlays the background with the same color as the text. I think it's just a pagematch/color problem.

Also noticed some of the submenus called with showmenu= do not display. This is because they are not defined!

Sorry I can't finish it right now, David. Something about a J.O.B.!

Re: Menu disappearing on page it refers to


Poster: Ruth
Dated: Monday November 26 2007 - 22:32:43 GMT

Hi,

John is correct. The problem is the pagebgcolor and pagecolor. They are both defined as #eeeeee, so when you reach the 1950s page it highlights and turns the background to grey and the text to the same color.

I noticed that you are placing the menu absolutely using top and left, but given your layout I would suggest you put it in the table cell, that way no matter what the visitor's resolution the menu will always be in that same cell positioned below your top part. To do it, add buildAfterLoad=true; at the top of your data file, and then call the menu files in that table cell. I'm not sure why you have so many nested tables in that one cell, but this is what I set up so you can try it that way and see what you think.

Code:
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 height=36
      cellSpacing=0 cellPadding=2 width="100%" border=0>
        <TBODY>
        <TR>
          <TD width="100%" height=28>
            <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111
            height=46 cellSpacing=0 cellPadding=0 width="100%" bgColor=#3178ae
            border=0>
              <TBODY>
              <TR>
                <TD width="100%"
        height=35><SCRIPT type="text/javascript" src="menu/milonic_src.js"></SCRIPT>
<noscript>
<a href="http://www.milonic.com/">DHTML Menu JavaScript Menu Powered by Milonic</a></noscript>
<script type="text/javascript">
<!--
if(ns4)_d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=menu/mmenuns4.js><\/SCR"+"IPT>");
else _d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=menu/mmenudom.js><\/SCR"+"IPT>");
-->
</SCRIPT>
<SCRIPT type="text/javascript" src="menu/menu_data.js"></SCRIPT> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>


And the data file will have this at the top

Code:
fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=-0;
buildAfterLoad=true;


Then change your main menu to have this

Code:
with(milonic=new menuname("index")){
alwaysvisible=1;
margin=2;
orientation="horizontal";
style=horizStyle;
position='relative';


There is a post at the top of this forum for placing the menu relatively in a table or div. I used the first method. One other thing you should do, in your css set your margins that way it will be the same in all browsers.

Ruth

Re: Menu disappearing on page it refers to


Poster: dturner_uk
Dated: Tuesday November 27 2007 - 1:01:50 GMT

Many thanks for all your help guys - I'll try this tomorrow when I am fresh and let you know how I do. I really appreciate it!

PS: The "Service Unavailable" message happens sporadically courtesy of my **** provider. They say it's because I'm running their MS Package and all will be fixed if I migrate to their Linux hosting package. Maybe I'll try it one day - once I've fixed the menus.

Thanks again

All the best
David T

Re: Menu disappearing on page it refers to


Poster: John
Dated: Tuesday November 27 2007 - 13:41:24 GMT

Personally I think you'll be a lot happier with a Linux package. Less worries and a lot more flexibility (IMHO).

Re: Menu disappearing on page it refers to


Poster: dturner_uk
Dated: Wednesday November 28 2007 - 6:27:59 GMT

Thanks for that John. I appreciate the feedback. The site was down the best part of 12 hours again today (IIS probs they *think*!) so I think I'll migrate it to the Linux package and see if things improve. On the bright side, I made a lot of progress with the menus today thanks to you and Ruth.

So many thanks again to you both.

David

Re: Menu disappearing on page it refers to


Poster: John
Dated: Wednesday November 28 2007 - 14:16:31 GMT

Our pleasure, David. Kind words most appreciated.

Here's to more progress!