POP-UP Menus on HTML anchors

I have an HTML anchor calling a method like Javascript: methodName(param)

methodName calls the pop up plugin, but unfortunately the pop-up menu never loads. I assume this is because I am using HTML and not a servoy button or other object?

Is it possible to call a method that displays a pop up menu over the anchor?

What does your method look like ?
And is this smartclient or webclient ?

It’s smart client and html is rendered inside an HTML area.

Code is default pop-up example code.

I guess you are using application.getMethodTriggerElementName().
I don’t think it will return a value and therefore it will not display the menu.
You need to hardcode the elementname or use x/y coordinates.
Point is if you use the element name the popup will not open at the location of your href but at the bottom of your HTML_AREA field. So you need to pass it some coordinates but how to know where your href is rendered, that is the hardest part.

Hope this helps.

Yeah, that makes a lot of sense

Thanks

trigger the popup within the html and assign a different object as the anchor:

http://www.servoymagazine.com/home/2005 … enu_p.html

only way to get popups going “up” at the moment since x,y positioning is still bugged.