summaryrefslogtreecommitdiff
path: root/smarttv-client/Javascript/Notify.js
diff options
context:
space:
mode:
authorthlo <t.lohmar@gmx.de>2013-02-03 20:36:52 +0100
committerthlo <t.lohmar@gmx.de>2013-02-03 20:36:52 +0100
commit845ac6d57331358abf2ac9024de774378c00bbed (patch)
tree359de84a1148d9c2babc2071b8967a210fd49aff /smarttv-client/Javascript/Notify.js
parentc81227a97c5cabc1ef61bac08fa8654e0961d95a (diff)
downloadvdr-plugin-smarttvweb-845ac6d57331358abf2ac9024de774378c00bbed.tar.gz
vdr-plugin-smarttvweb-845ac6d57331358abf2ac9024de774378c00bbed.tar.bz2
4:3 Button.
Trickplay for PES recordings and other files (no TS recordings yet). Delete Recordings. Parsing RSS enclosure url.
Diffstat (limited to 'smarttv-client/Javascript/Notify.js')
-rw-r--r--smarttv-client/Javascript/Notify.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/smarttv-client/Javascript/Notify.js b/smarttv-client/Javascript/Notify.js
new file mode 100644
index 0000000..0ebf857
--- /dev/null
+++ b/smarttv-client/Javascript/Notify.js
@@ -0,0 +1,28 @@
+var Notify = {
+ notifyOlHandler : null
+};
+
+
+Notify.init = function () {
+ this.notifyOlHandler = new OverlayHandler("NotifyHndl");
+ this.notifyOlHandler.init(Notify.handlerShowNotify, Notify.handlerHideNotify);
+
+};
+
+
+Notify.showNotify = function (msg, timer) {
+ $("#notify").text(msg);
+ if (timer == true)
+ this.notifyOlHandler.show();
+ else
+ $("#notify").show();
+};
+
+Notify.handlerShowNotify = function () {
+ $("#notify").show();
+};
+
+Notify.handlerHideNotify = function () {
+ $("#notify").hide();
+};
+