1

我找不到任何关于 jQuery 资源插件的信息。是否可以在 application.ini 中配置 jQuery?

4

3 回答 3

4

这是我在“所有”项目中使用的示例:

pluginPaths.ZendX_Application_Resource = "ZendX/Application/Resource"

; in production - load jquery from google cdn with jquery ui
resources.jquery.version    = 1.4.2
resources.jquery.ui_enable  = true
resources.jquery.ui_version = 1.8.7
resources.jquery.stylesheet = "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/

; in development - load jquery local (not network in trains :-) )
resources.jquery.localpath    = "/js/library/jquery/jquery-1.4.2.js"
resources.jquery.ui_localpath = "/js/library/jquery.ui/jquery.ui.js"
resources.jquery.stylesheet   = "/public/css/jquery.ui/jquery-ui-1.8.7.custom.css"
于 2011-02-21T18:21:27.750 回答
1
resources.view[] =
pluginPaths.ZendX_Application_Resource_ = "ZendX/Application/Resource"
resources.jquery.localpath = "/jquery/js/jquery-1.4.2.min.js"
resources.jquery.stylesheet = "/jquery/css/ui-lightness/jquery-ui-1.8.custom.css"
resources.jquery.uilocalpath = "/jquery/js/jquery-ui-1.8.custom.min.js"
于 2011-02-21T17:10:52.013 回答
0
resources.jquery.version = 1
resources.jquery.ui_version = 1

加载最新版本的jquery

于 2012-09-04T13:54:21.673 回答