-
Notifications
You must be signed in to change notification settings - Fork 0
/
dokumente.html
45 lines (39 loc) · 1.32 KB
/
dokumente.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dokumente</title>
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<div class="container">
<div class="well">
<strong>Willkommen Studenten.</strong>
</div>
<div class="row">
<div class="col-md-3">
<div class="list-group">
<a class="list-group-item" href="dokumente/Uebung5.html">Übung 5</a>
<a class="list-group-item" href="dokumente/Uebung6.html">Übung 6</a>
<a class="list-group-item" href="dokumente/Uebung10.html">Übung 10</a>
</div>
</div>
<div class="col-md-9">
<div class="well document-viewer">
<iframe src="" frameborder="0"></iframe>
</div>
</div>
</div>
</div> <!-- / .container -->
<script src="assets/js/jquery-2.1.1.min.js"></script>
<script>
$('.list-group').on('click', 'a', function(event) {
event.preventDefault();
$('.document-viewer iframe').attr('src', 'show.php?file=' + $(this).attr('href'));
$('.list-group a').removeClass('active');
$(this).addClass('active');
}).find('a:first').trigger('click');
</script>
</body>
</html>