mirror of
https://github.com/Emupedia/emupedia.github.io.git
synced 2026-12-05 03:29:36 +08:00
More work
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
html {
|
||||
height: 100%;
|
||||
/*height: 100%;*/
|
||||
}
|
||||
|
||||
body {
|
||||
height: 100%;
|
||||
/*height: 100%;*/
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
$(function() {
|
||||
$('.taskbar').taskbar({
|
||||
draggable: true,
|
||||
resizable: true,
|
||||
minimizeAll: false,
|
||||
languageSelect: false,
|
||||
clock: true
|
||||
@@ -112,7 +114,14 @@
|
||||
cmd: 'next'
|
||||
}],
|
||||
select: function(e, ui) {
|
||||
switch (ui.cmd) {
|
||||
case 'close':
|
||||
console.log(e);
|
||||
$(e.target).window('close');
|
||||
break;
|
||||
}
|
||||
|
||||
return true;
|
||||
},
|
||||
close: function (e, ui) {
|
||||
console.log(e);
|
||||
|
||||
Reference in New Issue
Block a user