放飞自我 LET DREAMS FLY

2017年8月18日 #

[f]智能获取浏览器版本UA信息的方法

摘要: var browser={ versions:function(){ var u = navigator.userAgent, app = navigator.appVersion; return {//移动终端浏览器版本信息 trident: u.indexOf('Trident') > -1, //IE内核 presto: u.indexOf(... 阅读全文

posted @ 2017-08-18 15:49 niuben 阅读(276) 评论(0) 推荐(0)

[f]计时器

摘要: // 计时器 function Timer(ele) { this._mStr = ''; this._sStr = ''; this._m = 0; this._s = 0; this._setTimer; this._init = function () { var... 阅读全文

posted @ 2017-08-18 15:47 niuben 阅读(144) 评论(0) 推荐(0)

导航