diff --git a/projects/IoT/IoTServices/SingalDemo/wwwroot/images/bg.png b/projects/IoT/IoTServices/SingalDemo/wwwroot/images/bg.png new file mode 100644 index 00000000..5598bb81 Binary files /dev/null and b/projects/IoT/IoTServices/SingalDemo/wwwroot/images/bg.png differ diff --git a/projects/IoT/IoTServices/SingalDemo/wwwroot/index.html b/projects/IoT/IoTServices/SingalDemo/wwwroot/index.html index e8735f4f..6489d688 100644 --- a/projects/IoT/IoTServices/SingalDemo/wwwroot/index.html +++ b/projects/IoT/IoTServices/SingalDemo/wwwroot/index.html @@ -1,68 +1,72 @@ - +
+ .info.volume { + background: url(images/volume.png) center center no-repeat; + } + + .box .line { + position: relative; + width: 200px; + margin: 0 auto; + border-bottom: 2px solid #999; + } + + .line .point { + position: absolute; + top: -5px; + width: 0; + height: 0; + border: 5px solid #999; + border-radius: 50%; + } + @@ -103,6 +107,9 @@ var vtimer; var stimer; player.volume = 0.5; + player.onended = function () { + player.play(); + }; function onvolumechange() { var vol = document.getElementById('vol'); vol.style.display = 'block';