Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3342 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
ago 19
5599
2
feb 22
10409
0
nov 22
2912
1
ott 22
5694
2
lug 22
20165