一、HighCharts开发说明:HighCharts开发实际上配置HighCharts每个部分,比如配置标题(title),副标题(subtitle)等,其中每个部分又有更细的参数配置,比如标题下有对齐方式(align),标题文字(text)等。下图为整个图表的每个部分位置说明(请对照下面High...
sqlyog中文乱码:Eclipse的文本编码与MySQL数据库字符编码不一致导致。修改Eclipse设置,Window->Preferences->General->Workspace,找到Text
file encoding,选择Other,修改为UTF-8。MySQL要支持完整的中文字符集,应...
分类:
数据库 时间:
2014-05-26 16:13:42
阅读次数:
327
function wrapText(context, text, x, y,
maxWidth, lineHeight) { var words = text.split(" "); var line = ""; for (var
n...
分类:
其他好文 时间:
2014-05-24 07:58:42
阅读次数:
244
用Sublime Text 2自己打开自己的二进制文件:Sublime Text
2/Contents/MacOS/Sublime Text 2搜索所有3342 3032都替换成3242
3032保存后退出重新运行,输入任意注册码注册即可注册码样本:—–BEGIN LICENSE—–hiwanzUn...
分类:
其他好文 时间:
2014-05-24 07:50:29
阅读次数:
294
jQuery提供了两个API可以直接用来为元素添加内容。
html()text()
其中html()是为指定的元素添加html内容
text()是为指定的元素添加文本内容
两者的区别在于,text中的内容是纯文本,不会被解析为html
如果要对如下html代码进行操作
使用html()
$('p').html('Hello World, I am a...
分类:
Web程序 时间:
2014-05-23 02:36:25
阅读次数:
381
/** JQuery Html Encoding、Decoding
* 原理是利用JQuery自带的html()和text()函数可以转义Html字符
* 虚拟一个Div通过赋值和取值来得到想要的Html编码或者解码
*/
//Html编码获取Html转义实体
function htmlEncode(value){
return $('').text(value).html();
}
//...
分类:
Web程序 时间:
2014-05-23 01:23:28
阅读次数:
499
介绍一个list滑动时通过一个text提示Array首字母位置的应用
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce...
分类:
其他好文 时间:
2014-05-23 00:58:42
阅读次数:
326
无序表的应用嵌套
<meta http-equiv="Content-Type" content="text/html; charset=...
分类:
Web程序 时间:
2014-05-22 17:07:28
阅读次数:
384
using System;using System.Collections.Generic;using
System.IO;using System.Linq;using System.Text;using
System.Threading.Tasks;namespace 序列化反序列化{ c...
分类:
其他好文 时间:
2014-05-22 15:52:52
阅读次数:
264
前些时间有这么个需求,需要实现选中div里面的文字,选中了的文字可直接按ctrl+v(或者右键)实现黏贴操作。html代码:大家好!调用以下javascript方法,实现选择上面div中的内容:1
selectText(“text”)javascript代码: 1 function selectTe...
分类:
编程语言 时间:
2014-05-22 15:12:41
阅读次数:
237