摘要:
$.fn.extend({ autoHeight: function() { return this.each(function() { var $this = jQuery(this); if(!$this.attr('_initAdjustHeight')) { $this.attr('_... 阅读全文
摘要:
移动端双击回到顶部: var touchtime = new Date().getTime(); $(".header").on("click", function() { if(new Date().getTime() - touchtime < 500) { console.log("dblcl 阅读全文
摘要:
1.在代码编辑器中(如Notepad++)打开网站头部模板 2.使用<!––[if IE]>语句添加升级提示,如: 判断是否IE(包含使用IE内核的浏览器) <!––[if IE]>你正在使用的是IE浏览器<![endif]––> 判断当前浏览器是否某个IE版本,以下例子是指等于IE6。如果我们要特 阅读全文