JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sub menu not dissapearing

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu
Author Message
gheart008



Joined: 28 Jul 2006
Posts: 3

PostPosted: Fri Jul 28, 2006 6:14 pm    Post subject: Sub menu not dissapearing Reply with quote

Just wanted to say, great menu system. Works great on most part, but had 2 minor issues.

1) I have a menu where some of the second level items have submenus themselves, and others don't. If I hover down the parent list one by one and pass over one that has a submenu, the submenu appears fine, but when I move down and hover over the next one with no submenu, the submenu from the previous item doesn't dissapear. This is only a problem when I go to the next item with no sub menu, since if the next one does have a submenu, the new correct submenu appears.

2) Somewhat related to the first, is there a way to force it so the menu items that have submenus be not clickable? When I hover over it, the submenu does appear, but I have the option of clicking the menu item. Currently I just have them with just en empty link which doesn't go anywhere.

Thanks in advance.
Back to top
gheart008



Joined: 28 Jul 2006
Posts: 3

PostPosted: Tue Aug 01, 2006 4:57 pm    Post subject: Reply with quote

No one knows how to fix this?
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Thu Aug 17, 2006 8:36 am    Post subject: Reply with quote

1. You should get newer version of the script (http://javascript.cooldev.com/update/).

2. What does "unclickable" mean? No URL behind the menu item? Just don't specify an URL. No hand pointer? Tell me which version of the script do you use, and I will tell if it possible to change hand pointer to something else.
Back to top
gheart008



Joined: 28 Jul 2006
Posts: 3

PostPosted: Thu Aug 17, 2006 3:20 pm    Post subject: Reply with quote

I'm using version 2.1.4. I just wanted to be sure the newer version fixed these problems before I upgrade since I wrote a .NET wrapper class to call the javascript functions, and am worried I'll have to change my wrapper class if any of the javascript declarations have changed.

Regarding question number two, I am just specifying an empty string for the URL, so when the menu item is clicked, it still does redirect, but to a blank page. I want it so that when I hover over these menu items, the item acts like it's just text (standard mouse pointer) instead of a link (hand click pointer) so the user can't even click on the menu item text.
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Thu Aug 24, 2006 6:30 am    Post subject: Reply with quote

[quote="gheart008"]I'm using version 2.1.4. I just wanted to be sure the newer version fixed these problems before I upgrade since I wrote a .NET wrapper class to call the javascript functions, and am worried I'll have to change my wrapper class if any of the javascript declarations have changed.quote]

What about downloading newer version and replacing coolmenupro.js and checking if everything is OK? I'd recommend you to ask latest 2.6.x at javascript@cooldev.com.

gheart008 wrote:
Regarding question number two, I am just specifying an empty string for the URL, so when the menu item is clicked, it still does redirect, but to a blank page. I want it so that when I hover over these menu items, the item acts like it's just text (standard mouse pointer) instead of a link (hand click pointer) so the user can't even click on the menu item text.


You can specify # for the URL. Also, newer versions support "trigger" attribute which can be used to assign CSS class to the trigger layer:

Code:
{text:'Item', url:'#', trigger:'triggerClass'},


And related CSS code:

Code:
.triggerClass { cursor: default; }
Back to top
jimmayhugh



Joined: 21 Jul 2007
Posts: 2

PostPosted: Sat Jul 21, 2007 4:18 pm    Post subject: Same Problem Reply with quote

and I'm unable to login to the update section to get the new code. It keeps telling me that my email and password are invalid.
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Sat Jul 21, 2007 4:25 pm    Post subject: Reply with quote

Send your Ref.no. (or whole message from ShareIt) to javascript@cooldev.com.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu All times are GMT
Page 1 of 1