Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/85.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
显示丑陋标题的jquery对话框_Jquery_Jquery Ui - Fatal编程技术网

显示丑陋标题的jquery对话框

显示丑陋标题的jquery对话框,jquery,jquery-ui,Jquery,Jquery Ui,我有对话框,但它看起来一点也不像jquery.com上的演示。我有主题css和js文件并引用了它们,但它看起来很难看。大文本、标题和“x”位置不正确。我已将抓斗放在: 如果有人能解释为什么会这样,我将不胜感激。非常感谢 // Help function function help(){ $(function() { $('#help').dialog( {

我有对话框,但它看起来一点也不像jquery.com上的演示。我有主题css和js文件并引用了它们,但它看起来很难看。大文本、标题和“x”位置不正确。我已将抓斗放在:

如果有人能解释为什么会这样,我将不胜感激。非常感谢

// Help function

            function help(){ 

                $(function() {

                 $('#help').dialog(
        { 
            title:"Mail Help",
            width: 416,
            height: 340,
            modal: true,
            overlay: { backgroundColor: "#000", opacity: 0.5 }


        });$("#help").dialog('open');
          });
         }
这是我用来引用文件的工具:

<script src="/sample/admin/js/jquery-1.3.2.min.js"></script>
<script src="/sample/admin/js/jquery-ui-1.7.3.custom.min.js"></script>
<script src="/sample/admin/js/ui.dialog.js"></script>
<script src="/sample/admin/js/ui.core.js"></script>

<link href="/sample/admin/css/smoothness/jquery-ui-1.7.3.custom.css" rel="stylesheet" type="text/css" />
<link href="/sample/admin/css/themes/base/ui.all.css" rel="stylesheet" type="text/css" />

谢谢。

您是否已将jQuery UI CSS导入到您的项目中?你可以利用他们提供的,或者。jQuery UI对话框依赖于此使一切看起来都很漂亮。

你能发布对JS/CSS的引用吗?发布你的CSS/HTML,我猜你做了一些与jQuery CSS/HTML冲突的事情。->还有一个问题,你是否包括了jqueryUI CSS?@Putersmit-你确定你的CSS样式正在应用吗?根据您发布的屏幕抓图,它看起来似乎是默认的非样式。样式和js显示在firebug的net中,如果我在标题区域使用web developer,则来自css/smoothness/jquery-ui-1.7.3.custom.css