aboutsummaryrefslogtreecommitdiffstats
path: root/example.html
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-01-14 00:23:53 +0100
committerGuilhem Moulin <guilhem@fripost.org>2024-01-14 04:14:17 +0100
commitede24258052a37ab6db54553a3d4d846b1870b6c (patch)
tree76e890299bda5af56f21dd775e2a8a4e4d89f5e8 /example.html
parenta95bd079fd3b2639c0c1e4b0b637fa67c0a2e4ac (diff)
Add an example with a page containg the map in an <iframe>.
Diffstat (limited to 'example.html')
-rw-r--r--example.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/example.html b/example.html
new file mode 100644
index 0000000..f883508
--- /dev/null
+++ b/example.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>Hemsida</title>
+ <style>
+ body {
+ text-align: center;
+ padding: 1em;
+ }
+ iframe {
+ border: 1px solid black;
+ }
+ </style>
+ </head>
+ <body>
+ <iframe src="/" title="Webbkarta" width=500 height=300></iframe>
+ <p>blah blah blah</p>
+ </body>
+</html>