jwbjnwolf
Members
-
Joined
-
Last visited
Reputation Activity
-
jwbjnwolf reacted to rbrtsmith in Preventing multiple JS carousels from conflicting with each other on same pageThey are conflicting because just throwing those scripts in like that will be resulting in things like `slideIndex` being global variables. I suggest taking some time to learn about how "variable scope" works in JavaScript.
I would also avoid anything from W3Schools, their articles are often wrong or missleading and they have no affiliation with the W3 despite what their name might suggest.