我是Plone和jQueryUI的新手,并且无法在Plone页面上运行任何jQueryUI.
我安装了Plone 4(4.1.4 41143)和jQueryUI 1.8.16(http://plone.org/products/collective.js.jqueryui),
在Zope Management Interface> portal_javascripts下,将存在并启用collective.js.jqueryui.custom.min.js.
为了尝试从http://jqueryui.com/demos/button/实现这个例子,我放置了Plone页面的正文:
<script type="text/javascript">
jQuery({function($) {
$( "input:submit, a, button", ".demo" ).button();
$( "a", ".demo" ).click(function() { return false; });
});
</script>
<DIV class=demo>
<BUTTON type=submit>A button element</BUTTON> <INPUT value="A submit button" type=submit> <A href="#">An anchor</A>
</DIV><!-- End demo -->
Run Code Online (Sandbox Code Playgroud)
但结果页面未显示预期结果.
我尝试用"$","collective.js.jqueryui.custom.min"替换上面代码中的"jQuery",但还没有任何工作.
我能够让一些jQueryUI在Plone之外工作,但是有兴趣知道如何在Plone中使用它.任何帮助赞赏.