up
This commit is contained in:
parent
4bca225593
commit
547854a151
1655 changed files with 847 additions and 89231 deletions
|
@ -1,22 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="blue" onmouseenter="log(event)" onmouseleave="log(event)">
|
||||
<div id="red"></div>
|
||||
</div>
|
||||
|
||||
<textarea id="text"></textarea>
|
||||
<input type="button" onclick="text.value=''" value="Очистить">
|
||||
|
||||
<script src="script.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,4 +0,0 @@
|
|||
function log(event) {
|
||||
text.value += event.type + ' [target: ' + event.target.id + ']\n';
|
||||
text.scrollTop = text.scrollHeight;
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
#blue {
|
||||
background: blue;
|
||||
width: 160px;
|
||||
height: 160px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#red {
|
||||
background: red;
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
position: absolute;
|
||||
left: 45px;
|
||||
top: 45px;
|
||||
}
|
||||
|
||||
#text {
|
||||
display: block;
|
||||
height: 100px;
|
||||
width: 400px;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue