window对文件夹的操作主要包括移动/剪切/复制,本篇文章主要用jQuery来实现,下面一起来了解一下把。
1.先看下效果吧!
2.在添加一个index.html
<html lang="en">
<Meta charset="UTF-8">
<script src="./jquery-1.12.4.min.js">
<ul class="test-Box">
<div style="clear: both"></div>
<li><img src="./default<a href="https://www.jb51.cc/tag/logo/" target="_blank" class="keywords">logo</a>.jpg" alt=""></li>
<li><img src="./default<a href="https://www.jb51.cc/tag/logo/" target="_blank" class="keywords">logo</a>.jpg" alt=""></li>
<li><img src="./default<a href="https://www.jb51.cc/tag/logo/" target="_blank" class="keywords">logo</a>.jpg" alt=""></li>
<li><img src="./default<a href="https://www.jb51.cc/tag/logo/" target="_blank" class="keywords">logo</a>.jpg" alt=""></li>
<li><img src="./default<a href="https://www.jb51.cc/tag/logo/" target="_blank" class="keywords">logo</a>.jpg" alt=""></li>
<li><img src="./default<a href="https://www.jb51.cc/tag/logo/" target="_blank" class="keywords">logo</a>.jpg" alt=""></li>
<li><img src="./default<a href="https://www.jb51.cc/tag/logo/" target="_blank" class="keywords">logo</a>.jpg" alt=""></li>
<li><img src="./default<a href="https://www.jb51.cc/tag/logo/" target="_blank" class="keywords">logo</a>.jpg" alt=""></li>
<li><img src="./default<a href="https://www.jb51.cc/tag/logo/" target="_blank" class="keywords">logo</a>.jpg" alt=""></li>
<li><img src="./default<a href="https://www.jb51.cc/tag/logo/" target="_blank" class="keywords">logo</a>.jpg" alt=""></li>
<li><img src="./default<a href="https://www.jb51.cc/tag/logo/" target="_blank" class="keywords">logo</a>.jpg" alt=""></li>
<li><img src="./default<a href="https://www.jb51.cc/tag/logo/" target="_blank" class="keywords">logo</a>.jpg" alt=""></li>
<li><img src="./default<a href="https://www.jb51.cc/tag/logo/" target="_blank" class="keywords">logo</a>.jpg" alt=""></li>
<div style="clear: both"></div>