I have a myriad of inquiries and would greatly appreciate your assistance in addressing them. Despite spending countless hours attempting to solve the issue independently, I have been unsuccessful.
One question that plagues me is why, when using Google Chrome's inspect element feature and trying to insert a new code snippet into the script similar to this:
$("body").mCustomScrollbar({
theme:"rounded-dots",
**scrollInertia: 10**
});
am I encountering the following error:
Uncaught SyntaxError: Unexpected identifier
I am unable to append any additional elements. My javascript skills are limited to editing existing code snippets rather than creating from scratch.
The script I am working with can be found here:
A functioning example of my code: http://pastebin.com/sCDHwYAW
Any alterations result in malfunctioning code. Additionally, my textarea fails to display the custom scrollbar even when set to a height of 100% matching the body width.
I also desire for the image to load properly, increase the scroll speed, and have the scrollbar work on elements other than just the body for optimal functionality.