summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-19 19:01:06 +0100
committerAndrew Dolgov <[email protected]>2005-11-19 19:01:06 +0100
commit8dcfffd01ecffacab30f6686a419fd165f14261f (patch)
treeb318f6f6cda9f8a332098d1494ec37a7f571ccff /functions.js
parent7e9a3986378cae5c60631c7c8c30dafd8785d5c2 (diff)
make #notify more noticeable
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js29
1 files changed, 12 insertions, 17 deletions
diff --git a/functions.js b/functions.js
index aa3169ac9..c4d79e517 100644
--- a/functions.js
+++ b/functions.js
@@ -57,16 +57,13 @@ function p_notify(msg) {
if (!n || !nb) return;
- if (msg == "") msg = "&nbsp;";
-
- nb.innerHTML = msg;
-
-/* if (msg.length == 0) {
- n.style.display = "none";
+ if (msg == "") {
+ nb.innerHTML = "&nbsp;";
+ n.style.background = "#ffffff";
} else {
- n.style.display = "block";
- } */
-
+ nb.innerHTML = msg;
+ n.style.background = "#fffff0";
+ }
}
function notify(msg) {
@@ -76,15 +73,13 @@ function notify(msg) {
if (!n || !nb) return;
- if (msg == "") msg = "&nbsp;";
-
- nb.innerHTML = msg;
-
-/* if (msg.length == 0) {
- n.style.display = "none";
+ if (msg == "") {
+ nb.innerHTML = "&nbsp;";
+ n.style.background = "#ffffff";
} else {
- n.style.display = "block";
- } */
+ nb.innerHTML = msg;
+ n.style.background = "#fffff0";
+ }
}