C
Chel
Guest
Good day, can you find out how you can place 2 applications html5 on one page? Only 1 application works, when placing the second image on the same page, it does not work
here's the code for one
<html>
<canvas id="canvas" width="999" height="499">
</canvas>
<script id='edit_src' src='kalkul/Kalk_okon.js'></script>
<script>
if(screen.width>1000)
{
edit_src:document.getElementById('edit_src').setAttribute('src', 'kalkul/Kalk_okon.js')
window.onload = GameMaker_Init;
}
else
{
window.onload = GameMaker_Init;
}
</script>
</html>
here's the code for one
<html>
<canvas id="canvas" width="999" height="499">
</canvas>
<script id='edit_src' src='kalkul/Kalk_okon.js'></script>
<script>
if(screen.width>1000)
{
edit_src:document.getElementById('edit_src').setAttribute('src', 'kalkul/Kalk_okon.js')
window.onload = GameMaker_Init;
}
else
{
window.onload = GameMaker_Init;
}
</script>
</html>