I have a jQuery dialog on my website. I give a div on the "dialog" id page, the contents of which become the contents of the dialog box. However, when the page loads, this div appears at the top of the page and looks bad. Does anyone know how to deal with this?
Hide your div through your CSS file:
#dialog {display: none}
This will not affect its actual display when opening a dialog.
I tested to make sure, and this method worked with jQuery UI 1.7.2
, (, .show() .hide()], , jQueryUI, . , div display:none , .
display:none
Source: https://habr.com/ru/post/1728257/More articles:Standard Help Library for Ruby - referenceLinker options for Boost - c ++https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1728254/visual-studio-2008-references-too-long&usg=ALkJrhh9VBebzABppk4Dmu6Cw8I56bN4UwHow to disable control character shell interception? - pythonПредложите поставщику JMS (для платформы Java) - javaHow to specify a default value for a base class attribute from a subclass in Django? - pythonJSON and spaces in identifiers - jsonMy DAO is starting to look the same, offering a patch design template? - javaЛучший спайдер с открытым исходным кодом для покрытия сайта - javascriptpython memory del list [:] vs list = [] - pythonAll Articles