Latest version problem

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
christopherO
Advanced
Advanced
Posts: 21
Joined: Wed Dec 21, 2005 3:48 pm

Latest version problem

Post by christopherO »

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

Post by Ruth »

We need a page to see what's up.

Ruth
christopherO
Advanced
Advanced
Posts: 21
Joined: Wed Dec 21, 2005 3:48 pm

Post by christopherO »

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.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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:
John
christopherO
Advanced
Advanced
Posts: 21
Joined: Wed Dec 21, 2005 3:48 pm

Post by christopherO »

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.
christopherO
Advanced
Advanced
Posts: 21
Joined: Wed Dec 21, 2005 3:48 pm

Post by christopherO »

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

AND - it is only level three menus that are a problem.
Last edited by christopherO on Wed Jan 04, 2006 8:20 pm, edited 1 time in total.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
christopherO
Advanced
Advanced
Posts: 21
Joined: Wed Dec 21, 2005 3:48 pm

Post by christopherO »

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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Sheesh - wish I could say that :!:
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

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

Ruth
christopherO
Advanced
Advanced
Posts: 21
Joined: Wed Dec 21, 2005 3:48 pm

Post by christopherO »

Thank you Ruth, but why does that only affect the very latest version of the menu? I want to keep the scroller.
christopherO
Advanced
Advanced
Posts: 21
Joined: Wed Dec 21, 2005 3:48 pm

Post by christopherO »

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.
christopherO
Advanced
Advanced
Posts: 21
Joined: Wed Dec 21, 2005 3:48 pm

Post by christopherO »

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

Post by Ruth »

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
christopherO
Advanced
Advanced
Posts: 21
Joined: Wed Dec 21, 2005 3:48 pm

Post by christopherO »

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: Select all

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

Post by Ruth »

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: Select all

<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: Select all

 <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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

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: Select all

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

Post by Ruth »

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