Default background color of the board is white. In one of the examples I saw that if I want to change it to blue, I can do:
board.renderer.container.style.backgroundColor = 'blue';
My question is: how do I make it transparent?
Thanks very much.
Thanks.
Let me clarify my earlier post. I have not figured out what the problem is and how to fix it. I know that it occurs with reveal.js. It is not clear how to create a jsfiddle with reveal.js since it is not available on a cdn.
.jxgbox {
background-color: transparent;
}
<script>
Reveal.initialize({
minScale: 1.0,
maxScale: 1.0
});
</script>
Thank you, Alfred. I tested it. It is difficult to know when it works because on initial load it used to problematic, but a page refresh would fix it. Sometimes you need two page refreshes. However, it seems to be working now.
I want to test more. For that purpose could you please clarify:
Should I still add the minscale: 1.0 and maxscale: 1.0 to reveal.initialize() if I am using the nightly version? I suppose the answer is a no, but just want to make sure.
Also, does it matter whether the jsxgraph and the figure code script is included before or after reveal.initialize(). Should I load it before or after reveal.initialize()?
Really appreciate your help.
Also, does it matter whether the jsxgraph and the figure code script is included before or after reveal.initialize(). Should I load it before or after reveal.initialize()?
board.resizeContainer(canvasWidth, canvasHeight, dontset, dontSetBoundingBox)