jQuery仿电脑桌面图标右键菜单代码

jQuery仿电脑桌面图标右键菜单代码

这是一款简单实用的基于jQuery的Windows电脑桌面软件图标展示,支持右键菜单编辑操作功能代码。

使用方法
在页面引入以下html代码

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<div id="desktop">
<div class="lantern"></div>
<ul class="list">
<li data-href="http://www.baidu.com/"><img src="images/logo.png" alt="#"><span>Website</span></li>
<li data-href="http://www.51qianduan.com/"><img src="images/github.png" alt="#"><span>Github</span></li>
<li data-href="https://mail.qq.com/cgi-bin/loginpage"><img src="images/email.png" alt="#"><span>Contact me</span></li>
<li data-event="about"><img src="images/tip.png" alt="#"><span>About me</span></li>
<li data-href="http://www.51qianduan.com/user/32325"><img src="images/javascript.jpg" alt="#"><span>More</span></li>
</ul>
<div class="date">
<div class="date-wrapper">
<div class="mask"></div>
<div class="left"></div>
<div class="right">
<p class="time">21 : 13 : 34</p>
<p class="day">20170817</p>
<p class="week">星期四</p>
</div>
</div>
<div class="close"></div>
</div>
<div class="about">
<ul>
<li>Coder: Summer</li>
<li>Date: 2017.08.24</li>
<li>Email: 1005526074@qq.com</li>
<li>请在转载时保留作者信息,多谢。</li>
</ul>
<div class="mask"></div>
<div class="close"></div>
</div>
<div class="dragSelect"></div>
<div class="contextmenu">
<div class="header">Do something.</div>
<ul>
<li data-value="create"><img src="images/add.png" alt="#">Create file</li>
<li data-value="cancel"><img src="images/cancel.png" alt="#">Cancel</li>
<li data-value="edit"><img src="images/edit.png" alt="#">Edit file</li>
<li data-value="refresh"><img src="images/refresh.png" alt="#">Refresh</li>
<li data-value="trash"><img src="images/trash.png" alt="#">Delete file</li>
</ul>
</div>
<div class="dialog">
<div class="cont">
<input type="text" placeholder="Title Name">
<input type="text" placeholder="Images URL">
<input type="text" placeholder="Address URL">
<span>Confirm</span>
<span>Cancel</span>
</div>
</div>
</div>
<script src="js/tools.js"></script>
<script src="js/tween.js"></script>
<script src="js/requestAnimate.js"></script>
<script src="js/startMove.js"></script>
<script src="js/object.js"></script>
<script src="js/nprogress.js"></script>
<script src="js/index.js"></script>
   
<!-- Lantern -->
<script src="js/jquery.min.js"></script>
<script src="js/velocity.min.js"></script>
<script src="js/lantern.js"></script>

文件信息:

    1

    发表评论