Von Version 9.1
bearbeitet von gru
am 05.10.2022, 13:34
Änderungskommentar: Neuen Anhang iframe.html hochladen
Auf Version 11.1
bearbeitet von gru
am 05.10.2022, 13:51
Änderungskommentar: Neuen Anhang iframe.html hochladen

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -53,12 +53,26 @@
53 53   text-align:center;
54 54   }
55 55  
56 - span.box{
57 - display: block;
58 - padding: 20px;
56 + .resizer {
57 + display:flex;
58 + margin:0;
59 + padding:0;
60 + resize:both;
61 + overflow:hidden
59 59   }
63 +
64 + .resizer > .resized {
65 + flex-grow:1;
66 + margin:0;
67 + padding:0;
68 + border:0;
69 + width: 100%;
70 + height: inherit;
71 + }
72 + .border { border:4px dashed black; }
60 60   </style>
61 61  
62 -
63 - <iframe id="customerdemo" style="width:100%; height:900px" src="https://help7.formcycle.eu/xwiki/bin/download/Examples/IncludeAJAX/iframe.html"></iframe>
75 + <div class="resizer border" style="height: 1000px;">
76 + <iframe id="customerdemo" class="resized" src="https://help7.formcycle.eu/xwiki/bin/download/Examples/IncludeAJAX/iframe.html"></iframe>
77 + </div>
64 64  {{/html}}
iframe.html
Größe
... ... @@ -1,1 +1,1 @@
1 -788 bytes
1 +893 bytes
Inhalt
... ... @@ -6,11 +6,16 @@
6 6   <script src="https://demo7.formcycle.eu/formcycle/form/includes/010-jquery-min.js?_nc=1637667410192"></script>
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 + <style>
10 + h1.page, p.page {
11 + text-align: center;
12 + }
13 + </style>
9 9   </head>
10 10  
11 11   <body class="body">
12 - <h1>Beispielwebseite</h1>
13 - <p>Mit dem obenstehenden Code kann ein FORMCYCLE Formular per AJAX in die Website geladen werden.</p>
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>
14 14   <!-- this is the div where the form will be placed into -->
15 15   <div id="content"></div>
16 16   </body>