-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (65 loc) · 3.5 KB
/
index.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html>
<head>
<title>My D2R Items</title>
<link rel="icon" href="./touch-icon.png" type="image/png">
<script src="function.js"></script>
<link rel="stylesheet" href="style.css">
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
</head>
<body class="custom-cursor">
<div class="navbar">
<a href="index.html" class="home-link">
<img
src="https://blz-contentstack-images.akamaized.net/v3/assets/blt45749e0fed8aa592/blte66a3fe9f4e3ea89/6062202df31b360cc84def07/diablo2-logo-lg.png"
alt="Home" class="navbar-logo">
</a>
<!-- Add your navigation links here -->
<a href="./runes/runes.html">Runes</a>
<a href="./runewords/runewords.html">RuneWords</a>
<a href="./uniques/uniques.html">Uniques</a>
<a href="./base/base.html">Base</a>
</div>
<!-- Image 1 to open the text box -->
<img src="./images/npc/cain.png" id="cain" alt="Open Scrolling Text 1" class="trigger-image" style="cursor: pointer;">
<!-- Text box 1 with scrolling text -->
<div class="scrolling-text-container" id="scrolling-text-box-1" style="display: none;">
<div class="scrolling-text">整个开发过程可以说极度依赖ChatGPT,GPT对于前端的问题掌握很深。
只要把基础逻辑阐述清楚,再加上人为一定的修改,一定能达到可靠的结果。整个过程学到的还是之前
的display:none与display:block。这是一种不占用空间的存储div内容的方式,在需要显示的时候调出来即可。
</div>
<button class="close-text-box">× </button>
</div>
<!-- Image 2 to open the text box -->
<img src="./images/npc/asheara.png" id="asheara" alt="Open Scrolling Text 2" class="trigger-image"
style="cursor: pointer;">
<!-- Text box 2 with scrolling text -->
<div class="scrolling-text-container" id="scrolling-text-box-2" style="display: none;">
<div class="scrolling-text">整体风格的构想,刚开始的几个网页还是照葫芦画瓢。后来我决定借鉴游戏中的一些经典ui
作为网页的一部分。比如hover能显示很帅的装备信息,以及button点击显示页面,这些基本都用一个block就可以搞定。
再有就是本页面的点击出现滚动聊天框。</div>
<button class="close-text-box">× </button>
</div>
<!-- Image 3 to open the text box -->
<img src="./images/npc/tyreal.png" id="tyreal" alt="Open Scrolling Text 3" class="trigger-image"
style="cursor: pointer;">
<!-- Text box 3 with scrolling text -->
<div class="scrolling-text-container" id="scrolling-text-box-3" style="display: none;">
<div class="scrolling-text">暗黑2玩着玩着心血来潮搭一个网页记录自己打到的所有牛逼的东西。<br>暗黑2后期玩法
相比暗黑4真是多了不少,多了奶牛关和boss关,并且几乎每一种角色的build都有自己适合的场所。再加上交易机制
,大家可以轻松地打到或者换取到自己所需要的装备。</div>
<button class="close-text-box">× </button>
</div>
<div class="bottom-navbar">
<img src="./images/health_ball.png" alt="Left Image" class="navbar-image">
<div class="center-music" id="">
<p>Click to Play Some Music!</p>
<audio controls loop>
<source src="01-Wilderness.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
</div>
<img src="./images/mana_ball.png" alt="Right Image" class="navbar-image">
</div>
</body>
</html>