早年~楔子在xx项目中,为各网点图标隐藏文字时,用了{text-indent:-9999em;}的方式,结果IE6/7下图片就不见了,如下:正常浏览器:IE6/7:平时对于这种情况下的文字隐藏,多用line-height(下文提到的方式三)的方式,并没有认真去考虑它的优劣,也没有进行其他方式的测试和...
分类:
其他好文 时间:
2014-06-27 21:43:15
阅读次数:
261
$("input[type=text]") 处可为文本框ID,指定某个文本框输入小写字母变大写
分类:
编程语言 时间:
2014-06-27 21:37:08
阅读次数:
313
for (int i = 0; i { for (int i = 0; i { textBox1.Text += i + " " + "\n"; ...
分类:
编程语言 时间:
2014-06-27 20:53:36
阅读次数:
323
昨天说完《Sublime Text 2 绿化与汉化 [Windows篇]》,今天我们来说说怎么用st直接运行 js 吧。群里的小伙伴一直对我的 ST 能直接运行js感到非常好奇,今天我就公布下这个“秘密”吧。。其实非常简单,配置个编译系统即可。可是编译系统是什么,怎么配置呢?接下来我一步一步教你吧。...
分类:
Web程序 时间:
2014-06-25 12:23:32
阅读次数:
311
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net.Mail;namespace SendMessage{ class SendEmail {...
分类:
其他好文 时间:
2014-06-25 12:04:19
阅读次数:
251
Sublime2 Text编辑器使用技巧 ------------------------------------软件使用---------------------------------------1.右键支持用sublime2打开Windows Registry Editor Version 5...
分类:
其他好文 时间:
2014-06-25 11:01:54
阅读次数:
296
<body
<formaction=""method="post"
name="form1">
<inputtype="text"id="id"/>
</form>
</body>
<script>functionmyfocus(){
document.getElementById(‘id‘).focus();}</script>
分类:
Web程序 时间:
2014-06-25 10:11:17
阅读次数:
181
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml"xml:lang="en">
<head>
<metahttp-equiv="Content-Type"content="text/html;charset=..
分类:
其他好文 时间:
2014-06-25 06:38:47
阅读次数:
336
packagecom.smilezl.learn.CalWord;importjava.io.IOException;importjava.util.StringTokenizer;importorg.apache.hadoop.conf.Configuration;importorg.apache.hadoop.fs.Path;importorg.apache.hadoop.io.Text;importorg.apache.hadoop.mapreduce.Job;importorg.apache.hado..
分类:
其他好文 时间:
2014-06-25 06:28:59
阅读次数:
242
------------------------------------------------------checkbox的属性选择判断:<scripttype="text/javascript">
$(function(){
alert("start");
alert($(".parentchack").attr("checked"));
if($(".parentchack").attr("checked")=="checked"){
alert("true");
}else{..
分类:
Web程序 时间:
2014-06-25 06:23:09
阅读次数:
337