Changes for page Online Compiler

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

From version 12.1
edited by cmot
on 2014/06/26 14:57
Change comment: There is no comment for this version
To version 9.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,7 +1,23 @@
1 -
1 +{{html}}
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;
2 2  
10 + //change the height of the iframe
11 + document.getElementById('the_iframe').height=
12 + the_height;
13 + }
14 +</script>
3 3  
4 4  
5 -{{html-include url="http://www.sccharts.com"/}}
17 +<iframe scrolling="no" id="the_iframe" onLoad="calcHeight();" height="100px" frameborder="0" src="http://www.sccharts.com" name="SCCharts Compiler">
18 + <p>Your browser does not support iframes, you can visit the content at:
19 +<a href="http://www.sccharts.com">http://www.sccharts.com</a></p>
20 +</iframe>
6 6  
7 -
22 +
23 +{{/html}}
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -9471317
1 +9471247
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9471317/Online Compiler
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9471247/Online Compiler