diff options
Diffstat (limited to 'javascript/functions.js')
-rwxr-xr-x | javascript/functions.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/javascript/functions.js b/javascript/functions.js index b713232..86811ff 100755 --- a/javascript/functions.js +++ b/javascript/functions.js @@ -206,3 +206,8 @@ function addplayer(path,name,track) { document.getElementById('div_player').innerHTML = playercode;
}
+function errorMsg(errmessage) {
+ htmlmsg="<span class='graytitle'>Error</span><ul class='pageitem'><li class='textbox'><span class='header'>Error</span><p><strong>" + errmessage + "</strong></li></ul>";
+ document.getElementById('content').innerHTML = htmlmsg;
+}
+
|