判断事件触发的元素:var tag = window.event.target || window.event.srcElement; if (tag.tagName.toLowerCase() == "input") { return; }window.event.srcElement与windo...
开发和使用JSP自定义标签过程:
一、开发标签实现类.
HelloTag_Interface.java文件内容:
import javax.servlet.jsp.tagext.Tag;
import javax.servlet.jsp.PageContext;
import javax.servlet.jsp.JspException;
import java.io.*...
分类:
Web程序 时间:
2014-12-31 21:35:29
阅读次数:
262
public?class?HttpKit?{
?//?static?String?uri?=?"http://192.168.1.175:8080/married/mobileGet";
?static?final?String?TAG_STRING?=?"TAG";
?public?static?String?sendGet()?{
??Str...
分类:
移动开发 时间:
2014-12-31 14:45:15
阅读次数:
160
下载地址:全部:700多M https://github.com/adobe-fonts/source-han-sans/releases/tag/1.001R可选部分Github :https://github.com/adobe-fonts/source-han-sans/In principa...
分类:
系统相关 时间:
2014-12-31 12:59:58
阅读次数:
3443
1.第一种方法
/*
不会说话的汤姆猫
1.图片名放在button的title中,提取出来用sender.currentTitle
2.每个文件夹中的图片个数存在button的tag值中,提取出来用sender.tag
*/
- (IBAction)clickBtn:(UIButton *)sender {...
分类:
其他好文 时间:
2014-12-30 15:25:28
阅读次数:
180
实际读取图片的代码已经上传到我的资源里面; 下面贴出使用例子:
unsigned char* esLoadJPG(const char *fileName, int *width, int *height, int *size)
{
FILE *f = fopen(fileName, "rb");
fseek(f, 0, SEEK_END);
*size ...
分类:
系统相关 时间:
2014-12-30 11:41:37
阅读次数:
276
public partial class Form1 : Form { public Form1() { InitializeComponent(); } string tag = "True"; St...
url中的#!URL 中的 # 本来的用途是跳转到页内锚点。一个 URL 中 # 后的值 (hash tag) 不影响所访问网页的内容,所以搜索引擎在处理仅仅 hash tag 不同的多个 URL 时会当做相同内容从而忽略hash tag。但近年来 hash tag 越来越多地被用于 AJAX 请求...
分类:
其他好文 时间:
2014-12-30 01:40:36
阅读次数:
114
在html的head头内如下写法,节选自http://www.xingzai.org/html-note/meta-tag-usage-order.html:其中最后一行是永远以最新的IE版本模式来显示网页的。另外加上Emulate模式Emulate模式后则更重视(细心的人会注意到,用IE9去访问带...
分类:
Web程序 时间:
2014-12-29 15:16:26
阅读次数:
173
样式表有三种方式内嵌样式(inline Style) :是写在Tag里面的,内嵌样式只对所有的Tag有效。内部样式(internal Style Sheet):是写在HTML的里面的,内部样式只对所在的网页有效。外部样式表(External Style Sheet):指引入以.css为后缀的CSS文...
分类:
其他好文 时间:
2014-12-28 22:12:07
阅读次数:
153