jQuery UI对话框:如何在没有标题栏的情况下进行初始化?
问题描述:
是否可以打开不带标题栏的jQuery UI对话框?
Is it possible to open a jQuery UI Dialog without a title bar?
答
我找到了动态删除标题栏的修复程序.
I figured out a fix for dynamically removing the title bar.
$("#example").dialog(dialogOpts);
// remove the title bar
$(".ui-dialog-titlebar").hide();
在呈现对话框之后,这将删除所有带有"ui-dialog-titlebar"类的元素.
This will remove all elements with the class 'ui-dialog-titlebar' after the dialog box is rendered.