摘要:
在开发中经常遇到文件树这种需求,一般在网上搜到的,都是一些写的比较死的,不容易修改,很难达到自己的个性化需求,其实文件树也不难,只是用到的递归算法,从根节点一直递归到叶子节点,下面通过这个例子,给大家讲一下,文件树的实现。<!DOCTYPE html><html lang="en"><head> < 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> ul,li{ list-style: none; } ul{ padding-left:20px; } .close{ 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script src="js/jquery-1.9.1.min.js"></script></head><body><button c 阅读全文
摘要:
Date.prototype.FormatStr = function (fmt) { //author: meizz var o = { "y+": this.getFullYear(), "M+": (this.getMonth() + 1) < 10 ? "0" + (this.getMont 阅读全文
摘要:
function initLoading(){ var clas="A"+Math.round(Math.random()*10000); var mask="<div class="+clas+" style='position: fixed;width:100%;height:100%;left 阅读全文
摘要:
String.prototype.toWeek=function(){ var date = new Date(this); var week = ""; switch (date.getDay()) { case 0:week = "周日";break; case 1:week = "周一";br 阅读全文
摘要:
http://zhifubao.masao.top:8282/assets/index.html 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body><button id="aa">上传</button><form id="ajaxUploadform" act 阅读全文
摘要:
<!--[if lt IE 9]> <div class="topbar">百度云控制台不支持当前所使用的浏览器,推荐安装 <a href="https://www.google.com/chrome/" target="_blank">谷歌浏览器</a> 或者 <a href="http://ww 阅读全文
摘要:
function merge(target, source, overwrite) { // We should escapse that source is string // and enter for ... in ... if (!isObject$1(source) || !isObjec 阅读全文