Changes for page Online Compiler

Last modified by Richard Kreissig on 2023/09/14 10:58

From version 5.1
edited by cmot
on 2014/06/26 14:52
Change comment: There is no comment for this version
To version 10.1
edited by cmot
on 2014/06/26 14:56
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,23 @@
1 1  {{html}}
2 -<iframe src="http://www.sccharts.com" width="100%" height="100%" name="SCCharts Compiler">
2 + <script type="text/javascript">
3 + function calcHeight()
4 + {
5 + //find the height of the internal page
6 + var the_height=
7 + document.getElementById('the_iframe').contentWindow.
8 + document.body.scrollHeight;
9 +
10 + //change the height of the iframe
11 + document.getElementById('the_iframe').height=
12 + the_height;
13 + }
14 +</script>
15 +
16 +
17 +<iframe scrolling="no" id="the_iframe" onLoad="calcHeight();" height="400px" frameborder="0" src="http://www.sccharts.com" name="SCCharts Compiler">
3 3   <p>Your browser does not support iframes, you can visit the content at:
4 4  <a href="http://www.sccharts.com">http://www.sccharts.com</a></p>
5 5  </iframe>
21 +
22 +
6 6  {{/html}}
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -9471242
1 +9471248
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9471242/Online Compiler
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9471248/Online Compiler