forked from blakerego/personalWebsite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathslides.html
More file actions
82 lines (73 loc) · 1.48 KB
/
slides.html
File metadata and controls
82 lines (73 loc) · 1.48 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
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
76
77
78
79
80
81
82
<html>
<div align="center">
<script type="text/javascript">
j=Math.round(Math.random()*10)
k=100
if (j==0) {
a="croatia"
b=62
while(k>b|| k==0){k=Math.round(Math.random()*b)}
}
if (j==1) {
a="boston"
b=31
while(k>b|| k==0){k=Math.round(Math.random()*b)}
}
else if (j==2) {
a="newyork"
b=43
while(k>b|| k==0){k=Math.round(Math.random()*b)}
}
else if (j==3) {
a="newhaven"
b=33
while(k>b|| k==0){k=Math.round(Math.random()*b)}
}
else if (j==4) {
a="budapest"
b=29
while(k>b|| k==0){k=Math.round(Math.random()*b)}
}
else if (j==5) {
a="prague"
b=27
while(k>b || k==0){k=Math.round(Math.random()*b)}
}
else if (j==6) {
a="miami"
b=43
while(k>b || k==0){k=Math.round(Math.random()*b)}
}
else if (j==7 ) {
a="philly"
b=32
while(k>b || k==0){k=Math.round(Math.random()*b)}
}
else if (j==8 ) {
a="oceancity"
b=24
while( k>b|| k==0 || k==24){k=Math.round(Math.random()*b)}
}
else if (j==9) {
a="newyork"
b=43
while(k>b || k==0){k=Math.round(Math.random()*b)}
}
else if (j==10) {
a="miami"
b= 43
while(k>b|| k==0 ){k=Math.round(Math.random()*b)}
}
if (k<10){
check= "<img src='http://www.columbia.edu/~bjr2101/Graphics/" + a + "/0" + k + ".jpg'>"
document.write( check )
}
else {
check= "<img src='http://www.columbia.edu/~bjr2101/Graphics/" + a + "/" + k + ".jpg'>"
document.write( check )
}
i++
</script>
<META HTTP-EQUIV="Refresh" CONTENT="9; URL=http://www.columbia.edu/~bjr2101/slides.html">
</div>
</html>