PhoneGap doesn’t like my CSS. Or some of it, anyway.
My intent was simple: use the accelerometer to call a function that changes the image displayed on the screen. When the image failed to refresh, I went simpler: set “onmousedown” to run the displayImage() function that refreshes the image. Still no luck.
But when I deleted the CSS reference to the image’s class, everything worked splendidly. What gives?
Here’s the CSS I deleted:
Somewhere in there lies the problem. Time to delete it all, and add it back, one suspicious line at a time.