diff --git a/frontlog.js b/frontlog.js new file mode 100644 index 0000000..9c9eef2 --- /dev/null +++ b/frontlog.js @@ -0,0 +1,20 @@ +let frontlogList = {}; +let frontlog_mxel = document.body.dataset['frontlog']??3; +let frontlog = document.createElement('frontlog'); +document.body.appendChild(frontlog); + +let frontlogAdd = function(title,icon,msg,col, time) { + let elem = document.createElement('flogelem'); + { + let elemid = 'fl_'; + { + let ch = 'abcdefghijklmnopqrstuvwxyz0123456789'; + let chl = ch.length; + for ( let i = 0; i < length; i++ ) { + elemid += ch.charAt(Math.floor(Math.random() * chl)); + } + } + elem.id = elemid; + } + elem.appendChild +}