Thanks, Justin!
That works without errors, although other parts of the Class are still
written in mootols and are causing problems, but thats for a different
post.
On May 20, 1:01 pm, "Justin Perkins" <[EMAIL PROTECTED]> wrote:
> Try this:
>
> var ItemScroller = Class.create({
> initialize: fun
Try this:
var ItemScroller = Class.create({
initialize: function(el,options) {
// quit if no main element passed in
if (!$(el)) return;
this.options = Object.extend({
containerSelector: 'ul',
itemSelector: 'li',
viewPortSelector: '.wrap',
scrollerSelector: '.item_scroller'