I would like to replace the default scrollbar of my site (<a href="http://nanisolutions.us/wordpress/mitzvah/" rel="noreferrer">THIS</a> page in particular) using a jQuery plugin called <a href="http://baijs.nl/tinyscrollbar/" rel="noreferrer">TinyScrollbar</a>. However, for some reason I'm getting the following error on the page:
You can see this error by inspecting element in Chrome.
Might anyone have any ideas why this error is occurring? The code I am using to initialize the plugin can be seen below:
Code:
jquery.tinyscrollbar.min.js:1Uncaught TypeError: Cannot read property 'offsetHeight' of undefined
You can see this error by inspecting element in Chrome.
Might anyone have any ideas why this error is occurring? The code I am using to initialize the plugin can be seen below:
Code:
$('#full-height-template-container').tinyscrollbar();