11 2015 档案

摘要:git clone git@github.com:jiet213/UI_main_function.git //复制远程文件仓库到本地git status //查看项目状态信息git add . //增加本地修改文件git commit -m . //提交本地修改文件git push origin ... 阅读全文
posted @ 2015-11-17 15:22 jiet323 阅读(99) 评论(0) 推荐(0)
摘要://tab切换 tabFunc: function(config) { //tab默认属性 var defaults = { main: ".J-tab", //tab最外层盒子的class menu: ".J-tab-menu", //ul的class content: ".J-tab-... 阅读全文
posted @ 2015-11-11 10:20 jiet323 阅读(265) 评论(0) 推荐(0)
摘要:/**策略模式的表单验证*//**************策略对象******************/var strategies = { isNonEmpty: function(value, errorMsg) { if (value === '') { return errorMsg; };... 阅读全文
posted @ 2015-11-11 10:20 jiet323 阅读(223) 评论(0) 推荐(0)
摘要:/** 处理placeholder* 处理对象:所以带有placeholder属性的input* 处理逻辑:动态改变value值及颜色*/(function(jQuery) { jQuery.fn.placeholder = function() { var i = document.createE... 阅读全文
posted @ 2015-11-11 10:15 jiet323 阅读(124) 评论(0) 推荐(0)
摘要:1.第一种 //退订倒计时 timeOut:function(nowDay,endDay){ var timeLeave = (endDay - nowDay) / 1000, interval = 0; interval = setInterval(function() { inte... 阅读全文
posted @ 2015-11-11 10:11 jiet323 阅读(117) 评论(0) 推荐(0)