9
Makefile
Normal file
9
Makefile
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
all:
|
||||||
|
@echo "Use 'make clean' to cleanup racket backup files"
|
||||||
|
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@find . -type f -name "*~" -exec rm -f {} \;
|
||||||
|
@echo "Cleaned"
|
||||||
20
example1/example-1-second.html
Normal file
20
example1/example-1-second.html
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<!--<script type="javascript" src="https://code.jquery.com/jquery-3.7.1.min.js" />-->
|
||||||
|
<link rel="stylesheet" href="styles.css" />
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<title>This is test 1</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>This is test 1</h1>
|
||||||
|
<p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://wikipedia.org">To Wikipedia</a></li>
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
<div class="buttons">
|
||||||
|
<a href="example-1.html"><b><ul><li style="color:red;">Back to test1</li></ul></b></a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -23,8 +23,8 @@
|
|||||||
</p>
|
</p>
|
||||||
<h2>Opening a second page</h2>
|
<h2>Opening a second page</h2>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<button class="btn-1" onclick="window.location.href='example-second.html';">Open the second page using javascript</button>
|
<button class="btn-1" onclick="window.location.href='example-1-second.html';">Open the second page using javascript</button>
|
||||||
<button class="btn-2"><a href="example-second.html" id="click-url" style="color:green;">Open the second page uring url</a></button>
|
<button class="btn-2"><a href="example-1-second.html" id="click-url" style="color:green;">Open the second page uring url</a></button>
|
||||||
</div>
|
</div>
|
||||||
<h2>And some other buttons</h2>
|
<h2>And some other buttons</h2>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
(super html-loaded)
|
(super html-loaded)
|
||||||
|
|
||||||
(ww-debug "CONNECTING BUTTONS")
|
(ww-debug "CONNECTING BUTTONS")
|
||||||
(let* ((dialog-btn (send this element 'app-button))
|
(let* ((dialog-btn (send this element 'dialog-button))
|
||||||
)
|
)
|
||||||
(send dialog-btn connect 'click (λ (data)
|
(send dialog-btn connect 'click (λ (data)
|
||||||
(new example-1-dialog% [parent this])))
|
(new example-1-dialog% [parent this])))
|
||||||
|
|||||||
Reference in New Issue
Block a user