结论:cancelBubble是IE8及以下的浏览器阻止冒泡的一个布尔值类型的属性(非方法),stopPropagation()是其他标准浏览器和IE9及以上版本IE浏览器的阻止冒泡的一个方法cancelBubble非标准,逐渐会被淘汰,所以提倡使用stopPropagation()方法,而把can...
分类:
其他好文 时间:
2015-08-17 13:39:48
阅读次数:
107
Be sure your pc has a web cam. Of all notebooks, the web cam can look just like a little pit in the top edge of the display. Most notebook computers m...
分类:
其他好文 时间:
2015-08-17 11:38:21
阅读次数:
286
Digging
Time Limit: 2 Seconds Memory Limit: 65536 KB
When it comes to the Maya Civilization, we can quickly remind of a term called the end of the world. It's not difficult to understand wh...
分类:
其他好文 时间:
2015-08-17 06:33:20
阅读次数:
160
今天又被上了一堂课,任何事情都不要把自己看的太重要,包括爱情,哎,这次是真的放下了,也许是电视剧看多了。 努力, 不会再找借口了,再多的借口对别人来说就是死皮赖脸了。 什么都不想写了,这对整个人生来说什么都不是。 谁也不会影响谁。 什么乱七八糟的啊。 思维紊乱了。 睡觉。
分类:
其他好文 时间:
2015-08-17 00:58:42
阅读次数:
120
Description
Now you get a number N, and a M-integers set, you should find out how many integers which are small than N, that they can divided exactly by any integers in the set. For example, N=12...
分类:
其他好文 时间:
2015-08-16 23:08:02
阅读次数:
141
Multiply StringsGiven two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large ...
分类:
其他好文 时间:
2015-08-16 21:11:48
阅读次数:
95
u Calculate e
Problem Description
A simple mathematical formula for e is
where n is allowed to go to infinity. This can actually yield very accurate approximations of e using relatively...
分类:
其他好文 时间:
2015-08-16 18:26:14
阅读次数:
107
Memory Limit: 32 MB
In the following figure you can see a rectangular card. Thewidth of the card is
W and length of the card is L and thicknessis zero. Four
(x*x) squares are cut from the...
分类:
其他好文 时间:
2015-08-16 16:46:15
阅读次数:
121
DescriptionYou are given two pots, having the volume of A and B liters respectively. The following operations can be performed:FILL(i) fill the pot i ...
分类:
其他好文 时间:
2015-08-16 16:28:26
阅读次数:
110
Design a data structure that supports the following two operations:void addWord(word)bool search(word)search(word) can search a literal word or a regu...
分类:
其他好文 时间:
2015-08-16 16:25:30
阅读次数:
101