smooth-div-scroll stops on mouseover

Looking for a simple scroll right, nothing special. My code:

<script type="text/javascript">
    // Initialize the plugin with no custom options
    $(document).ready(function () {
        // None of the options are set
        $("div#makeMeScrollable").smoothDivScroll({
            mousewheelScrolling: false,
            hotSpotScrolling: false,
            autoScrollingMode: "onstart"
        });
    });
</script>

Scrolling stops when you mouseover the right edge of the div. Happens in Chrome and IE, otherwise seems to work fine???

Answers


Change the code to:

<script type="text/javascript">
    // Initialize the plugin with no custom options
    $(document).ready(function () {
        // None of the options are set
        $("div#makeMeScrollable").smoothDivScroll({
            autoScrollDirection: "endlessloopright",
            autoScrollingMode: "always"
        });
    });
</script>

Hope this works like you intended!


Need Your Help

How to make an arrow in html5 or css

html css html5

i want to use an arrow similar to the ones in this web page http://9gag.tv/v/2753 to navigate through my web page, anyone know how it's made?