07 2014 档案

摘要:无标题文档添加图片1 /*针对ie6,ie7*/ 阅读全文
posted @ 2014-07-31 14:55 Western Journey 阅读(361) 评论(0) 推荐(0) 编辑
摘要:100% Height CSS100% Height Demo内容内容内容内容此demo可实现container撑满浏览器的高度 阅读全文
posted @ 2014-07-23 11:01 Western Journey 阅读(565) 评论(0) 推荐(0) 编辑
摘要:1.找出数字数组中最大的元素(使用Math.max函数)2.转化一个数字数组为function数组(每个function都弹出相应的数字)3.给object数组进行排序(排序条件是每个元素对象的属性个数)var arr=[{a:1,b:3},{a:2},{a:3,b:4,c:5,d:3},{a:4,... 阅读全文
posted @ 2014-07-22 11:15 Western Journey 阅读(199) 评论(0) 推荐(0) 编辑
摘要:JS Bin function darwTrails(){ var canvas = document.getElementById('drawRect'); var context = canvas.getContext('2d'); context.save(); contex... 阅读全文
posted @ 2014-07-19 20:23 Western Journey 阅读(208) 评论(0) 推荐(0) 编辑
摘要:$(function(){ serviceHeight(); $('#seconds').hide(); inputFocus(); /*开始接受订单*/$('.btn_order').click(function(){ $('.pause').attr('checke... 阅读全文
posted @ 2014-07-11 21:40 Western Journey 阅读(503) 评论(0) 推荐(0) 编辑
摘要:function timeBuckets(){ var html = ''; var arr =[]; //'00:00--00:30','00:30--01:00' for(var i=0;i'+arr[2*i]+'' + ''+arr[2*i+1]+''; } return htm... 阅读全文
posted @ 2014-07-09 17:42 Western Journey 阅读(163) 评论(0) 推荐(0) 编辑
摘要:下拉列表 1111 2222 3333 4444 阅读全文
posted @ 2014-07-09 14:05 Western Journey 阅读(261) 评论(0) 推荐(0) 编辑
摘要:$(document).click(function(){ $('.checkval').find('li').each(function(){ $(this).click(function(){ var checkvalue... 阅读全文
posted @ 2014-07-08 17:30 Western Journey 阅读(492) 评论(0) 推荐(0) 编辑
摘要:$(function(){ serviceHeight(); $('#seconds').hide(); inputFocus();/*开始接受订单*/$('.btn_order').click(function(){ if( !$(this).hasClass('btn_s... 阅读全文
posted @ 2014-07-08 17:29 Western Journey 阅读(412) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示