projects
/
fp-lecture.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Notes system, lots more slides
[fp-lecture.git]
/
notes.html
1
<html>
2
<head>
3
<meta
charset
=
"utf-8"
>
4
<style>
5
div[id^=
"slide-"
] {
6
display: none;
7
}
8
</style>
9
</head>
10
<body>
11
<div
id
=
"notes"
>
12
hello
13
</div>
14
</body>
15
<script>
16
var bc = new BroadcastChannel('test_channel');
17
bc.onmessage = function (ev) { changeNotes(ev.data); } /* receive */
18
19
function changeNotes(notes) {
20
window.console.log(notes);
21
document.getElementById('notes').innerHTML = notes;
22
}
23
24
</script>
25
</html>