I made a deck, the front is:
…
<script type="text/javascript">
var mode = 1;
Update(mode);
</script>
the back is:
{{FrontSide}}
<div id='i-backside'>
the Styling is:
…
<script type="text/javascript">
var isFont = 0;
if (document.getElementById("i-backside")) { isFont = 0; }
function Update(mode) {
if (isFront) {
...
}
}
</script>
This deck works very well on windows and iphone, but it can’t work on Andriod.
On Andriod, the Front code can work:
var mode = 1;
Update(mode);
but in the Styling, function Update(mode) can work, but the code below has never been executed. Why? Thanks.
var isFont = 0;
if (document.getElementById("i-backside")) { IsFront = 0; }