Initial Commit
This commit is contained in:
30
examples/win98.html
Normal file
30
examples/win98.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Y2K Alerts - Win98 Theme</title>
|
||||
<link rel="stylesheet" href="../dist/y2k-alerts-win98.css" />
|
||||
<style>
|
||||
body {
|
||||
font-family: "MS Sans Serif", Tahoma, sans-serif;
|
||||
padding: 24px;
|
||||
background: #008080;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<button id="show-alert">Show Win98 Alert</button>
|
||||
|
||||
<script src="../dist/y2k-alerts.js"></script>
|
||||
<script>
|
||||
document.getElementById("show-alert").addEventListener("click", function () {
|
||||
y2kAlert.quick(
|
||||
"Legacy Notice",
|
||||
Y2K.TYPE_SUCCESS,
|
||||
"Operation completed successfully."
|
||||
);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user