You can't modify where the popup displays in the GUI. It's set to go below the selected row.
Here is an example of drillmenuitem code.
Run this.... then view source of the output.
TABLE FILE CAR
PRINT RETAIL_COST DEALER_COST
BY CAR
ON TABLE NOTOTAL
ON TABLE SET STYLE *
DEFMACRO=COND0001,MACTYPE=RULE,WHEN=N1 EQ 'BMW',$
DEFMACRO=COND0002,MACTYPE=RULE,WHEN=N1 NE 'BMW',$
TYPE=DATA,COLUMN=N1,MACRO=COND0001,
DRILLMENUITEM='DrillDown 1',FOCEXEC=50342517,TARGET='_blank',
DRILLMENUITEM='DrillDown 2',FOCEXEC=50342517,TARGET='_blank',$
TYPE=DATA,COLUMN=N1,MACRO=COND0002,
DRILLMENUITEM='DrillDown 1',FOCEXEC=50342517,TARGET='_blank',$
ENDSTYLE
END
Conceptually you could modify the js that is shipped with WebFOCUS, and try to revise where the popup goes. That would make for upgrade headaches, and likely cause other support problems.
If you have a way to do it, why not run with what you have.
WebFocus 7x, 8x, Win / Linux, any output format