Questions tagged «jquery-dialog»


21
如何将我的jQuery对话框居中放置?
我尝试了以下代码,但是它仅将对话框的左上角位置定位到中心,这使元素向右对齐。如何将对话框居中到计算元素宽度的真实中心,以便中心线将对话框切成50%50%的一半? $('.selector').dialog({ position: 'center' }); http://docs.jquery.com/UI/Dialog#option-position
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.