Hello,
I've read messages on the forum and I got mixed information so I am posting this thread.
I just started working with iScroll 4 and I'm having some issues on desktop. The script works perfectly on iPad and iPhone, even shows up on desktop browsers but does not scroll with mouse.
On Google Chrome only works if I enable Touch Events making it possible to drag.
I have tryed using iScroll3 and desktopCompatibility but that didn't work either.
this is code inserted in the head section of the document:
<script type="text/javascript" src="<?php echo JS_URI?>iscroll.js"></script>
<script type="text/javascript">
var content, sidebar;
function loaded() {
content = new iScroll('content', {bounce: true, scrollbarClass: 'codiScrollbar', checkDOMChanges: true });
sidebar = new iScroll('sidebar', {bounce: true, scrollbarClass: 'codiScrollbar', checkDOMChanges: true });
}
document.addEventListener('DOMContentLoaded', loaded, true);
</script>
Any advice on this?
thanks in advance,
Mario