11 Replies Latest reply on Aug 13, 2010 5:57 AM by ilya_shaikovsky

    How to block cursor click after open modalpanel?

    eswaramoorthy1985

      Hi,

       

      i can't allow to click the testbutton after open modalPanel. But i want to use like this css(rich-mpnl-mask-div)

       

      <rich:modalPanel id="test_ModalPanel" style="height:200px;width:200px">
          <a4j:commandLink value="Hide Me" onclick="javascript:Richfaces.hideModalPanel('test_ModalPanel');"/>
      </rich:modalPanel>
      
      <a4j:commandLink value="Show Test Modal Panel" onclick="javascript:Richfaces.showModalPanel('test_ModalPanel');"/>
                     
      <a4j:commandButton value="test Button"/>
      

       

      i use the following css :

       

      .rich-mpnl-mask-div
       {
          display:none;
       }
      

       

      Here it can allow to click testButton.

       

      but i can't allow to click that button. And also i want to use

      .rich-mpnl-mask-div property or similar work of the css.

      help me about this.
      Thanks in advance.