JavaScript
文章平均质量分 77
九月
化蝶寻花
展开
-
Javascript实现阳历转阴历
/*! 阳历转阴历 kael 2012-05-30 */ var Calendar = function (date) { this.date = date ? date : new Date(); this.cDate = { toString : function () { return this.tg + this.dz + '年(' + this.sx + ')' + th原创 2012-06-01 15:52:58 · 629 阅读 · 0 评论 -
scrollTop
scrolltop = (((t = document.documentElement) || (t = document.body.parentNode)) && typeof t.scrollTop == ‘number’ ? t : document.body).scrollTop转载 2012-11-25 10:57:50 · 293 阅读 · 0 评论