It's a rather noob question.
I was trying to rename the image sprite in the Cordova Acelerometer example in the Evothings workbench.
I changed the name:
< <img id="sprite" src="sprite.svg">
---
> <img id="sprite2" src="sprite.svg">
Then changed the initialization code:
< sprite.setDOMElement(document.getElementById('sprite'))
---
> sprite.setDOMElement(document.getElementById('sprite2'))
The image sprite is no longer displayed.
Why?
Renaming the image in the cordova accel example
Re: Renaming the image in the cordova accel example
Never mind. It was the style problem.
Return to “Questions and answers”
Who is online
Users browsing this forum: No registered users and 13 guests