Add: block_copy_paste_shortcut
This commit is contained in:
@@ -87,6 +87,7 @@
|
|||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#client_refresh').load("./../module/client_refresh.html");
|
$('#client_refresh').load("./../module/client_refresh.html");
|
||||||
|
$('#block_copy_paste_shortcut').load("./../module/block_copy_paste_shortcut.html");
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -95,5 +96,6 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="Typing Examination" style="text-align:center;"></div>
|
<div id="Typing Examination" style="text-align:center;"></div>
|
||||||
<div id="client_refresh"></div>
|
<div id="client_refresh"></div>
|
||||||
|
<div id="block_copy_paste_shortcut"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -106,6 +106,7 @@
|
|||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#client_refresh').load("./../module/client_refresh.html");
|
$('#client_refresh').load("./../module/client_refresh.html");
|
||||||
|
$('#block_copy_paste_shortcut').load("./../module/block_copy_paste_shortcut.html");
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -114,5 +115,6 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="Typing Test" style="text-align:center;"></div>
|
<div id="Typing Test" style="text-align:center;"></div>
|
||||||
<div id="client_refresh"></div>
|
<div id="client_refresh"></div>
|
||||||
|
<div id="block_copy_paste_shortcut"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -104,6 +104,7 @@
|
|||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#client_refresh').load("./../module/client_refresh.html");
|
$('#client_refresh').load("./../module/client_refresh.html");
|
||||||
|
$('#block_copy_paste_shortcut').load("./../module/block_copy_paste_shortcut.html");
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -112,5 +113,6 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="WordFlyingSaucer" style="text-align:center;"></div>
|
<div id="WordFlyingSaucer" style="text-align:center;"></div>
|
||||||
<div id="client_refresh"></div>
|
<div id="client_refresh"></div>
|
||||||
|
<div id="block_copy_paste_shortcut"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</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>
|
||||||
Reference in New Issue
Block a user