`
文章列表
var DateConversion = (function() { var constants = { LUNARINFO : new Array( /* 1900 */ 0x04bd8, 0x04ae0, 0x0a570, 0x054d5, 0x0d260, 0x0d950, 0x16554, 0x056a0, 0x09ad0, 0x055d2, 0x04ae0, 0x0a5b6, 0x0a4d0, 0x0d250, ...
解压缩 # mkdir /usr/local/tomcat # cd /usr/local/tomcat # tar -zxvf /tpsys/install/apache-tomcat-7.0.77.tar.gz 生成链接以便版本升级 # ln -s apache-tomcat-7.0.77 server 启动Tomcat # cd /usr/local/tomcat/server/bin # ./startup.sh Using CATALINA_BASE: /usr/local/tomcat/server Using CATALINA_HOME: /usr/ ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; char ...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="Generator" content="EditPlus®"> <meta name="Author" content=""> <meta name="Keywords" content=" ...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI 放置(Droppable)</title> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"> ...

HTML5 CANVAS 骰子

<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="Generator" content="EditPlus®"> <meta name="Author" content=""> <meta name="Keywords" content=" ...
<script> var xb = { evtHash: [], ieGetUniqueID: function(_elem) { if (_elem === window) { return 'theWindow'; } else if (_elem === document) { return 'theDocument'; } else { return _elem.uniqueID; } }, addEvent: function(_elem, _evtName, _fn, _useCapture) { ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> 多行文字实现垂直居中 </title> <meta http-equiv="Con ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title> New Document </title> <meta name="Generator" content="EditPlus"> <meta name="Aut ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>selected</title> <script type="text/javascript& ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title> New Document </title> <meta name="Generator" content="EditPlus"> <meta name="A ...
RelativeLayout用到的一些重要的属性:        第一类:属性值为true或false     android:layout_centerHrizontal  水平居中      android:layout_centerVertical   垂直居中     android:layout_centerInparent    相对于父元素完全居中     android:layout_alignParentBottom 贴紧父元素的下边缘     android:layout_alignParentLeft   贴紧父元素的左边缘     android:layout_al ...
闲来无事写一个基于HTML5 audio js播放器. 只针对Chrome浏览器. 用于播放本地音乐. 音乐界面部分参考别人. 到用js继承,接口,一些简单的设计模式. // List接口 var IContainer = new Interface('IContainer', [ 'add', 'get', 'removeIndex', 'remove', 'clear', 'size', 'isEmpty' ]); // 实体接口 var IEntity = new Interface('IEntity', [ 'getSrc', 'getName', 'setSize' ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title> New Document </title> <style> html { font-size:12px; } /*body { margin:50px; }*/ .clearfix:after { content ...
var css = {}; css.util = { setStyle : function(el, prop, val) { document.getElementById(el[i]).style[prop] = val }, setCss : function(el, style) { for ( var prop in style) { if (!style.hasOwnProperty(prop)) continue; css.util.setStyle(el, prop, style[prop]); } } }
Global site tag (gtag.js) - Google Analytics