摘要:
//跨浏览器获取视口大小 function getInner(){ if(typeof window.innerWidth!='undefined'){ return{ width:window.innerWidth, height:window.innerHeight } }else{ retur 阅读全文
摘要:
<script type="text/javascript"> if($.isIE678) { var html5 = "abbr,article,aside,audio,canvas,datalist,details,dialog,eventsource,figure,footer,header, 阅读全文
摘要:
(function($) { function preLoad(imgs, options) { this.imgs = (typeof imgs 'string') ? [imgs] : imgs; this.opts = $.extend({}, preLoad.DEFAULTS, option 阅读全文
摘要:
<!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> //自定义模板 <script type="text/template" id="app_tpl"> <div class="product"> <div cl 阅读全文
摘要:
<!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> * { margin: 0; padding: 0; } html,body{ width: 100%; hei 阅读全文
摘要:
<!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> //css样式 <style type="text/css"> * { margin: 0; padding: 0; } body { background: 阅读全文
摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> body { background: #000; } #c1 { background: #fff; margin: 阅读全文