11 2013 档案

摘要:一、Javascript源码 if (!window.jasen.core.Position) { window.jasen.core.Position = {}; } function Size(width, height) { this.width = parseFloat(width); this.height = parseFloat(height); } Size.prototype.toString = function () { return "width=" + this.width + ";... 阅读全文
posted @ 2013-11-09 01:29 jasen.kin 阅读(1512) 评论(1) 推荐(0) 编辑
摘要:一、CSS兼容代码 .transparent { filter:alpha(opacity=50); /* IE */ -moz-opacity:0.5; /* FireFox old version*/ -khtml-opacity: 0.5; /* Sarfari old version */ opacity: 0.5; /* FireFox */ } 二、Javascript兼容代码 if (!window.jasen.core.Util) { window.j... 阅读全文
posted @ 2013-11-08 01:00 jasen.kin 阅读(3868) 评论(3) 推荐(0) 编辑
摘要:一、前言 1 function ConvertEvent(e, element) { 2 var event = e || window.event; 3 var resultEvent = { 4 event: event, 5 type: event.type, 6 target: event.target || event.srcElement, 7 relatedTarget: event.relatedTarget || event.fromElem... 阅读全文
posted @ 2013-11-06 23:52 jasen.kin 阅读(796) 评论(0) 推荐(0) 编辑
摘要:一、前言(function (window) { if (!window.jasen) { window.jasen = {}; } if (!window.jasen.core) { window.jasen.core = {}; } //------------------------------------------------ // XML operation below. //------------------------------------------------ if (!window.jasen... 阅读全文
posted @ 2013-11-05 23:44 jasen.kin 阅读(665) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示