-
Notifications
You must be signed in to change notification settings - Fork 14
/
toplinks.txt
117 lines (109 loc) · 2.67 KB
/
toplinks.txt
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<style>
.neomenu>li {
float:left;
}
.neomenu li {
width:13em;
}
.neomenu * {
z-index:100;
}
.neomenu .menutitle {
width:auto;
padding-right:3em;
}
.neomenu .menutitle a:hover {
background-color:transparent;
}
.boardNav,
.boardlist,
#boardmenu li a {
color:inherit;
}
.neomenu li a:visited,
.neomenu li a {
display:block;
color:inherit;
text-decoration:none;
}
.neomenu li a:hover {
background-color:rgba(0,0,0,0.1);
}
.neomenu .reply {
padding:0;
margin:0;
}
.neomenu .menulist {
position:absolute;
list-style:none;
display:none;
border-style:solid;
border-width:1px;
}
.neomenu>li:hover .menulist {
display:initial;
}
.neomenu {
list-style:none;
margin:0;
padding:0;
font-size:10pt;
}
.logo {
clear:both;
}
.boardNav.reply {
padding:0!important;
}
</style>
<script>
window.onload = function() {
// Get references to both menus
var classicMenu = document.querySelector('.classicmenu');
var neoMenu = document.querySelector('.neomenu');
// Check if 'neomenu' is set to 'true' in localStorage
if (localStorage.getItem("neomenu") === "true") {
// Show neomenu and hide classicmenu
neoMenu.classList.remove('hidden');
classicMenu.classList.add('hidden');
} else {
// Show classicmenu and hide neomenu (default behavior)
neoMenu.classList.add('hidden');
classicMenu.classList.remove('hidden');
}
}
</script>
<div class="classicmenu">
[ <a class="bl" href="https://example.com/1/">1</a> /
<a class="bl" href="https://example.com/2/">2</a> /
<a class="bl" href="https://example.com/3/">3</a> ]
[ <a class="bl" href="https://example.com/4/">4</a> ]
[ <a class="bl" href="https://example.com/5/">5</a> ]
</div>
<ul class="neomenu hidden">
<li class="menutitle"><a class="extr" href="//www.example.com/" target="_top"><b>Example!</b></a></li>
<li class="reply">
<a><b>List 1</b></a>
<ul class="reply menulist">
<li><a class="extr" href="//example.com/1/">Link 1</a></li>
<li><a class="extr" href="//example.com/2/">Link 2</a></li>
<li><a class="extr" href="//example.com/3/">Link 3</a></li>
</ul>
</li>
<li class="reply">
<a><b>List 2</b></a>
<ul class="reply menulist">
<li><a class="extr" href="//example.com/4/">Link 4</a></li>
<li><a class="extr" href="//example.com/5/">Link 5</a></li>
<li><a class="extr" href="//example.com/6/">Link 6</a></li>
<li><a class="extr" href="//example.com/7/">Link 7</a></li>
</ul>
</li>
<li class="reply">
<a><b>List 3</b></a>
<ul class="reply menulist">
<li><a class="extr" href="//example.com/8/">Link 8</a></li>
<li><a class="extr" href="//example.com/9/">Link 9</a></li>
</ul>
</li>
</ul>