Welcom to 评论 - lizhenqiu blog!
#799
#800
跟踪: TransferSocket.cpp(968): Close() caller=0x022d8ad0 错误: 无法取得目录列表
#801
p{ width:200px;white-space: nowrap;overflow: hidden; text-overflow: ellipsis; }
div { heigh:60px;line-height:20px;overflow : hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;}
#802
#803
#804
#805
#806
#807
<object type="application/x-shockwave-flash" style="outline:none;" data="https://out.img.pan.lizhenqiu.com/9ce05d9d5af892d8a48c626ce4b1ce7f" width="180" height="135"><param name="movie" value="https://out.img.pan.lizhenqiu.com/9ce05d9d5af892d8a48c626ce4b1ce7f"></param><param name="AllowScriptAccess" value="always"></param><param name="wmode" value="opaque"></param></object>
#808
#809
<style> .m{background: url(https://out.img.pan.lizhenqiu.com/Fru0NMubSI53GXxWAYULNkKKnVXK) no-repeat center; width: 138px; height: 138px;} .m:hover { background: url(https://out.img.pan.lizhenqiu.com/Fj7uYEVHH5bw-guO6lBYQEnOGyEP) no-repeat center; } .h{background: url(https://out.img.pan.lizhenqiu.com/FnvTqj5e3SiIHAYZHi9t9U2KIvon) no-repeat center; width: 138px; height: 138px; }.h:hover { background: url(https://out.img.pan.lizhenqiu.com/Fq1sOrW-GrE8H7bK-2IGt10kg-UK) no-repeat center; } </style> <div class="m"></div><div class="h"></div>
<style>#adRight_11 .right_box { display: block; width: 460px; height: 1080px; overflow: hidden; position: absolute; left: 0; top: 0; background: #fff; }#adLeft_11 .left_box { display: block; width: 460px; height: 1080px; overflow: hidden; position: absolute; right: 0; top: 0; background: #fff; } #adLeft_11 .left_box a, #adRight_11 .right_box a { display: block; float: left; width: 138px; height: 138px; background: url(https://out.img.pan.lizhenqiu.com/Fllim5n1OKv1Y_FObxVQR90Lzl8l) no-repeat; }#adLeft_11 .left_box a:hover, #adRight_11 .right_box a:hover { background-position: 0 -138px; } </style> <div class="news_box" style=" width: 900px;height: 1000px;margin: auto;background: green;position: relative;z-index: 99;"> 正文内容 </div> <script type="text/javascript" src="https://lizhenqiu.com/templates/default/jquery.min.js"></script> <script>// 双11广告 $(function(){ if($(".news_box").length > 0){ var adLeft = document.createElement("div"); adLeft.id = "adLeft_11"; var adRight = document.createElement("div"); adRight.id = "adRight_11"; var adHtml = ""; for(var i=0;i<25;i++){ adHtml +='<a href="http://lizhenqiu.com/" target="_blank"></a>'; }; $(adLeft).html('<div class="left_box">'+adHtml+'</div>'); $(adRight).html('<div class="right_box">'+adHtml+'</div>'); $(".news_box").after($(adLeft)).after($(adRight)); }; function resize(){ // 背景图 var oWLength = $(window).width(); var oAlength = parseInt((oWLength - 1000)/2); $("#adLeft_11,#adRight_11").css('width',oAlength+'px'); }; resize(); window.onresize = function(){ resize(); }; $(window).scroll(function () { var scrolltoph = $(window).scrollTop(); var offTop = 0;//$("#navim").offset().top + 45 +'px'; if (scrolltoph > 187) { $("#adLeft_11,#adRight_11").css('top','0px'); } else { $("#adLeft_11,#adRight_11").css('top',offTop); } }); })</script>
#810
#811
var add = (a) => (b => (c => (a+b+c)));
#812
#813
vertical-align:top/bottom/text-top/text-bottom
#814
for (var i = 0; i < 5; i++) { console.log(i); //直接输出 0 到 4 } for (var i = 0; i < 5; i++) { setTimeout(function() { console.log(i); }, 1000 * i); //输出一个 5,然后每隔一秒再输出一个 5,一共 5 个 5 } for (var i = 0; i < 5; i++) { (function(i) { setTimeout(function() { console.log(i); }, i * 1000); //输出 0 到 4 })(i); } for (var i = 0; i < 5; i++) { (function() { setTimeout(function() { console.log(i); }, i * 1000); })(i); //输出 5 } for (var i = 0; i < 5; i++) { setTimeout((function(i) { console.log(i); })(i), i * 1000); //立马输出 0 到 4 } /* 这里给 setTimeout 传递了一个立即执行函数。setTimeout 可以接受函数或者字符串作为参数,那么这里立即执行函数是个 undefined ,也就是说等价于: setTimeout(undefined, ...); 而立即执行函数会立即执行,那么应该是立马输出的。 */ setTimeout(function() { console.log(1) }, 0); new Promise(function executor(resolve) { console.log(2); for( var i=0 ; i<10000 ; i++ ) { i == 9999 && resolve(); } console.log(3); }).then(function() { console.log(4); }); console.log(5); /* 首先先碰到一个 setTimeout,于是会先设置一个定时,在定时结束后将传递这个函数放到任务队列里面,因此开始肯定不会输出 1 。 然后是一个 Promise,里面的函数是直接执行的,因此应该直接输出 2 3 。 然后,Promise 的 then 应当会放到当前 tick 的最后,但是还是在当前 tick 中。 因此,应当先输出 5,然后再输出 4 。 最后在到下一个 tick,就是 1 。 “2 3 5 4 1” */
#815
格式:border-top-left-radius:水平角半径/垂直角半径;
#816
function scrollToEnd(){//滚动到底部 var h = $(document).height()-$(window).height(); $(document).scrollTop(h); }
#817
确定要清除编辑框内容吗?
该删除操作将不可恢复。
删除 取消
激活Windows
转到"设置"以激活Windows。
#799
#800
跟踪: TransferSocket.cpp(968): Close() caller=0x022d8ad0 错误: 无法取得目录列表
需要关闭防火墙,防火墙例外通行端口设置不对。还是
解决开启服务器防火墙导致ftp不能连接的问题
在防火墙设置的“高级”选项卡中的“网络连接设置”--“本地连接”--“设置”中添加了“FTP服务器”一项
在防火墙设置的“例外”选项卡中添加程序: C:\WINDOWS\system32\inetsrv\inetinfo.exe,确定即可!
#801
单行文本溢出隐藏
p{ width:200px;white-space: nowrap;overflow: hidden; text-overflow: ellipsis; }
指定行数、多行溢出隐藏(兼容ie7)
div { heigh:60px;line-height:20px;overflow : hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;}
#802
#803
褒贬是买主,喝彩是闲人。
不论做买卖还是找工作面试,或者是谈对象。这是不变的金科玉律。
做买卖时对你的东西挑三拣四的,都是存心想买的。
你去面试,对你能力和专业程度提出问题顾虑和担忧的,都是有意向聘用你的。只要面试官说:你各方面都很好,你很合适,你很优秀,回去等消息我们讨论一下。别想了,基本黄了。
你谈对象,姑娘跟你说“你真坏你真坏”,基本成了。姑娘和你说“你是个好人”,肯定吹了。
褒贬是买主,喝彩是闲人。
与之对应的还有一句话,别人背后夸你的话能信一半,当面夸你的话一个字都不要信。
#804
#805
#806
#807
<object type="application/x-shockwave-flash" style="outline:none;" data="https://out.img.pan.lizhenqiu.com/9ce05d9d5af892d8a48c626ce4b1ce7f" width="180" height="135"><param name="movie" value="https://out.img.pan.lizhenqiu.com/9ce05d9d5af892d8a48c626ce4b1ce7f"></param><param name="AllowScriptAccess" value="always"></param><param name="wmode" value="opaque"></param></object>
abowman SWiX SWF编辑工具
#808
#809
<style> .m{background: url(https://out.img.pan.lizhenqiu.com/Fru0NMubSI53GXxWAYULNkKKnVXK) no-repeat center; width: 138px; height: 138px;} .m:hover { background: url(https://out.img.pan.lizhenqiu.com/Fj7uYEVHH5bw-guO6lBYQEnOGyEP) no-repeat center; } .h{background: url(https://out.img.pan.lizhenqiu.com/FnvTqj5e3SiIHAYZHi9t9U2KIvon) no-repeat center; width: 138px; height: 138px; }.h:hover { background: url(https://out.img.pan.lizhenqiu.com/Fq1sOrW-GrE8H7bK-2IGt10kg-UK) no-repeat center; } </style> <div class="m"></div><div class="h"></div>
天猫 淘宝 京东等电商 双十一 11.11光棍节 购物节日 背景平铺 抢红包 ad 广告 素材 js html源码css特效
<style>#adRight_11 .right_box { display: block; width: 460px; height: 1080px; overflow: hidden; position: absolute; left: 0; top: 0; background: #fff; }#adLeft_11 .left_box { display: block; width: 460px; height: 1080px; overflow: hidden; position: absolute; right: 0; top: 0; background: #fff; } #adLeft_11 .left_box a, #adRight_11 .right_box a { display: block; float: left; width: 138px; height: 138px; background: url(https://out.img.pan.lizhenqiu.com/Fllim5n1OKv1Y_FObxVQR90Lzl8l) no-repeat; }#adLeft_11 .left_box a:hover, #adRight_11 .right_box a:hover { background-position: 0 -138px; } </style> <div class="news_box" style=" width: 900px;height: 1000px;margin: auto;background: green;position: relative;z-index: 99;"> 正文内容 </div> <script type="text/javascript" src="https://lizhenqiu.com/templates/default/jquery.min.js"></script> <script>// 双11广告 $(function(){ if($(".news_box").length > 0){ var adLeft = document.createElement("div"); adLeft.id = "adLeft_11"; var adRight = document.createElement("div"); adRight.id = "adRight_11"; var adHtml = ""; for(var i=0;i<25;i++){ adHtml +='<a href="http://lizhenqiu.com/" target="_blank"></a>'; }; $(adLeft).html('<div class="left_box">'+adHtml+'</div>'); $(adRight).html('<div class="right_box">'+adHtml+'</div>'); $(".news_box").after($(adLeft)).after($(adRight)); }; function resize(){ // 背景图 var oWLength = $(window).width(); var oAlength = parseInt((oWLength - 1000)/2); $("#adLeft_11,#adRight_11").css('width',oAlength+'px'); }; resize(); window.onresize = function(){ resize(); }; $(window).scroll(function () { var scrolltoph = $(window).scrollTop(); var offTop = 0;//$("#navim").offset().top + 45 +'px'; if (scrolltoph > 187) { $("#adLeft_11,#adRight_11").css('top','0px'); } else { $("#adLeft_11,#adRight_11").css('top',offTop); } }); })</script>
#810
#811
var add = (a) => (b => (c => (a+b+c)));
#812
#813
原因:图片文字等inline元素默许是跟父级元素的baseline对齐,而baseline又和父级底边有必定间距
解决方案 就是可以在image那里设置
vertical-align:top/bottom/text-top/text-bottom
#814
for (var i = 0; i < 5; i++) { console.log(i); //直接输出 0 到 4 } for (var i = 0; i < 5; i++) { setTimeout(function() { console.log(i); }, 1000 * i); //输出一个 5,然后每隔一秒再输出一个 5,一共 5 个 5 } for (var i = 0; i < 5; i++) { (function(i) { setTimeout(function() { console.log(i); }, i * 1000); //输出 0 到 4 })(i); } for (var i = 0; i < 5; i++) { (function() { setTimeout(function() { console.log(i); }, i * 1000); })(i); //输出 5 } for (var i = 0; i < 5; i++) { setTimeout((function(i) { console.log(i); })(i), i * 1000); //立马输出 0 到 4 } /* 这里给 setTimeout 传递了一个立即执行函数。setTimeout 可以接受函数或者字符串作为参数,那么这里立即执行函数是个 undefined ,也就是说等价于: setTimeout(undefined, ...); 而立即执行函数会立即执行,那么应该是立马输出的。 */ setTimeout(function() { console.log(1) }, 0); new Promise(function executor(resolve) { console.log(2); for( var i=0 ; i<10000 ; i++ ) { i == 9999 && resolve(); } console.log(3); }).then(function() { console.log(4); }); console.log(5); /* 首先先碰到一个 setTimeout,于是会先设置一个定时,在定时结束后将传递这个函数放到任务队列里面,因此开始肯定不会输出 1 。 然后是一个 Promise,里面的函数是直接执行的,因此应该直接输出 2 3 。 然后,Promise 的 then 应当会放到当前 tick 的最后,但是还是在当前 tick 中。 因此,应当先输出 5,然后再输出 4 。 最后在到下一个 tick,就是 1 。 “2 3 5 4 1” */
#815
格式:border-top-left-radius:水平角半径/垂直角半径;
#816
function scrollToEnd(){//滚动到底部 var h = $(document).height()-$(window).height(); $(document).scrollTop(h); }
#817
网上流行护眼色的RGB值和颜色代码
在搜索引擎搜“护眼色”,就会搜出一堆关于保护眼睛的屏幕颜色文章,说的统统是一种颜色,有点像绿豆沙的颜色。方法就是在屏幕设置里,
色调:85;饱和度:123;亮度:205,
R: 199; G: 237; B:204;
181 229 181 ??IN WINDOWS
颜色代码是: #C7EDCC
另外: 个人觉得电脑管家的护眼色更加好用。 (可以通过QQ截图查看当前的颜色值)
R: 204 G: 232 B: 207