1 Reply Latest reply on Jul 15, 2011 10:50 AM by p kris

    Position of popupPanel

    p kris Newbie

      Hello,

       

      I have a input text box, when I click on it, I am displaying a popupPanel.

      However, this popupPanel is getting displayed at the centre of page.

      I want it to be displayed right above or below my input text box (just like rich:calendar or rich:colorPicker).

      I know I can make use of attributes left and top, but the poisition may vary depending on screen resolution etc.

      I thought of getting the value of position from javascript, but I don't know how to set a value from javascript into tag attribute (left or top) .

       

      Thanks in advance

       

      Praneeth