摘要:
//var arr = new Array(1,12,4,124.45,8,99998,456);var arr = [1,12,4,124.45,8,99998,456];var a = Math.max.apply(Math,arr);var b = Math.max.apply({},arr) 阅读全文
posted @ 2016-02-16 11:13
晴明桑
阅读(143)
评论(0)
推荐(0)
摘要:
<!doctype html> <!--[if lt IE 8[>小于IE8的版本可见<![endif]> <!--[if lte IE 8]> 小于等于IE8版本可见<![endif]--> <!--[if IE 8]>只有IE8版本可见<![endif]--> <!--[if gt IE 8]> 阅读全文
posted @ 2016-02-16 01:26
晴明桑
阅读(179)
评论(0)
推荐(0)
摘要:
function getLocation(callback){ if(navigator.geolocation){ navigator.geolocation.getCurrentPosition( function(p){ callback(p.coords.latitude, p.coords 阅读全文
posted @ 2016-02-16 01:05
晴明桑
阅读(115)
评论(0)
推荐(0)
摘要:
Date.prototype.Format = function(formatStr) { var str = formatStr; var Week = ['日', '一', '二', '三', '四', '五', '六']; str = str.replace(/yyyy|YYYY/, this 阅读全文
posted @ 2016-02-16 01:03
晴明桑
阅读(151)
评论(0)
推荐(0)
浙公网安备 33010602011771号