Uninote
Uninote
用户根目录
每日点滴

<!DOCTYPE html> <html><head><meta http-equiv='Content-Type' content='text/html; charset=utf8'><title>todo zxy</title> <script> var g_resRoot = '../../__res/'; var g_json_outline = '{"children":[{"children":[],"level":1,"lvNumber":"1","text":"总结"},{"children":[],"level":1,"lvNumber":"2","text":"js 跨域"},{"children":[],"level":1,"lvNumber":"3","text":"html format prettify"},{"children":[],"level":1,"lvNumber":"4","text":"密码管理工具"},{"children":[],"level":1,"lvNumber":"5","text":"图片批量缩放处理"},{"children":[],"level":1,"lvNumber":"6","text":"定位问题优化"}],"level":0,"lvNumber":"","text":"todo zxy"}'; </script> <link rel='stylesheet' type='text/css' href='../../__res/common.css'><style>.s0{color:#000000;} .s1{color:#0000ff;} .s2{color:#c80000;} .s3{color:#000000;} .s4{color:#000000;} .s5{color:#000080;} .s6{color:#000000;} .s7{color:#0000ff;} .s8{color:#008000;} .s9{color:#000000;} .s10{color:#000000;} .s11{color:#0000ff;} .s12{color:#000000;} </style> </head><body> <script src='../../__res/util.js'></script><div id='outline'> <li><a href='#ol_0' style='font-weight:bold; font-size:22px'>todo zxy</a></li> <li> <a href='#ol_1' >总结</a></li> <li> <a href='#ol_2' >js 跨域</a></li> <li> <a href='#ol_3' >html format prettify</a></li> <li> <a href='#ol_4' >密码管理工具</a></li> <li> <a href='#ol_5' >图片批量缩放处理</a></li> <li> <a href='#ol_6' >定位问题优化</a></li> </div>

<pre id='ol_0' class='title'>todo zxy</pre> <pre><d class='s0'></d></pre> <pre><d class='s0'>跨域demo:baidu -》自己的server</d></pre> <pre><d class='s0'></d></pre> <h1 id='ol_1'>总结</h1> <pre><d class='s1'></d></pre> <pre><d class='s2'>给出参考资料的链接</d></pre> <pre><d class='s3'></d></pre> <pre><d class='s3'>windows 快捷键、键盘操作</d></pre> <pre><d class='s3'>phpstorm 调试 session</d></pre> <pre><d class='s3'><a href='https://blog.csdn.net/wang740209668/article/details/50588557'>https://blog.csdn.net/wang740209668/article/details/50588557</a></d></pre> <pre><d class='s3'></d></pre> <pre><d class='s3'><a href='http://php.net/manual/en/intro.dom.php'>http://php.net/manual/en/intro.dom.php</a></d></pre> <pre><d class='s3'>什么是dom?phpDOM</d></pre> <pre><d class='s3'></d></pre> <pre><d class='s3'>1、遍历,打印出tree结构:</d></pre> <pre><d class='s3'><img src='..\pic\fcb10c99b37f17e3b42e6f83516daea5.jpg' /></d><d class='s3'></d></pre> <pre><d class='s3'>==></d></pre> <pre><d class='s3'>section</d></pre> <pre><d class='s3'> div</d></pre> <pre><d class='s3'> div</d></pre> <pre><d class='s3'> form</d></pre> <pre><d class='s3'>...</d></pre> <pre><d class='s3'></d></pre> <pre><d class='s3'>2、给任意节点,打印出parent、children</d></pre> <pre><d class='s3'>3、查找id为intro.dom的节点</d></pre> <pre><d class='s3'></d></pre> <pre><d class='s3'>4、修改href为绝对链接:mynote.com</d></pre> <pre><d class='s3'><a href="<a href='https://edit.php.net/?project=PHP&perm=en/intro.dom.php'>https://edit.php.net/?project=PHP&perm=en/intro.dom.php</a>"></d></pre> <pre><d class='s3'><a href="ref.iconv.php" class="link"></d></pre> <pre><d class='s3'>5、移动form到 <div class="head">下面</d></pre> <pre><d class='s3'></d></pre> <pre><d class='s3'>什么是phpQuery?</d></pre> <pre><d class='s0'></d></pre> <h1 id='ol_2'>js 跨域</h1> <pre><d class='s1'><a href='https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage'>https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage</a></d></pre> <pre><d class='s0'></d></pre> <h1 id='ol_3'>html format prettify</h1> <pre><d class='s0'><a href='https://github.com/victorporof/Sublime-HTMLPrettify'>https://github.com/victorporof/Sublime-HTMLPrettify</a></d></pre> <pre><d class='s0'>close tag丢失检测</d></pre> <pre><d class='s4'><</d><d class='s5'>div</d><d class='s6'>></d></pre> <pre><d class='s6'> <</d><d class='s5'>pre</d><d class='s6'>></d></pre> <pre><d class='s6'> <</d><d class='s5'>d </d><d class='s7'>class=</d><d class='s8'>'s4'</d><d class='s6'>></d></pre> <pre><d class='s6'> </</d><d class='s5'>d</d><d class='s6'>></d></pre> <pre><d class='s6'> </</d><d class='s5'>pre</d><d class='s6'>></d></pre> <pre><d class='s6'> <</d><d class='s5'>pre</d><d class='s6'>></d></pre> <pre><d class='s6'></</d><d class='s5'>div</d><d class='s9'>> <--- 这里缺一个</</d><d class='s5'>pre</d><d class='s6'>></d></pre> <pre><d class='s6'></</d><d class='s5'>body</d><d class='s6'>></d></pre> <pre><d class='s0'></d></pre> <pre><d class='s0'>或者:通过浏览器加载,遍历dump出来,再比较</d></pre> <pre><d class='s10'></d></pre> <t id='a64a3579-ae71-4705-a793-063acd01d310'> <pre class='tnd_head'>lv1= lv2= type=</pre> <h1 id='ol_4'>密码管理工具</h1> <pre><d class='s10'>运行一下就自动post登录</d></pre> <pre><d class='s10'>其他第三方工具研究</d><d class='s11'></d></pre> </t> <pre><d class='s11'></d></pre> <t id='a6062f9d-fdce-4629-82a9-3627588a36f8'> <pre class='tnd_head'>lv1= lv2= type=</pre> <h1 id='ol_5'>图片批量缩放处理</h1> <pre><d class='s10'>E:\projects\misc\php_narrow_img</d><d class='s11'></d></pre> <pre><d class='s10'>批量的把禅道后台的图片进行缩放,避免大图不便于查看。</d></pre> <pre><d class='s10'>脚本参数:</d></pre> <pre><d class='s10'>1 srcDir</d></pre> <pre><d class='s10'>2 destDir:如果等于srcDir,则效果为覆盖原图</d></pre> <pre><d class='s10'>3 maxHeight:超过此高度进行缩放</d></pre> <pre><d class='s10'>4 备份路径:如果1/2参数相等,则将图片备份至此目录</d></pre> </t> <pre><d class='s11'></d></pre> <t id='34f94ff4-ec94-47b4-8847-1fe17758a2a9'> <pre class='tnd_head'>lv1= lv2= type=</pre> <h1 id='ol_6'>定位问题优化</h1> <pre><d class='s11'><img src='..\pic\eafab61aa8e3595dc732e8bf87a09cdf.jpg' /></d><d class='s0'></d></pre> <pre><d class='s0'></d></pre> <pre><d class='s0'>方案2:</d></pre> <pre><d class='s12'>不要fixed,鼠标移近后显示</d></pre> <pre><d class='s12'></d></pre> <pre><d class='s12'>方案3:</d></pre> <pre><d class='s10'>使用before,参考:</d></pre> <pre><d class='s10'><a href='https://doc.fastadmin.net/docs/index.html#在线演示-2'>https://doc.fastadmin.net/docs/index.html#在线演示-2</a></d></pre> <pre><d class='s10'>.content h2:before,</d></pre> <pre><d class='s10'>.content h3:before {</d></pre> <pre><d class='s10'> content: '';</d></pre> <pre><d class='s10'> display: block;</d></pre> <pre><d class='s10'> margin-top: -91px;</d></pre> <pre><d class='s10'> height: 91px;</d></pre> <pre><d class='s10'> visibility: hidden;</d></pre> <pre><d class='s10'>}</d></pre> <pre><d class='s12'></d></pre> </t> </body></html>

zxy_done

网站

点赞(0) 阅读(52) 举报
目录
标题