$.fn.rolly = function(options) { var settings = { speed: 'fast', delay: 10000 } if(options) $.extend(settings, options); $.rolly.rollover(settings); }; $.rolly = function() {} $.rolly.rollover = function (settings) { $(this).children().get(0).animate( { width: 'hide', opacity: 'hide' }, settings.speed).appendTo(this).show(settings.delay); }
this doesn't work ... everything I tried didn't work... help! _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/