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

Latest version problem


Poster: christopherO
Dated: Wednesday January 4 2006 - 14:54:22 GMT

I replaced the main files with the latest version.
I found that it would not stay open long enough to allow me to get to a level three menu set [as the mouse pointer started to move from the level two menu to the next down the menu closed].
Returning to v 5.738 I find my menu behavior is OK again.


Poster: Ruth
Dated: Wednesday January 4 2006 - 16:03:54 GMT

We need a page to see what's up.

Ruth


Poster: christopherO
Dated: Wednesday January 4 2006 - 16:13:52 GMT

Ruth

The menu is at http://www.malikonline.co.uk [see items under Afro-Caribbean SHOP] - I have put the latest versions of the files back -- the 'stickiness' of the menu is variable and often closes early.


Poster: John
Dated: Wednesday January 4 2006 - 19:04:54 GMT

You have 2 items named "Main Menu" - 1 in each of the _data files you are calling. I think those files are combined when they get called, and the 2 same names might be confusing things. Of course, it could be past my nap time as well... :roll:


Poster: christopherO
Dated: Wednesday January 4 2006 - 19:13:08 GMT

I know what you mean John - but here in the UK it is already dark and getting colder so I find the brain quickly slows!!! :?

My issue with this is why this was not a problem with the previous version?

I am happy to rename the second menu to see what happens.


Poster: christopherO
Dated: Wednesday January 4 2006 - 19:15:32 GMT

I have renamed the second menu "clock menu" - the problem persists.

AND - it is only level three menus that are a problem.


Poster: John
Dated: Wednesday January 4 2006 - 19:17:31 GMT

Know what you mean, Christopher. I'm GMT -0700. Unfortunately, I get up at 0415 (dark), and don't get home until around 1730-1800 (heading for dark). Not fair.

Let us know if the change works.


Poster: John
Dated: Wednesday January 4 2006 - 19:18:49 GMT

Heh - I'm also a slow typist!

It took a while, but I finally did see your problem. Think we'll get the boss on this one. Hang in there.


Poster: christopherO
Dated: Wednesday January 4 2006 - 19:26:36 GMT

OK John - it's almost 19:30 here and I am going to shut down so no urgency today - fortunately I don't have far to go as I work from home. :D


Poster: John
Dated: Wednesday January 4 2006 - 19:28:03 GMT

Sheesh - wish I could say that :!:


Poster: Ruth
Dated: Wednesday January 4 2006 - 19:40:44 GMT

Hi,

You've got two scripts conflicting, the milonictooltips.js and the adjscroll.js

Ruth


Poster: christopherO
Dated: Thursday January 5 2006 - 8:18:33 GMT

Thank you Ruth, but why does that only affect the very latest version of the menu? I want to keep the scroller.


Poster: christopherO
Dated: Thursday January 5 2006 - 8:54:30 GMT

I have modified page http://www.malikonline.co.uk/news.php so that there are no other js scripts - so no conflicts - and the menu problem persists.

It is only menus at level three - all others work fine.


Poster: christopherO
Dated: Thursday January 5 2006 - 9:06:27 GMT

I now believe I have tracked down the problem - it is all the items that have tooltips that won't stay open.

Afro-Caribbean SHOP > Hair Care Products > Hair Wigs Etc > all the sub menus
Afro-Caribbean SHOP > Food & Provisions > all menus from here

Everything else works fine and none of these others have tooltips yet.


Poster: Ruth
Dated: Thursday January 5 2006 - 14:22:34 GMT

I just went to your site, and viewed the source. The adscroll.js file and the other related vertical scroll file are still there.

To test it, totally remove the calls for the two files and you will see that the menus remain open. It has been reported.

There is nothing wrong in the tooltips file per se, it is a conflict between scripts.

Ruth


Poster: christopherO
Dated: Thursday January 5 2006 - 15:00:43 GMT

Ruth, my apology - I am not communicating clearly.

I did remove the jScripts and the problem persisted so I put them back. To help I have removed them again for you to have a look - I still have failure when the mouse passes over menu items that have tooltips attached. ALL other menu items behave properly; I accept the cause may not be the tooltips but I can only report the facts as I understand them.

The problem items can be matched to those with tooltips:
Code:
with(milonic=new menuname("Food1")){
   style=background;
   overflow="scroll";
   aI("showmenu=herbsspicesseasonings;status=Herbs, Spice, Seasoning;text=[b]Herbs, Spice, Seasoning[/b];tooltip=Bringing our the flavour of Afro-Caribbean and Asian cuisine<br>- please select from our great selection;tipdelay=200;tipfollow=1;");
   aI("showmenu=ricepulsesbeans;status=Rice, Beans, Pulses;text=[b]Rice, Beans, Pulses[/b];tooltip=Essentials for great Afro-Caribbean and Asian dishes<br>- please select from our wide selection;tipdelay=200;tipfollow=1;");
   aI("text=[b]Flour[/b];url=store.php?crn=218;tooltip=I vital staple - please click and wait for us<br>to find and display the products;tipdelay=200;tipfollow=1;");
   }
      with(milonic=new menuname("herbsspicesseasonings")){
      style=background;
      overflow="scroll";
      aI("text=[b]Curry[/b];url=store.php?crn=313;tooltip=Curry leaves, powders and seasonings<br>- please click and wait for us to find and display the products;tipdelay=200;tipfollow=1;");
      aI("text=[b]Herbs[/b];url=store.php?crn=254;tooltip=Dried herbs, leaves and seeds<br>- please click and wait for us to find and display the products;tipdelay=200;tipfollow=1;");
      aI("text=[b]Jerk[/b];url=store.php?crn=308;tooltip=Jerk seasoning for authentic Caribbean cooking<br>- please click and wait for us to find and display the products;tipdelay=200;tipfollow=1;");   
      aI("text=[b]Spices[/b];url=store.php?crn=263;tooltip=All the spices you will need for fabulous flavours<br>- please click and wait for us to find and display the products;tipdelay=200;tipfollow=1;");
      aI("text=[b]Sauces[/b];url=store.php?crn=219;tooltip=A variety of tasty and spicy sauces<br>- please click and wait for us to find and display the products;tipdelay=200;tipfollow=1;");
      aI("text=[b]Seeds[/b];url=store.php?crn=306;tooltip=A variety of spice and herb seeds<br>- please click and wait for us to find and display the products;tipdelay=200;tipfollow=1;");
      aI("text=[b]Seasonings[/b];url=store.php?crn=264;tooltip=A large selection of great seasonings<br>- please click and wait for us to find and display the products;tipdelay=200;tipfollow=1;");
      }
      

   with(milonic=new menuname("Hair1")){
   style=background;
   overflow="scroll";
   aI("text=[b]Hair - human[/b];url=store.php?crn=222;tooltip=A beautiful range of wigs and hair pieces made from human hair<br>- please click and wait for us to find and display the products;tipdelay=150;tipfollow=1;");
   aI("text=[b]Hair - synthetic[/b];url=store.php?crn=224;tooltip=A beautiful range of synthetic wigs and hair pieces<br>- please click and wait for us to find and display the products;tipdelay=150;tipfollow=1;");
   aI("text=[b]Clips & Accessories[/b];url=store.php?crn=206;tooltip=A  range of great clips and accessories to go with your hair<br>- please click and wait for us to find and display the products;tipdelay=150;tipfollow=1;");   
   }


Also. when I restored the prior version of the menu the problem went away. I hope this helps.


Poster: Ruth
Dated: Thursday January 5 2006 - 17:23:37 GMT

I am aware of the tooltips submenus, it is what I noted which lead me to the conclusion, after removing the scripts and having it work, that there was a conflict.

In all the browsers I tried, IE, FF, NN when I view source I get this at the top
Code:
<script language="JavaScript1.2" src="AJS/ajlib.js"></script>
   <script language="JavaScript1.2" src="AJS/ajscroller.js"></script> <!--[if IE]>


And farther down, in two different place these two files

Code:
<script type="text/javascript" language="JavaScript1.2" src="ajs/scroll_vertBannerAds.js"></script>

<script type="text/javascript" language="JavaScript1.2" src="ajs/scroll_vert4indexpagemessage.js"></script>


I see this in the source on all browsers I've tried, and I didn't use FF, NN last time so there's no cache issue, though I emptied my IE cache by hand, clearing all of it, just to make sure.

Here is a link to your page, on my site, without those files on the page. Everything else is there but those files.

http://www.poems2u.com/1/chris/4.htm

I tested it in IE, FF, NN, Opera and there is no problem. The menus work fine. I have reported this and I'm sure someone will take a look at it.

EDIT: Also, I am getting an error message, it is in relation to the adscroll function. But, of course, I have no idea what the problem is, it does not show the message in the FF javascript console, only on IE, something about document.all [] ... style is null or not an object.


Ruth


Poster: John
Dated: Thursday January 5 2006 - 18:12:11 GMT

I just tried Ruth's page under IE and FF/XP Pro, and Safari and FF/OS X. No problems at all. Menus stayed open and tooltips worked fine.


Poster: vikenk
Dated: Thursday January 5 2006 - 19:10:37 GMT

I also noticed that after I upgraded to the latest version, the tooltips seemed to conflict with the menu.

When I would open a submenu with a tool tip the menu would disappear when the tooltip would show up. Go to.

http://home.comcast.net/~vikenk/new_page_1.htm

Go to the "Links" menu. Hover over the first link (SayatNova.com). As soon as the tooltip appears, the sub menu disappears. It's also repeatable to the third level menu. Go to Links --> Konica Minolta Links and hover over any of those. Again, as soon as the tooltip appears, the submenu disappears.

Here's the code for the page:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link rel="stylesheet" href="viken.css" type="text/css">
<script src="milonic_src_1.js" type="text/javascript"></script>
<script src="mmenudom_1.js" type="text/javascript"></script>
<script src="menu_main.js" type="text/javascript"></script>
<script src="tooltips.js" type="text/javascript"></script>
<title>New Page 1</title>
</head>

<body style="margin: 100px 0 0 300px">
</body>

</html>


I have renamed the source files to avoid over-writing the previous version.

Any thoughts?

Viken K.


Poster: Ruth
Dated: Thursday January 5 2006 - 19:32:24 GMT

Hi Christopher,

OK, Andy took a look and he has updates for tooltips and 5.739 so there won't be a conflict. Can you download the new tooltips module and also the final release of 5.739 and try those?

http://www.milonic.com/menumodules.php

Also, I notice that the directions for that ajscroller have an onload event in the body tag, but you are not using that. I have no idea about those kinds of things, but just wanted to mention it to you in case you weren't aware.

Ruth


Poster: vikenk
Dated: Thursday January 5 2006 - 20:24:55 GMT

Updated tool-tips module works fine for me at this moment. Love this toolip module!


Viken K.


Poster: christopherO
Dated: Friday January 6 2006 - 15:41:37 GMT

Ruth, many thanks.

Unfortunately we had our wires crossed as I was working on my ..../news.php file because this was a 'to be developed' page and meant I could add or delete script easily - I had mentioned this earlier in the thread but it all became a bit complicated as we went along - at least for me! :)

I have downloaded the latest version of tooltips and everything works OK - even on pages where I have the scroller script. I love this menu script and the add ons so I am prepared to work at problems to get workable outcomes.

Ruth and John, many thanks for your patience and help.