So, this is kind of a noob question, but...here's my problem. I downloaded the HTML for the Hello World demo, and I've got that running. I'm trying to modify it so that there's a button you can press to do something. And I'm stuck at the 'making a button appear' stage. Adding a button is pretty straightforward. Here's the part I've changed from HelloWorld.html:
<body>
<div id="button">
<script>
var myButton = document.createElement("input");
myButton.type = "button";
myButton.value = "Click here";
document.getElementById("button").appendChild(myButton);
</script>
</div>
<div id="cesiumContainer"></div>
<script>
var cesiumWidget = new Cesium.CesiumWidget('cesiumContainer');
</script>
</body>
The problem is that, without fail, the CesiumWidget appears on top of the button. I can tell because if I comment out the line creating the CesiumWidget, the button is right there. Even if I try 'myButton.style.zIndex=9999', it's still hidden. So, is there some way in Cesium for adding arbitrary elements to the interface? Or is there a way to make the JavaScript button overlay the Cesium widget? I've tried the documentation and tutorials and haven't found anything to help me here.