-
This commit is contained in:
@@ -14,10 +14,18 @@ Please press this <button id="btn">Button</button> for something to happen.
|
||||
Some input text: <input type="Text" id="inp1" value="Default input value" />
|
||||
</p>
|
||||
<div id="test" class="yellow">
|
||||
<p> Hi there!</p>
|
||||
<p> Hi there! <a href="/">Click here to load this page again</a></p>
|
||||
<p> To <a href="page2.html">page 2</a></p>
|
||||
</div>
|
||||
<h1 id="t" class="blue">Ja</h1>
|
||||
Ja
|
||||
<h1> Nou...</h1>
|
||||
<div class="image">
|
||||
<img src="test.jpg" />
|
||||
</div>
|
||||
<script>
|
||||
console.log(document.cookie);
|
||||
document.cookie = "test-koekje=koekje_in_seconden:" + Date.now();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
17
example/page2.html
Normal file
17
example/page2.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<title>Example of racket webview</title>
|
||||
<link href="/styles.css" rel="stylesheet" />
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="h1">This is Page 2</h1>
|
||||
<div id="test" class="yellow">
|
||||
<p> Hi there! <a href="/">Click here to load this main page again</a></p>
|
||||
</div>
|
||||
<div class="image">
|
||||
<img src="test.jpg" />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -20,4 +20,12 @@ h1.blue {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.image {
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
.image img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
BIN
example/test.jpg
Normal file
BIN
example/test.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 132 KiB |
Reference in New Issue
Block a user