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 

The pop-up menu can't close automatically

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





PostPosted: Mon Jul 21, 2003 1:34 pm    Post subject: The pop-up menu can't close automatically Reply with quote

I found that the pop-up menu created by COOLjsMenu PRO can NOT close/hide automatically in one scenario. The scenario is :
1) Creates a link with <a onmouseover="CMenuPopUp('test', event)" href="#"> to show a pop-up menu.
2) Move the mouse cursor over the link.
3) The pop-up menu emerged
4) Move the mouse cursor away from the link. But if the mouse cursor didn't touch the displayed pop-up menu, the pop-up menu wouldn't close/hide automatically. If the cursor touched the pop-up menu before leaving away fomthe link, the pop-up menu could close/hide automatically. Can you give me some help about how to make the pop-up menu close/hide automatically in the both scenarioes.
Thanks in advance.
Back to top
Guest






PostPosted: Mon Jul 21, 2003 2:04 pm    Post subject: Reply with quote

My browser is Microsoft IE 5.5
Back to top
Gala
Support Team


Joined: 21 Jul 2003
Posts: 12

PostPosted: Mon Jul 21, 2003 6:05 pm    Post subject: Reply with quote

To get this feature working you should add to your code this event handler:
Code:
onmouseout="mEvent('test', 0, 't')"

Your final code will be like this:
Code:
<a onmouseover="CMenuPopUp('test', event)" onmouseout="mEvent('test', 0, 't')" href="#">


Good luck!
Back to top
gordenl
Guest





PostPosted: Tue Jul 22, 2003 2:54 am    Post subject: Reply with quote

Thanks for your great help Very Happy
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