htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0 - Add-Ons:
Context Menus in Tables Mods Bug Fixed


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


Luis
Veteran

Apr 10, 2003, 2:44 AM

Post #1 of 1 (5163 views)
Shortcut
Context Menus in Tables Mods Bug Fixed Can't Post

I tried many things usuccessfully to prevent the context menu to show up under the pull downs, but I succeded in this:

I replaced:

// set vertical position
if (mouseY + 5 + cMenuH > pageH) { var top = mouseY - cMenuH + 5; } // too far down
else { var top = mouseY + 5; }

with:

// set vertical position
if (mouseY + 5 + cMenuH > pageH) { var top = mouseY - cMenuH + 180; } // too far down
else { var top = mouseY + 5; }

Increasing this value, the context menu will always show up below the pulldowns. The most items you add to the menu, the bigger you need to increase the value.


http://www.webstationone.com/test/htmlarea/index.html


Don't give up!!
http://webstationone.com/test/htmlarea


(This post was edited by Luis on Apr 10, 2003, 3:04 AM)

 
 
 


Search for (options)