blob: fad25f36110f1d00d7554fbeaabb48924d9cceda (
plain)
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
|
function sidebar_close() {
$("#sidebar").fadeOut();
}
function sidebar_open() {
$("#sidebar").fadeIn();
}
function show_loading() {
$("#content").html(("<div class='spinner centered'></div>"));
}
function load(file, title) {
show_loading();
$("#header").text(title);
$.get("/content/"+file, function(data) {
$("#content").html(data);
}, "text");
}
function open_timetable() {
sidebar_close();
load('timetable.html', 'Stundenplan');
}
|