Multiple SubMenu items staying selected

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
SkyFlyer
Super Advanced
Super Advanced
Posts: 68
Joined: Tue Jul 29, 2003 4:16 am
Location: Vancouver, Wa
Contact:

Multiple SubMenu items staying selected

Post by SkyFlyer »

Hello all. Hope your day is going well.
I have a single issue I am trying to figure out. I have searched the forum, but don't know what to look for.
I am looking for some ideas I could try to fix this.
Let me explain.
The Menu is working fine.
I have the latest version (Version 5.747 - Built: Tuesday May 9 2006 - 11:22).
I have one menu/sub menu where more than one of the sub menu items stays selected as you hover the mouse up and down.
None of the other menu/sub menus do that, just the one (that I can see)
My web site is http://bobserack.com/
The menu item in question is 'Kites'. Scroll the mouse up and down on the sub menu. You will notice that a number of the lines stays selected.
At least it does for me.
In my menu_data I have the following set ...
_menuCloseDelay=500;
_menuOpenDelay=150;

Here is a screen print of the menu issue.
Image

I would appreciate someone taking a looksee and hopefully point me in the right direction to fix this.
Thanks ...
Nuffsaid ...
Bob
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi
I´m wondering if you are using the correct syntax for the showtip in kiterelatedMenu , (see singlequotes) and in my opinion aI-strings syntax should be always aI(".......;");

For the tooltips please see
http://milonic.com/menumodules.php

I did not really have enough time to look into your code.........

Michael
User avatar
SkyFlyer
Super Advanced
Super Advanced
Posts: 68
Joined: Tue Jul 29, 2003 4:16 am
Location: Vancouver, Wa
Contact:

Post by SkyFlyer »

I don't believe that is the problem.
Single quotes seem to OK for the tooltip.
I'm wondering if the problem is the 'onfuction' parameter?
I'm not sure what sample I looked at long ago to use that, but it appears like it should be 'onmouseover/onmouseout'.
Can someone tell me if I should change all the 'onfunction' to 'onmouseover/onmouseout'?
It puzzles me that almost all my menus work fine. It is just the 'Kites' submenu.

Here is a sample of the code that I am using ...

Code: Select all

aI("text=Kite Festival Picture Gallery;showmenu=festivalgalleryMenu;onfunction=showtip('Kite Festival<BR>&nbsp;&nbsp;pictures over the<BR>&nbsp;&nbsp;past few years.');status=Kite Festival Gallery.");
It is the elements in this submenu that stay selected as I move the mouse up/down.

Thanks for any help.
Nuffsaid ...
Bob
marty
Site Admin
Posts: 116
Joined: Tue May 21, 2002 6:48 pm
Location: Birmingham, UK

Post by marty »

Hi,

I've had a quick look at your data file and think the problem may be because some of your showtip links are missing the quotes.
aI("text=Link to EVENTS<br>&nbsp;&nbsp;on the AOK Website;url=http://www.oregonkiteclub.com/AOK%20eve ... tatus=Link to the AOK Website for a list of Events.");

aI("text=Link to EVENTS<br>&nbsp;&nbsp;on the WKA Website;url=http://www.wka-kiteflyers.org/kitesfest ... tatus=Link to the WKA Website for a list of Events.");

aI("text=Link to EVENTS<br>&nbsp;&nbsp;on the AKA Website;url=http://www.aka.kite.org/cal.php;onfunct ... tatus=Link to the AKA Website for a list of Events.");

aI("text=Link to EVENTS<br>&nbsp;&nbsp;on the World Kite Museum Website;url=http://www.worldkitemuseum.com/cal_03.h ... tatus=Link to the World Kite Museum Website for a list of Events.");
This first one has the correct onfunction=showtip('OregonKiteClub.com'); and works fine. The error occurs when the mouse moves over the next onfunction=showtip(http://www.wka-kiteflyers.org/); which should be
onfunction=showtip('http://www.wka-kiteflyers.org/');

Hope this helps
-Marty
User avatar
SkyFlyer
Super Advanced
Super Advanced
Posts: 68
Joined: Tue Jul 29, 2003 4:16 am
Location: Vancouver, Wa
Contact:

Post by SkyFlyer »

Thanks for the catch, Marty.
That fixed the problem.
Do you have any thoughts on 'onfunction' vs. onmouseover/onmouseout'?
Do you think I need to or should change that?
I can't find a definitive answer.
My apologies to User/Author Migru. Perhaps that is what you were alluding to, and I said that I doubted it was the single quotes.
It is working now.

I'm not sure how to indicate that this thread is now complete and closed.
It doesn't say in FAQ. Does one just stop responding/writing to this post?

Thanks ...
Nuffsaid ...
Bob
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

yes, it was what I meant (syntax)......it seems I wasn´t precise enough.

Regarding the "onfunction" - issue, please look at the bolt-on modules page,
within the aI(".....; " ) ; string, tooltips should simply be used as follows:

aI("text=Tooltip Sample;tooltip=Here is your Toolteip;");


Michael
User avatar
SkyFlyer
Super Advanced
Super Advanced
Posts: 68
Joined: Tue Jul 29, 2003 4:16 am
Location: Vancouver, Wa
Contact:

Post by SkyFlyer »

Thanks Michael.
I'll look at it and update.

This post is now complete and closed.

Thanks for your help.
Nuffsaid ...
Bob
Post Reply