What happens when..

Apr 12, 2011 at 6:46 AM

... the module doesn't have any content. How can you right click? Is there a fallback arrow?

Apr 13, 2011 at 10:23 AM

Did you read the release notes of the latest release?

- Context Menu automatically detects if the Content Area is Empty, if its empty the Context Menu is attached to the Module Title.
- You can Define an "ContextAttachItemID="Some-ID" for an DIV or anything else where the Context Menu is attached when the Content Area is Empty.

A Fallback for the arrow doesnt work because i can only check the content via javascript not directlly from the code.

Apr 13, 2011 at 2:49 PM

I will have to check out the new version, thanks!

Apr 13, 2011 at 2:52 PM

What happens if we dont display a module title on the container?

Apr 13, 2011 at 2:53 PM

I supposed I can dynamically add server side script ContextAttachItemID to another ID. 

Apr 17, 2011 at 9:20 AM

Ok i made a better solution for that problem new relase 1.03 is Online.

The Logic is now...

- If the Content Pane of the Module container is smaller then 10px x 10px its fall back to the Normal Menu with Arrow

- If an ContextAttachItemID is defined it checks if that id exists and also if its not to small, if ok it attaches the context menu to it, if not it uses the fallback to the normal Menu