Jason Levine schrieb:
> I've updated JTicker to 0.5 Beta now.  I added the ability to have multiple 
> tickers on a single page.  This was a feature I really wanted to add and had 
> to learn a lot of new JavaScript to implement it.  So it was a win-win 
> situation for me.  ;-)   I hope you like it too:
>
> http://www.jasons-toolbox.com/JTicker/
>   
Nice. Something that I see quite often in plugins and is usually solved 
different everytime: Customizing animations. In your case, two options 
'transition' and 'speed' are provided. I'd like to see a more generic 
approach to this, that can be applied cross-plugin.
My first idea is to simply pass a hash through to animate(), eg:

$().jticker({
    animate: {fade: "slow"}
}

And then using that option with something like this:
$().animate(this.settings.animate);

Unfortuanetely, it is not as easy as that, but maybe this gives a good 
starting point to find a more generic solution.

-- Jörn

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to