mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
Base: Move all the HTML test content into /res/html/misc
This commit is contained in:
parent
4720635aab
commit
de12cf6821
58 changed files with 1 additions and 1 deletions
20
Base/res/html/misc/events.html
Normal file
20
Base/res/html/misc/events.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
alert("It loaded!");
|
||||
|
||||
document.getElementById("my_div").addEventListener("mousedown", function() {
|
||||
alert("Mouse down!");
|
||||
});
|
||||
document.getElementById("my_div").addEventListener("mousemove", function() {
|
||||
alert("Mouse move!");
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="my_div">Hello there!</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue