Änderungen von Dokument Formular per AJAX einbinden


Von Version 11.5
bearbeitet von gru
am 05.10.2022, 13:55
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 10.1
bearbeitet von gru
am 05.10.2022, 13:48
Änderungskommentar: Neuen Anhang iframe.html hochladen

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -26,7 +26,7 @@
26 26   </html>
27 27   {{/code}}
28 28  
29 -Für das folgenden Beispiel wird zu Demonstrationszwecken eine eigene HTML-Seite in einem iframe verwendet:
29 +Die Einbindung erfolgt hier zur Demonstration in eine eigene HTML-Seite in einem iframe:
30 30  
31 31  {{html clean="false"}}
32 32   <style type="text/css">
... ... @@ -66,6 +66,7 @@
66 66   margin:0;
67 67   padding:0;
68 68   border:0;
69 + width: 100%;
69 69   height: inherit;
70 70   }
71 71   .border { border:4px dashed black; }
iframe.html
Größe
... ... @@ -1,1 +1,1 @@
1 -893 bytes
1 +857 bytes
Inhalt
... ... @@ -7,7 +7,7 @@
7 7   <!-- configure path to your server, the id of the content element where the form should placed into and id of the form.-->
8 8   <script src="https://demo7.formcycle.eu/formcycle/form/include.js?auto=1&form_container_id=content&form_id=564&form_base=https://demo7.formcycle.eu/formcycle"></script>
9 9   <style>
10 - h1.page, p.page {
10 + h1, p {
11 11   text-align: center;
12 12   }
13 13   </style>
... ... @@ -14,8 +14,8 @@
14 14   </head>
15 15  
16 16   <body class="body">
17 - <h1 class="page">Beispielwebseite</h1>
18 - <p class="page">Mit dem obenstehenden Code kann ein FORMCYCLE Formular per AJAX in die Website geladen werden.</p>
17 + <h1>Beispielwebseite</h1>
18 + <p>Mit dem obenstehenden Code kann ein FORMCYCLE Formular per AJAX in die Website geladen werden.</p>
19 19   <!-- this is the div where the form will be placed into -->
20 20   <div id="content"></div>
21 21   </body>