From: Simon L'nu Date: Fri, 13 Jul 2012 08:35:16 +0000 (-0400) Subject: add doctitle thingy, and update cursor X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=10ce535cacc8db484a8a491c7395d1ae71eaf337;p=friendica.git add doctitle thingy, and update cursor Signed-off-by: Simon L'nu --- diff --git a/view/theme/dispy/bottom.tpl b/view/theme/dispy/bottom.tpl index 130bfb25ae..0bcc3aca41 100644 --- a/view/theme/dispy/bottom.tpl +++ b/view/theme/dispy/bottom.tpl @@ -43,4 +43,17 @@ function insertFormatting(comment, BBcode, id) { function cmtBbOpen(id) { $(".comment-edit-bb-" + id).show(); } +function cmtBbClose(id) { + $(".comment-edit-bb-" + id).hide(); +} + +var doctitle = document.title; +function checkNotify() { + if(document.getElementById("notify-update").innerHTML != "") { + document.title = "("+document.getElementById("notify-update").innerHTML+") " + doctitle; + } else { + document.title = doctitle; + }; + setInterval(function () {checkNotify();}, 10 * 1000); +} diff --git a/view/theme/dispy/icons/sparkle.cur b/view/theme/dispy/icons/sparkle.cur index c45cd1648a..253259d8d5 100644 Binary files a/view/theme/dispy/icons/sparkle.cur and b/view/theme/dispy/icons/sparkle.cur differ