a:focus{outline:none;}设置类似这样的属性后,超级链接点击后的虚线框会没掉,对于键盘用户来说就得不到焦点框。刚巧改这个的时候留神到了 在JavaScript中,IE7如果出现JSON以逗号结尾会报错,如var json = { one : 1, two : 2, // ...
分类:
其他好文 时间:
2014-06-27 21:46:26
阅读次数:
212
I experienced this error while trying to alter one of my stored procedures remotely on a master server. After some research, I ended up getting inform...
分类:
数据库 时间:
2014-06-25 15:34:33
阅读次数:
471
开发+运行第一个Mahout的程序代码:/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file di....
分类:
其他好文 时间:
2014-06-25 14:54:25
阅读次数:
328
http://johndyer.name/native-fullscreen-javascript-api-plus-jquery-plugin/HTML5 is great, but when it was first released, one of the big complaints wa....
分类:
编程语言 时间:
2014-06-25 14:49:46
阅读次数:
229
一、简介单例模式主要用的作用是用于保证程序运行中某个类只有一个实例,并提供一个全局入口点。单例模式(Singleton)为GOF阐述的标准24种设计模式中最简单的一个。但随着时间推移,GOF所阐述的单例实现已不能完全满足实际应用。"ensure a class has only one instan...
分类:
其他好文 时间:
2014-06-25 13:20:34
阅读次数:
193
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:
其他好文 时间:
2014-06-25 13:06:16
阅读次数:
198
The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is read off as"tw...
分类:
其他好文 时间:
2014-06-25 12:21:32
阅读次数:
235
这题看是否这题能A是侥幸,解决的办法是先存一下输入的字符串,进行排序。Problem DescriptionAn encoding of a set of symbols is said to be immediately decodable if no code for one symbol is...
分类:
其他好文 时间:
2014-06-25 11:46:47
阅读次数:
248
1 overload a operator of a class, you can only use one para., this pointer is automatically used. class Rational { public: //not correct sinc...
分类:
其他好文 时间:
2014-06-25 11:11:37
阅读次数:
194
.children() 获得元素集合中每个匹配元素的子元素,选择器选择性筛选。 Hello Hello Again And Again And One Last Time .closest()从元素本身开始,在DOM 树上逐级向上级元素匹配,并返回最先匹配的祖先元素。.closest().paren...
分类:
Web程序 时间:
2014-06-25 11:03:57
阅读次数:
264