diff options
author | thlo <t.lohmar@gmx.de> | 2013-02-03 20:36:52 +0100 |
---|---|---|
committer | thlo <t.lohmar@gmx.de> | 2013-02-03 20:36:52 +0100 |
commit | 845ac6d57331358abf2ac9024de774378c00bbed (patch) | |
tree | 359de84a1148d9c2babc2071b8967a210fd49aff /smarttv-client/Javascript/Notify.js | |
parent | c81227a97c5cabc1ef61bac08fa8654e0961d95a (diff) | |
download | vdr-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.js | 28 |
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();
+};
+
|