diff options
author | Andrew Dolgov <[email protected]> | 2005-11-19 19:01:06 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-19 19:01:06 +0100 |
commit | 8dcfffd01ecffacab30f6686a419fd165f14261f (patch) | |
tree | b318f6f6cda9f8a332098d1494ec37a7f571ccff /functions.js | |
parent | 7e9a3986378cae5c60631c7c8c30dafd8785d5c2 (diff) |
make #notify more noticeable
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 29 |
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 = " "; - - nb.innerHTML = msg; - -/* if (msg.length == 0) { - n.style.display = "none"; + if (msg == "") { + nb.innerHTML = " "; + 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 = " "; - - nb.innerHTML = msg; - -/* if (msg.length == 0) { - n.style.display = "none"; + if (msg == "") { + nb.innerHTML = " "; + n.style.background = "#ffffff"; } else { - n.style.display = "block"; - } */ + nb.innerHTML = msg; + n.style.background = "#fffff0"; + } } |