-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutcome_newcastle_disease.html
68 lines (59 loc) · 3.32 KB
/
outcome_newcastle_disease.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>GETTING STARTED WITH BRACKETS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="outcome_newcastle_disease.css">
<script src="responsivevoice.js"></script>
<script src="jquery.min.js"></script>
</head>
<body>
<h2>Outcome: Newcastle Disease</h2>
<p>It seems that your bird has a form of Newcastle Disease. This is a highly contagious disease that attacks the organs. It affects birds of all ages and humans are also susceptible to it. The Newcastle virus can be transmitted short distances by the airborne route or introduced on contaminated shoes, caretakers, tires or dirty equipment. Antibiotics can be given for 3-5 days to prevent seconary bacterial infections. Please click on one of the images below to contact a suitable veterinarian and to help them keep track of this disease.</p>
<textarea id="text">It seems that your guinea fowl has a form of Newcastle Disease. This is a highly contagious disease that attacks the organs. It affects birds of all ages and humans are also susceptible to it. The Newcastle virus can be transmitted short distances by the airborne route or introduced on contaminated shoes, caretakers, tires or dirty equipment. Antibiotics can be given for 3-5 days to prevent seconary bacterial infections. Please click on one of the images below to contact a suitable veterinarian and to help them keep track of this disease.</textarea>
<select id="voiceselection"></select>
<input
onclick="responsiveVoice.speak($('#text').val(),$('#voiceselection').val());"
type="button"
class="button"
/>
<script>
//Populate voice selection dropdown
var voicelist = responsiveVoice.getVoices();
var vselect = $("#voiceselection");
$.each(voicelist, function() {
vselect.append($("<option />").val(this.name).text(this.name));
});
function sendsms(num) {
$.ajax({
url: "http://localhost:8088/manager?action=login&username=admin&secret=admin"
}).done(function() {
var sms_text = "dongle sms dongle0"
sms_text = sms_text + " " + num
sms_text = sms_text + " " + document.location
console.log(sms_text)
$.ajax({
url: "http://localhost:8088/rawman?action=command&command=" + encodeURIComponent(sms_text)
}).done(function(data) {
console.log('Youpi!\n' + data)
});
});
}
</script>
<div class="fit_screen">
<div class="square img_1-1">
<a class="click" href="javascript:sendsms(+31647418031);" title="call" id="img_1-1"></a>
</div>
<div class="square img_1-2">
<a class="click" href="javascript:sendsms(+31647418031);" title="call" id="img_1-2"></a>
</div>
</div>
<div class="photo_text_1">
<p>Veterinarian dr.Kwadwo Nkrumah</p>
</div>
<div class="photo_text_2">
<p>Veterinarian dr.Ebo Annan</p>
</div>
</body>
</html>