update
This commit is contained in:
parent
962caebbb7
commit
87bf53d076
1825 changed files with 94929 additions and 0 deletions
|
@ -0,0 +1,19 @@
|
|||
<!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>
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
function log(event) {
|
||||
text.value += event.type+' [target: '+event.target.className+']\n';
|
||||
text.scrollTop = text.scrollHeight;
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
#blue {
|
||||
background:blue;
|
||||
width:160px;
|
||||
height:160px;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
#red {
|
||||
background:red;
|
||||
width:70px;
|
||||
height:70px;
|
||||
position:absolute;
|
||||
left:20px;
|
||||
top:20px;
|
||||
}
|
||||
|
||||
#text {
|
||||
display: block;
|
||||
height:100px;
|
||||
width:400px;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue