Board Thread:Support Requests - Getting Technical/@comment-4356266-20150801090529

So on my principal wiki I've implemented a script that creates more or less an image slider with previous and next buttons. It works well during testing, but once I commit it to the wiki it doesn't want to work. From user responses it seems that only my Firefox experiences this problem, whilst on Chrome it works fine. I don't know why is this the case. I suspect the point of failure lies where I retrieve the width of the gallery and its container.

Any help with troubleshooting the script, and finding an alternative that would work on all browsers would be much appreciated. Thanks in advance.  