分别添加时的jQuery ui插件/小部件加载顺序 [英] jquery ui plugin/widget load order when adding individually

查看:135
本文介绍了分别添加时的jQuery ui插件/小部件加载顺序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我的项目使用多个jquery ui小部件,随着项目的进行,我刚刚将所需的内容添加到列表的底部,但是现在出现了一些错误.在此问题中,是说一些小部件会从其他小部件继承属性/功能,因此最好的顺序是为所有小部件安排脚本标签工作正常而没有错误?

I'm using multiple jquery ui widgets for my project and as the project has progressed I've just added what I've needed to the bottom of the list but now I get some errors. In this question is saying some widgets inherit properties/functions from others so what is best order to arrange the script tags for all the widgets to work properly without errors?

以下是我正在使用的jquery文件在HTML中的顺序

Here are jquery files I'm using in the order they are in the HTML

  1. jquery.1.7.2.min.js
  2. jquery.ui.core.min.js
  3. jquery.ui.widget.min.js
  4. jquery.ui.position.min.js
  5. jquery.effects.core.min.js
  6. jquery.ui.tooltip.min.js
  7. jquery.ui.dialog.min.js
  8. jquery.ui.datepicker.min.js
  9. jquery.ui.tabs.min.js
  10. jquery.ui.selectable.min.js
  11. jquery.ui.autocomplete.min.js
  12. jquery.ui.menu.min.js
  13. jquery.ui.button.min.js
  14. jquery.ui.draggable.min.js
  15. jquery.ui.mouse.min.js
  16. jquery.ui.resizable.min.js
  1. jquery.1.7.2.min.js
  2. jquery.ui.core.min.js
  3. jquery.ui.widget.min.js
  4. jquery.ui.position.min.js
  5. jquery.effects.core.min.js
  6. jquery.ui.tooltip.min.js
  7. jquery.ui.dialog.min.js
  8. jquery.ui.datepicker.min.js
  9. jquery.ui.tabs.min.js
  10. jquery.ui.selectable.min.js
  11. jquery.ui.autocomplete.min.js
  12. jquery.ui.menu.min.js
  13. jquery.ui.button.min.js
  14. jquery.ui.draggable.min.js
  15. jquery.ui.mouse.min.js
  16. jquery.ui.resizable.min.js

谢谢

推荐答案

在编译的UI文件中浏览可能是这样的:

Looking through the compiled UI file is looks like it might be this:

  1. UI核心
  2. 小工具
  3. 鼠标
  4. 可拖动
  5. 可植入
  6. 可调整大小
  7. 可选
  8. 稳定
  9. 效果核心
  10. 按字母顺序包括所有效果
  11. 手风琴
  12. 自动完成
  13. 按钮
  14. 日期选择器
  15. 对话框
  16. 菜单
  17. 菜单栏
  18. 弹出
  19. 位置
  20. 进度栏
  21. 滑块
  22. 旋转器
  23. 标签
  24. 工具提示
  1. UI Core
  2. Widget
  3. Mouse
  4. Draggable
  5. Droppable
  6. Resizeable
  7. Selectable
  8. Sortable
  9. Effects Core
  10. All effects included alphabetically
  11. Accordion
  12. Autocomplete
  13. Button
  14. Datepicker
  15. Dialog
  16. Menu
  17. Menubar
  18. Popup
  19. Positon
  20. Progress bar
  21. Slider
  22. Spinner
  23. Tabs
  24. Tooltip

这篇关于分别添加时的jQuery ui插件/小部件加载顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆