jQuery ui标签根本不呈现

时间:2014-01-26 13:14:38

标签: jquery jquery-ui jquery-ui-tabs

我正在尝试在我的网站中设置标签面板。问题是,它不是渲染。以下是该页面和相关html的链接: http://develop.emotion-software.nl/admin/pages/edit/

<script type="text/javascript" src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.4/jquery-ui.min.js"></script>
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
<script type="text/javascript" src="/js/ckeditor/ckeditor.js"></script>

<script type="text/javascript">
$(document).ready(function(){
    $(function() {
        $( "#tabs" ).tabs();
    });
})
</script>
<form action="<?php echo $_SERVER['REQUEST_URI'] ?>" method="POST">
        <div id="tabs">
            <ul>
                <li><a href="#tabs-1">Slug</a></li>
                <li><a href="#tabs-2">Page</a></li>
           </ul>
            <div id="tabs-1">
                Titel: <input type="text" name="title" /><br />
                Slug: <input type="text" name="slug" /><br />
                Model: <input type="text" name="model" /><br />
                View: <input type="text" name="view" /><br />
            </div>
            <div id="tabs-2">
                    Titel: <input type="text" name="title" /><br />
                    Beschrijving: <input type="text" name="description" /><br />
                    Keywords: <input type="text" name="keywords" /><br />
                    Tekst:<br />
                    <textarea name="text" cols="80" rows="15" class="ckeditor">abjioo</textarea><br />
            </div>
        </div>
    </form>

我用最少的HTML创建了一个试用文件。在该文件中,tabspanel确实有效。 :http://develop.emotion-software.nl/tab.html

某处可能存在错误。我找不到它。

0 个答案:

没有答案