| ... |
... |
@@ -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="400px" 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}} |