sorgalla.com


jCarousel Enhancements

Digg! Posted in Javascript by Jan on September 5, 2006 at 10:41h

Beside fixing bugs of the jCarousel beta version, i had some interesting discussions on the jQuery mailinglist. After that, i decided to implement two new features.

The guys noted it would be nice to apply jCarousel directly to
<ul> lists and let jCarousel wrap the non-semantic markup. So, jCarousel will look at the nodeName of the passed object. If its a
<ul>, it wraps the markup, if not, it assumes that the markup is wrapped manually in the document.

Additionally, jCarousel will accept 6 new callback functions (itemFirstInHandler, itemFirstOutHandler, itemLastInHandler, itemLastOutHandler, itemVisibleInHandler, itemVisibleOutHandler). The callbacks are notified on changing states of the list items.

I’m going to release the new version this week (hopefully). So, stay tuned…

Leave a Reply

Do not post support requests for jCarousel here. If you need help for a problem:
  1. Create a page where i can see your carousel in action
  2. Post it to the jQuery Mailinglist (Add the word "jCarousel" to the subject, so i can filter out mails regarding jCarousel).


Stoppt die Vorratsdatenspeicherung! Jetzt klicken & handeln!Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien: