-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (74 loc) · 3.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>JKG LUA Docs</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/gerbilstyle.css" rel="stylesheet">
</head>
<body>
<div class="container">
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#" onclick="$('#viewport').load('groups/home.html');">Jedi Knight Galaxies - LUA</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Base Libraries<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#" onclick='$("#viewport").load("groups/genericcommands.html");'>Generic Commands</a></li>
<li><a href="#" onclick='$("#viewport").load("groups/files.html");'>Files</a></li>
<li><a href="#" onclick='$("#viewport").load("groups/json.html");'>JSON</a></li>
<li><a href="#" onclick='$("#viewport").load("groups/vectors.html");'>Vectors</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Game Libraries<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#" onclick='$("#viewport").load("groups/globalfunctions.html");'>Global Functions</a></li>
<li><a href="#" onclick='$("#viewport").load("groups/hooks.html");'>Hook Module</a></li>
<li><a href="#" onclick='$("#viewport").load("groups/commands.html");'>Commands</a></li>
<li><a href="#" onclick='$("#viewport").load("groups/events.html");'>Events</a></li>
<li><a href="#" onclick='$("#viewport").load("groups/entities.html");'>Entities</a></li>
<li><a href="#" onclick='$("#viewport").load("groups/players.html");'>Players</a></li>
<li><a href="#" onclick='$("#viewport").load("groups/sys.html");'>System</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<div id="viewport"></div>
<!-- End container -->
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script>
$(function(){
$('.dropdown').bind('touchstart touchend',function() {
$(this).unbind('mouseout mouseover');
});
$('.dropdown').mouseover(function() {
$(this).addClass('open');
});
$('.dropdown').mouseout(function() {
$(this).removeClass('open');
});
$('#viewport').load('groups/home.html');
});
</script>
</body>
</html>