///////////////////////////////////////////////////// // TODO // glyphs // what buttons where // colophone // a bit more interface // DONE // Open window icon (on background 'desktop') // Close window button (on 'window' itself) // random position ////////////////////////////////////////////////////// let zIndex = 3; $(document).ready(function(){ // Generate divs Object.values(corpi).forEach(corpus => { $('#dragZone' ).append(`

${corpus['title']}

${corpus['content']}

`) $('#icons').append(`

${corpus['title']}
`) }); // Start mouse UI const dragResize = new DragResizeClose(zIndex); });