View Full Version : Mootools slidegallery

10-07-2009, 09:40 PM
Hi guys, I am re-styling the family site because the angency that previously have done the site do a poor work. I am working on java to have good graphic results. here it is my code:

<script type="text/javascript">
google.load("mootools", "1");

var scroller = null;
var position = 0;

function scrolla(movement) {
position += movement;
scroller.scrollTo(250 * position, 0);

return true;

google.setOnLoadCallback(function() {
scroller = new Fx.Scroll('container');

here it is the example:

If I want to preload mootools.js in the head what I have to change in the code?

How can I set a autonomous rotation?
How can I set "stoppers" at the end of the pictures?

the finished gallery will be released open source code.
Sorry for my noobness

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum