-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwatch.html
More file actions
41 lines (33 loc) · 1.57 KB
/
watch.html
File metadata and controls
41 lines (33 loc) · 1.57 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!--****ENTER PAGE TITLE****-->
<title>Watch</title>
<link rel="stylesheet" href="css/talker.css">
</head>
<script language="JavaScript" type="text/javascript" src = "js/menu.js"></script>
<body>
<script language="JavaScript" type="text/javascript">
//****ENTER DISPLAY, SOUND, BTNCLASS, UP (GO BACK TO)****
display = ["WATCH", "America's Test Kitchen", "Cook's Country", "Simply Ming", "Jacques Pepin", "Primal Grill", "Milk Street", "Watch a show with Tessa"]
sound = ["watch_page", "test_kitchen", "cooks_country", "simply_ming", "jacques_pepin", "primal_grill", "milk_street", "tessa_show"]
btnclass = ["a", "", "", "", "", "", "", ""]
up="want"
nLen = display.length
var home_index=nLen+1
for (i = 0; i < nLen; i++) {
j = i + 1
l1='<div data-sound="'+sound[i]+'" class="btn '+btnclass[i]+' '+sound[i]+'" tabindex="'+j+'" onfocus="whisper(\''+sound[i]+'\', \''+sound[i]+'_w\')">'+display[i]+'</div>'
l2='<audio id="'+sound[i]+'" controls style="display:none"><source src="sounds/'+sound[i]+'.mp3" type="audio/mpeg"></audio>'
l3='<audio id="'+sound[i]+'_w" controls style="display:none"><source src="sounds/'+sound[i]+'_w.mp3" type="audio/mpeg"></audio>'
document.write(l1)
document.write(l2)
document.write(l3)
}
</script>
<script src="js/back_buttons.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="js/talker.js"></script>
</body>
</html>