解决jqplot与jquery-ui导入必要包时的冲突
解决jqplot与jquery-ui导入必要包时的冲突
对于一个网页中,即要有jqplot的画图,又要有jquery-ui的风格显示!
但在导入必要的包时,出现了问题!
先导入jqplot的必要包:
1 <link type="text/css" rel="stylesheet" href="../css/jQuery/jqPlot/jquery.jqplot.min.css" />
2 <link type="text/css" rel="stylesheet" href="../css/jQuery/jqPlot/syntaxhighlighter/styles/shCoreDefault.min.css" />
3 <link type="text/css" rel="stylesheet" href="../css/jQuery/jqPlot/syntaxhighlighter/styles/shThemejqPlot.min.css" />
4 <script type="text/javascript" src="../js/excanvas.js"></script>
5 <script type="text/javascript" src="../js/jQuery/jquery.min.js"></script>
6 <script type="text/javascript" src="../js/jQuery/jqPlot/staticjquery.jqplot.min.js"></script>
7 <script type="text/javascript" src="../js/jQuery/jqPlot/syntaxhighlighter/scripts/shCore.min.js"></script>
8 <script type="text/javascript" src="../js/jQuery/jqPlot/syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
9 <script type="text/javascript" src="../js/jQuery/jqPlot/syntaxhighlighter/scripts/shBrushXml.min.js"></script>
再导入jquery-ui的必要包:
1 <link rel="stylesheet" href="../css/bootstrap.min.css" media="screen">
2 <link rel="stylesheet" href="../css/cupertino/jquer121y-ui-1.10.3.custom.css" />
3 <link rel="stylesheet" href="../css/cupertino/button.select.css" />
4 <script src="../jquery_ui/jquery-1.9.1.js"></script>
5 <script src="../js/jquery-ui-1.10.3.custom.js"></script>
6 <script src="../js/jquery.ui.datepicker-zh-TW.js"></script>
这样子的话能有jquery-ui的样式,会画不出图表,想当然就是jquery-ui的必要包会跟jqplot的必要包起冲突,而进行覆盖!
如果导入jquery-ui的必要包,再导入jqplot的必要时的顺序的话,这样不能有jquery-ui的样式,但却能画出图来!
解决的方法!如下,将必要包进行混合:
1 <link type="text/css" rel="stylesheet" href="../css/jQuery/jqPlot/jquery.jqplot.min.css" />
2 <link type="text/css" rel="stylesheet" href="../css/jQuery/jqPlot/syntaxhighlighter/styles/shCoreDefault.min.css" />
3 <link type="text/css" rel="stylesheet" href="../css/jQuery/jqPlot/syntaxhighlighter/styles/shThemejqPlot.min.css" />
4 <link rel="stylesheet" href="../css/bootstrap.min.css" media="screen">
5 <link rel="stylesheet" href="../css/cupertino/jquer121y-ui-1.10.3.custom.css" />
6 <link rel="stylesheet" href="../css/cupertino/button.select.css" />
7
8 <script src="../jquery_ui/jquery-1.9.1.js"></script>
9 <script src="../js/jquery.ui.datepicker-zh-TW.js"></script>
10 <script type="text/javascript" src="../js/excanvas.js"></script>
11 <script type="text/javascript" src="../js/jQuery/jquery.min.js"></script>
12 <script type="text/javascript" src="../js/jQuery/jqPlot/staticjquery.jqplot.min.js"></script>
13 <script type="text/javascript" src="../js/jQuery/jqPlot/syntaxhighlighter/scripts/shCore.min.js"></script>
14 <script type="text/javascript" src="../js/jQuery/jqPlot/syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
15 <script type="text/javascript" src="../js/jQuery/jqPlot/syntaxhighlighter/scripts/shBrushXml.min.js"></script>
16 <script src="../js/jquery-ui-1.10.3.custom.js"></script>
出现上面这样子将必要包导入时不会出现覆盖的情况,即能有jquery-ui的样式,但却能画出图来!
简单的字母全排列问题—递归法和STL法
#include <stdio.h> int t[200];
char s[200];
int n = 0; void permutation(int i)
{
int k; // a~z的ASCII码在97到122之间
for(k = 97; k < 123; k++)
{
if(t[k])
{
t[s[i] = k]--;
permutation(i + 1);
t[k]++;
}
} // 只有n个字母全部排好了才输出
n - i || puts(s);
} int main()
{
int i; puts("Please Input letter sequence: ");
gets(s); // t[]记录每个字母的出现频率
// n为待排序列的长度
for(i = 0; s[i] != '\0'; i++)
{
t[s[i]]++;
n++;
} puts("Permutation result: ");
permutation(0); return 0;
}
运行结果如下:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAATcAAAEXCAIAAABH7JRTAAAYOUlEQVR4nO3dd3fbWHoGcHy0TbI5my3Z4rFntkxmZ8aT3Wwd725ykuxHybjbcrcpqlKdkk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QlqVERK38n+1WJtPNDfeUpP6Snt/GTY9TbLfTxWO19Oz/b6y6TtpdP0/uWmh+xfL0HfLoVd9Z2vZKVKxkNv3HMnqN0u6E8upZQ3pnOR3LuldloJhf2oXYWqbRmmfyXboqSTIfczfXUKN3aA9cLg6OfSTvpznOTI7tTVXq4f5SPs2b/Co1DJuiiD77tdyvunzBy4E0o/CvdP3xWp7Z+y32BwalOqZKaSBgrfwiGPQlUBUPjCgfsfeSeUfhTun74rUtu/km0B1UaY0nG8o4P1o+9A71+uq3H0/23uB0r/PcfTc0WjXS8Mriulcscf5bhU+xJKVz11Nu55hMl1pWQVXSORTlM6GWwTpDPVdqKkH/r+6duPkv1MbybXWLoK6E96Ln0/jPsgwEGmClI6lPcspeM+AnCEDQYpHcp7llJgE1I6lEWkFIBxi4GzRaQUgGW64BkJKlIKwCikFIB1uuCZLnCmC5zFkFIANumCZ6Ri4hukFIBFSCkA6y5SWkJKAZiElAKwDikFYB1SCsA6pBSAdUgpAOt0wddIKQDTkFIA1umCr0lQkVIARiGlAKxDSgFYd57S10gpAJv+HynCma3+7V3dAAAAAElFTkSuQmCC" alt="" />
方法二:STL法
C++的STL有一个函数可以方便地生成全排列,这就是next_permutation
在C++ Reference中查看了一下next_permutation的函数声明:
#include <algorithm>
bool next_permutation( iterator start, iterator end );
The next_permutation() function attempts to transform the given range of elements [start,end) into the next lexicographically greater permutation of elements. If it succeeds, it returns true, otherwise, it returns false.
从说明中可以看到 next_permutation 的返回值是布尔类型。按照提示写了一个标准C++程序:
其中用到了 sort 函数,如果不先排序,则完成不了全排列。
#include <iostream>
#include <string>
#include <algorithm> using namespace std; int main()
{
string str; cout << "Please Input letter sequence: \n";
cin >> str; // 必须先排序
sort(str.begin(), str.end());
cout << str << endl; cout << "Permutation result: \n"; while(next_permutation(str.begin(), str.end()))
{
cout << str << endl;
} return 0;
}
运行结果如下:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVMAAAEdCAIAAAA+exM/AAAZ00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X5+70eyxAMBpude9cq97dWHL94NfXG/2WADgtHz5rfzLZ4o5wvv9T641eywAcFo+/2b586fLMo3ne59cbfZYAOC0/Prp0uffLMs0nu/9DMkHEIwvvl3+4lv5nMaDT/sAAnL7ueLO85V5wvuXn+AMH4BgPOhZf9C7vqj1/eAXHc0eCwCckv8H5qb0IFXTrOwAAAAASUVORK5CYII=" alt="" />
在使用稍大数据测试的时候,发现标准C++的效率很差,换成C函数写一下,效率提升了许多倍,比如我用字符序列“aabbddef”作为测试,上面C++代码用了6s,而下面的C代码只用了0.918s。所以,平时写代码时能用C就用C。
#include <stdio.h>
#include <algorithm> using namespace std; int main()
{
char str[200];
int len; puts("Please Input letter sequence: ");
gets(str); len = strlen(str); // 必须先排序
sort(str, str + len); puts("Permutation result: ");
puts(str); while(next_permutation(str, str + len))
{
puts(str);
} return 0;
}
解决jqplot与jquery-ui导入必要包时的冲突的更多相关文章
- jquery ui导入两次的错误提示
如果jquery ui plugin的js文件出现到两次的话,就会出现报错. 解决办法: 找出引用了jquery ui 的文件,将其中一个去掉就ok了. 在Firefox下面的报错提示: TypeEr ...
- Elicpse新建userLibrary导入jar包时抛出NotFoundException异常
最近刚开始学Struts2.0框架.再导入jar包的时候突然心血来潮.为方便区分jar包的功能,于是想在WEB-INF -> lib 目录下想新建一个struts文件夹,以方便分类查看. 像上图 ...
- Servlet学习之Maven导入Servlet-api包与Tomcat冲突报500问题
Maven导入Servlet-api包导致无法运行报500的问题 以下解决方式适用于跟我类似的配置环境,构建servlet程序后,启动Tomcat页面报"类com.tioxy.servlet ...
- jQuery UI Datepicker&Datetimepicker添加 时-分-秒 并且,判断
jQuery UI Datepicker时间(年-月-日) 相关代码: <input type="text" value="" name="ad ...
- 解决myeclipse/eclipse创建或导入maven工程时引发的问题
起因: 最近学习maven,按照教程把命令行创建的maven工程导入到eclipse/myeclipse,由于库中没有一些依赖包,所以在导入工程的时候开发工具自动下载依赖包.可是,由于天朝特殊环境的问 ...
- maven依赖jar包时版本冲突的解决
https://blog.csdn.net/sinat_39789638/article/details/78005945 共有四种解决方式: 1.第一声明优先原则: 在pom.xml配置文件中,如果 ...
- Dart 导包时类名冲突
import 'package:qingyuo_mobile/pages/slices/home_page/tech_slice.dart'; import 'package:qingyuo_mobi ...
- python踩坑系列之导入包时下划红线及报错“No module named”问题
python踩坑系列之导入包时下划红线及报错“No module named”问题 使用pycharm编写Python时,自己写了一个包(commontool),在同级另一个路径下(fileshand ...
- Python的包package的导入与被导入(包的类和方法的导入,__init__()怎么写)
包package的导入与被导入: 参考一下: https://blog.csdn.net/guowujun321/article/details/80764468 1.文件目录: | |-- A/ ...
随机推荐
- Codeforces Round #243 (Div. 1)-A,B,C-D
此CF真是可笑.. . 由于早晨7初始点,因此,要做好CF时间已经17没有休息一小时,加上中午5小时耐力赛. 心里很清楚.是第一个问题的时候,几乎被解读为寻求最大的领域和.然后找到一个水体,快速A降. ...
- [Phonegap+Sencha Touch] 移动开发34 gem安装compass,不编译scss,怎么办?
很多人已经发现,今天,该命令 "gem install compass" 安装compass,正在使用 "compass compile" 编scss的时间将报 ...
- 表现层及ASP.NET MVC介绍(二)
表现层及ASP.NET MVC介绍(二) 最近的更新速度越来越慢,主要是项目上比较忙,封装EasyUi也要花很多时间.不过大家请放心,本系列不会半途夭折,并且代码干货也会持续更新.本文继续介绍表现层和 ...
- c语言复杂声明解析
这是个好东西,接触c语言好几年了,第一次看到这东西,惊喜万分. 先提供个分析案例,以后看方便 vector <int> * (*seq_array[]) (int )={func1,fun ...
- UITableView刷新局部
//局部section刷新 NSIndexSet *nd = [[NSIndexSet alloc] initWithIndex:1]; //刷新第二个section [self.tableView ...
- poj 3026 Borg Maze (bfs + 最小生成树)
链接:poj 3026 题意:y行x列的迷宫中,#代表阻隔墙(不可走).空格代表空位(可走).S代表搜索起点(可走),A代表目的地(可走),如今要从S出发,每次可上下左右移动一格到可走的地方.求到达全 ...
- Jquery页面中添加键盘按键事件,如ESC事件
$(document).keydown(function(event){ if(event.keyCode == 38 || event.keyCode == 104){ i--; if(i<= ...
- 2014阿里实习生面试题——mysql如何实现的索引
这是2014北京站的两副面孔阿里实习生问题扯在一起: 在MySQL中.索引属于存储引擎级别的概念,不同存储引擎对索引的实现方式是不同的,比方MyISAM和InnoDB存储引擎. MyISAM索引实现: ...
- Installshield 64位操作系统下拷贝文件,如何重定向到32位的系统文件夹下
原文:Installshield 64位操作系统下拷贝文件,如何重定向到32位的系统文件夹下 64位操作系统下拷贝文件重定向问题,在在复制代码前加上Disable(WOW64FSREDIRECTION ...
- IOC 容器初始化
WebApi 插件式构建方案:IOC 容器初始化 一般来说,一个现代化的网站加载流程是这样的:程序集加载后,我们会初始化 IOC 容器,以便于接下来解析对象用. 我们插件式的开发,这一步更为重要.这是 ...