jQuery UI Widgets Forums Dialogs and Notifications Window open close visible invisible

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 9 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • open close visible invisible #67953

    cpuin
    Participant

    Hello,

    I can’t understand do i need to use every time i need to open the following window ‘visible’ and ‘invisible’ option.

    <div id="eventWindow" style="visibility: hidden;">
    	                      
    	                          <img width="14" height="14" src="ccs/images/help.png" alt="" />
    	                         
    	                              Фактурата е запазена!<br>
    	                              Искате ли да генерирате PDF?
    	                         
    	                          <div style="float: right; margin-top: 15px;">
    	                              <button id="ok" style="margin-right: 10px">Да</button>
    	                              <input type="button" id="cancel" value="Отказ" />
    	                          </div>
    	      				</div>

    Now i call it like this:

    $("#eventWindow").jqxWindow('open');
    $("#eventWindow").css('visibility', 'visible');

    If i don’t use $(“#eventWindow”).css(‘visibility’, ‘visible’); the window is visible by default and i don’t like this.And if i don’t put style=”visibility: hidden;” in the HTML it is visible too.

    open close visible invisible #67966

    Peter Stoev
    Keymaster

    Hi cpuin,

    Why don’t you set visibility to “inherit”?

    Best Regards,
    Peter Stoev

    jqWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.