From 845ac6d57331358abf2ac9024de774378c00bbed Mon Sep 17 00:00:00 2001 From: thlo Date: Sun, 3 Feb 2013 20:36:52 +0100 Subject: 4:3 Button. Trickplay for PES recordings and other files (no TS recordings yet). Delete Recordings. Parsing RSS enclosure url. --- smarttv-client/Javascript/Notify.js | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 smarttv-client/Javascript/Notify.js (limited to 'smarttv-client/Javascript/Notify.js') 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(); +}; + -- cgit v1.2.3