Skip to Content
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
avg. 19
5605
2
feb. 22
10415
0
nov. 22
2916
1
okt. 22
5698
2
jul. 22
20174