Add: block_copy_paste_shortcut

This commit is contained in:
2022-07-16 14:09:24 +09:00
parent aaf9463eb0
commit 1d5a98b205
4 changed files with 24 additions and 0 deletions
+2
View File
@@ -87,6 +87,7 @@
<script>
$(document).ready(function() {
$('#client_refresh').load("./../module/client_refresh.html");
$('#block_copy_paste_shortcut').load("./../module/block_copy_paste_shortcut.html");
});
</script>
@@ -95,5 +96,6 @@
<body>
<div id="Typing Examination" style="text-align:center;"></div>
<div id="client_refresh"></div>
<div id="block_copy_paste_shortcut"></div>
</body>
</html>
+2
View File
@@ -106,6 +106,7 @@
<script>
$(document).ready(function() {
$('#client_refresh').load("./../module/client_refresh.html");
$('#block_copy_paste_shortcut').load("./../module/block_copy_paste_shortcut.html");
});
</script>
@@ -114,5 +115,6 @@
<body>
<div id="Typing Test" style="text-align:center;"></div>
<div id="client_refresh"></div>
<div id="block_copy_paste_shortcut"></div>
</body>
</html>
+2
View File
@@ -104,6 +104,7 @@
<script>
$(document).ready(function() {
$('#client_refresh').load("./../module/client_refresh.html");
$('#block_copy_paste_shortcut').load("./../module/block_copy_paste_shortcut.html");
});
</script>
@@ -112,5 +113,6 @@
<body>
<div id="WordFlyingSaucer" style="text-align:center;"></div>
<div id="client_refresh"></div>
<div id="block_copy_paste_shortcut"></div>
</body>
</html>
@@ -0,0 +1,18 @@
<script>
$(document).keydown(function(event) {
/*
if ((event.ctrlKey || event.metaKey) && event.keyCode == 67) {
alert("Ctrl+C or Cmd+C pressed?");
}
if ((event.ctrlKey || event.metaKey) && event.keyCode == 88) {
alert("Ctrl+X or Cmd+X pressed?");
}
*/
// Ctrl+V or Cmd+V pressed?
if ((event.ctrlKey || event.metaKey) && event.keyCode == 86) {
alert("타자 연습중에는 붙여넣기 기능이 비활성화됩니다.");
}
});
</script>