Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged

This is my code but it is not working

screen.js

        onload: function () {
            if (this.src == '123.jpg'){
            this.src = 'mypic.jpg';
            }
        },
pos.xml

<div style='text-align:center'>
                    <img id='myPic' src='123.jpg' style=" width:100%;height:50%;"/>
                </div>

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
srp 19
5600
2
úno 22
10411
0
lis 22
2913
1
říj 22
5695
2
čvc 22
20168