Skip to content

Commit

Permalink
Add an iframe to display quickstart_jar.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkraljevic committed Jan 8, 2014
1 parent 5381836 commit 85d9d31
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions packaging/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,29 @@
<!--This file belongs in the final build output directory living on S3.-->
<html>
<head>
<style type="text/css">
.myhelp {
width:915px;
margin-left:auto;
margin-right:auto;
display:block;
}
</style>

<script>
function autoResize(id){
var newheight;
var newwidth;

if(document.getElementById){
newheight=document.getElementById(id).contentWindow.document .body.scrollHeight;
newwidth=document.getElementById(id).contentWindow.document .body.scrollWidth;
}

document.getElementById(id).height= (newheight) + "px";
document.getElementById(id).width= (newwidth) + "px";
}

function load(id) {
//var res = "SUBST_PROJECT_VERSION".split(".");
//resource = "./".concat(res[res.length-1]).concat("/").concat(
Expand Down Expand Up @@ -140,6 +162,10 @@ <h2 align="center">
<br />
<br />

<br>
<br />
<iframe src="docs-website/newuser/quickstart_jar.html" frameborder="0" class="myhelp" id="iframe1" onLoad="autoResize('iframe1');"></iframe>


<div id="bench" style="display: none;">

Expand Down

0 comments on commit 85d9d31

Please sign in to comment.