Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by zhaochunhui on Oct 29, 2008 17:40
open dhtmlx forum
about dhtmlxmenubar

to  Support :

--------------------------------------------

but context menu position not Fixed position,

it should be like the WINDOWS's right-click menu,at mouse next to the show,

now ,the menu can be show when i right-click  tree node ,

but when the page scrolling,the context menu position is incorrect.

 for example:

when i right-click tree node on the  page of bottom, the context menu will show top of the page(i

Guess position of x,y is  Absolute position, how can i get  relative position when the page scrolling )

P S: in fact , i just want the cotext menu correct show on any tree node ,

Answer posted by Support on Oct 30, 2008 04:58
In case of dhtmlxMenu 1.x - it automatically calculates scrolling state of document, and fix their position accordingly.
Working sample sent by email. 

If issue still occurs for you - please provide any kind of sample where issue can be reconstructed ( you can send it directly to support@dhtmlx.com