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

keep alive menu propertie


Poster: rppr
Dated: Friday November 21 2003 - 12:41:20 GMT

Hi!
I´m working with version 5 RC26 and I'm curious about some "missing" behaviour!
Setting the keepalive to true in all menus, and according to the definition, all works well, but, what if I don't want to choose from any of the menu items?!How can I force a close to all menus?!

Something like
closeAllMenusOnBodyClickWithoutChoosingAnyMenuItems()... 8O

Thanks!

;)


Poster: John
Dated: Friday November 21 2003 - 16:24:24 GMT

Unless I'm missing something in what you're asking, if you don't want a menu to stay open just leave the keepalive parameter out of the definition - or should I just go back to bed :?:


Poster: rppr
Dated: Friday November 21 2003 - 17:41:20 GMT

Back to bed?Help me first, please! ;)

Sorry about my explanation!

What I'm asking is: Can the menu have the Windows Start Menu behaviour?!
Keepalive it's a usefull property, but all the menu's hierarchy won't close unless I choose some item or navigate to another menu!!
I know that's the definition, but what I want to do is travel outside the area of the menu, keeping the open hierarchy intact, and return to it if want or click outside the menu area in a way that the menu structure would return to its original state! :|

Looking forward to hearing from you.


Poster: kevin3442
Dated: Monday November 24 2003 - 21:17:24 GMT

rppr wrote:
...I know that's the definition,..

Actually, the definitions vary. As a menu item property, keepalive is defined as follows:
Quote:
Keeps the menu open until another menu has been opened.

But as a menu property, keepalive is defined as follows:
Quote:
keepalive, tells a menu to remain open once it has been activated. The only way to close the menu is to select a menu item, another menu or click elsewhere on the page.

It seems that the "or click elsewhere on the page" part is what you're after. I thought, "well maybe he's using it as a menu item property but should try it as a menu proprety instead." But, when I tried it, it didn't work as described... the "kept alive" menu remains open even if you click elsewhere on the page. Don't know if that should be considered a bug or what. I can't easily imagine a workaround that would handle clicks anywhere else on the page, without potentially interfering with other behavior intended for clicking on other non-menu objects elsewhere on the page. There may be one, but nothin comes to mind right now (sorry).

Kevin


Poster: John
Dated: Tuesday November 25 2003 - 14:31:40 GMT

This was posted by Kevin in the other thread you started...
Quote:
Hi rppr,

I just read the original and posted to it (although it's not necessarily good news )

I think Bob's comment was meant just to point out that it's best to confine comments or questions on a topic to a single thread, for the benefit of anyone else who may be following that thread (and who might miss pertinent comments if posted in a different thread). It's OK to occasionally "bump" an existing topic if you feel that it may have been overlooked or if you wish to bring it back to the fore, but it can cause confusion if you post a separate thread.

Kevin

He is correct, as was Bob. If your topic is not being responded to just post a short note in that topic (I still need help, etc.), which will move it to the top of the list.