From 1beb0ead3ec2a2ed93bac4276ad6df3dedc87374 Mon Sep 17 00:00:00 2001 From: Holger Bruch Date: Fri, 29 Nov 2024 19:52:22 +0100 Subject: [PATCH] Add iframe demo --- Gruntfile.js | 4 ++++ src/demo.html | 13 +++++++++++++ src/iframe.html | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 src/iframe.html diff --git a/Gruntfile.js b/Gruntfile.js index ccffcab..f61d62e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -85,6 +85,10 @@ module.exports = function(grunt) { src: 'src/tiny.html', dest: 'dist/tiny.html' }, + iframedemo: { + src: 'src/iframe.html', + dest: 'dist/iframe.html' + }, }, watch: { files: ['Gruntfile.js', 'src/**/*.js', 'src/**/*.css', 'src/**/*.html', 'src/**/*.html', 'images/*', 'test/**/*.js'], diff --git a/src/demo.html b/src/demo.html index cb1e2e4..09546a5 100644 --- a/src/demo.html +++ b/src/demo.html @@ -176,6 +176,19 @@

JavaScript code

+
+ +

Address box via IFrame

+ +

HTML code

+
<iframe src="iframe.html?address=Marktplatz 5, 71083 Herrenberg&name=Rathaus&lat=48.5965246&lon=8.8704940"
+          width="100%" height="500" title="Adress Box IFrame Demo"/>
+ +
+