Hi I am having trouble finding a working example for the mootools 1.2
scroller plugin here:
http://mootools.net/docs/Plugins/Scroller

The documentation looks quite simple but I can not get it to work,
here is my attempt:
http://www.ignitewebdesign.co.nz/mootools-test/
Does anyone have a working example, or tips on why my code is dead.

The code in my test page is here: (the image is about 3000px wide)

Thanks, Matt.

<script type="text/javascript" src="mootools.js"></script>
<script type="text/javascript" src="mootools-12-more.js"></script>
<script type="text/javascript">
window.addEvent('domready', function()
{
var myScroller = new Scroller('scroller');
myScroller.start();
});

</script>
</head>

<body>
<div id="container" style="width: 400px; overflow: hidden;">
    <div id="scroller">

        <img src="test.gif" id="scrollImage" />
    </div>
</div>

Reply via email to