Marquee3000
Marquee3000 copied to clipboard
Reverse is not working
I had to change this line 88 to
const direction = this.reverse == 'true' ? -1 : 1;
Wait, this does not solve the issue. It moves backward, but only once. After that it's blank.
Was never able to get that option working. But if you just go to line 27 in marquee3k.js and hard code it: this.reverse = false; at least it will reverse.
a quick "workaround" for this bug: the dataset itself already triggers the direction change. no matter if its true or false. see here the original codepen without dataset: https://codepen.io/ezekielaquino/pen/jwOMqV see here with reverse dataset: https://codepen.io/flweb/pen/xxOjrLR
This is great, but the minified version does not contain the fix.
The min.js still does not contain the fix. Movement is always reversed. Changing the dataset has no effect.