首先,在HTML文件中引入mootools.js、
mootools-more.js、mootools-core.js,然后就能使用mootools封装的一些特性。几乎类似于面向对象。mootools使用如下形式构建对象:1
var Cat = new Class(2 {3 initia...
分类:
Web程序 时间:
2014-05-19 20:25:36
阅读次数:
429
(转)C++中extern “C”含义深层探索1.引言 C++语言的创建初衷是“a better
C”,但是这并不意味着C++中类似C语言的全局变量和函数所采用的编译和连接方式与C语言完全相同。作为一种欲与C兼容的语言,C++保留了一部分过程式语言的特点(被世人称为“不彻底地面向对象”),因而它可....
分类:
编程语言 时间:
2014-05-19 20:09:52
阅读次数:
335
#!/bin/sh# mysql data backup script## use mysqldump
--help,get more
detail.#BakDir=/root/back/mysqlLogFile=/root/back/mysql/mysqlbak.logDATE=`date
+%Y...
分类:
数据库 时间:
2014-05-19 10:58:24
阅读次数:
360
介绍ViewFlipper
ViewFlipper
Simple ViewAnimator that will animate between two or more views that have been added to it. Only one child is shown at a time. If requested, can automatically flip betwee...
分类:
其他好文 时间:
2014-05-15 18:37:44
阅读次数:
356
在eclipse启动tomcat时遇到超时45秒的问题:
Server Tomcat v7.0 Server at localhost was unable to startwithin 45 seconds. If the server requires more time, try increasingthe timeout in the server editor.
网上解决办法...
分类:
其他好文 时间:
2014-05-15 18:31:36
阅读次数:
242
configure: error: mysql configure failed. Please check config.log for more information....
分类:
数据库 时间:
2014-05-15 05:15:02
阅读次数:
318
【题目】
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)
P A H N
A P L S I I G
Y I R
And then read line by line: "PAHNAPLSI...
分类:
其他好文 时间:
2014-05-15 04:30:57
阅读次数:
313
HDU 1561 The more ,The Better...
分类:
其他好文 时间:
2014-05-15 02:57:01
阅读次数:
182
Difference Between Mod_Python & Mod_Wsgi |
eHow x YES NO Why not? Thanks for helping us to make eHow better for everyone.
eHow Computers Computer Netw...
分类:
编程语言 时间:
2014-05-15 02:12:12
阅读次数:
390
【题目】
Implement regular expression matching with support for '.' and '*'.
'.' Matches any single character.
'*' Matches zero or more of the preceding element.
The matching should cover the entire input string (not partial).
The function prototype shoul...
分类:
其他好文 时间:
2014-05-14 21:36:52
阅读次数:
348