Skip to Content
Menu
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šiť
Related Posts Replies Zobrazenia Aktivita
1
aug 19
5730
2
feb 22
10627
0
nov 22
2992
1
okt 22
5902
2
júl 22
20421