Skip to content

Commit

Permalink
updata
Browse files Browse the repository at this point in the history
  • Loading branch information
LanluZ committed May 22, 2021
1 parent 0598f97 commit 9549ca7
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,6 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/APlayer.min.css">
<script src="./js/color.js" type="text/javascript"></script>
<script src="./js/details.js" type="text/javascript"></script>

<script language="javascript" type="text/javascript"
src="http://apps.bdimg.com/libs/jquery/1.8.1/jquery.min.js">
</script>
<script type="text/javascript">
var a_idx = 0; jQuery(document).ready(function($)
{ $("body").click(function(e) { var a = new Array("像素","工厂","逻辑","手册");
var $i = $("<span/>").text(a[a_idx]);
a_idx = (a_idx + 1) % a.length; var x = e.pageX, y = e.pageY;
$i.css({ "z-index": 99, "top": y - 20, "left": x, "position": "absolute", "font-weight": "bold", "color": randomColor() }); $("body").append($i); $i.animate({ "top": y - 180, "opacity": 0 }, 1500, function(){ $i.remove(); }); }); });
</script>

</head>

---
Expand All @@ -32,10 +20,10 @@ a_idx = (a_idx + 1) % a.length; var x = e.pageX, y = e.pageY;
---

<div>
<button class="btn btn-warning" onclick="details(0)"><font color="#afdfe4"><b>逻辑方块</b></font></button>
<button class="btn btn-warning" onclick="details(1)"><font color="#afdfe4"><b>逻辑指令</b></font></button>
<button class="btn btn-warning" onclick="details(2)"><font color="#afdfe4"><b>关键字表</b></font></button>
<button class="btn btn-warning" onclick="details(3)"><font color="#afdfe4"><b>实例教学</b></font></button>
<button class="btn btn-warning" onclick="details(0)"><font color="#f36c21"><b>逻辑方块</b></font></button>
<button class="btn btn-warning" onclick="details(1)"><font color="##f36c21"><b>逻辑指令</b></font></button>
<button class="btn btn-warning" onclick="details(2)"><font color="##f36c21"><b>关键字表</b></font></button>
<button class="btn btn-warning" onclick="details(3)"><font color="##f36c21"><b>实例教学</b></font></button>
</div>

<p></p>
Expand Down

0 comments on commit 9549ca7

Please sign in to comment.