mercredi 25 mars 2020

Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. at (spritespin.min.js:1)

I'm trying to create a 360 degree image spin using spritespin. But i'm getting this error at the beginning of spritespin library

```$('.spritespin').spritespin({ //in console, error points this line
source: "",
width: 1000,
height: 1000,
frames: 30,
framesX: 5,
sense: 1,
loop:false,
frame:0,
frameTime: 90,
onLoad: function () {
$('#reel00').remove();
},
scrollThreshold : 100,
responsive:true
});```

i have tried fixes mentioned in the below links, but no luck getComputedStyle failed to execute



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire