sorgalla.com


jCarousel 0.2.1

Digg! Posted in Javascript by Jan on October 12, 2007 at 13:13h

I’ve just updated jCarousel to 0.2.1. The latest jQuery 1.2.1 is now bundled with the package.

Changelog | Download

18 Responses to 'jCarousel 0.2.1'

Subscribe to comments with RSS or TrackBack to 'jCarousel 0.2.1'.

  1. John Fiala said on Tuesday, October 16, 2007 at 01:39h

    I’m very happy with the update - it took care of a couple problems I was having. One thing - if you call the scroll() function with a string “1″ instead of a number 1, it really screws up the carousel.

    I mention this in the hope that it helps other folks who run into this problem.

  2. John Fiala said on Wednesday, October 17, 2007 at 16:51h

    Hi there. I have a suggested fix to jCarousel that I’d like to share with you.

    I discovered that if the items I put into the jcarousel had lists of their own, then it tended to screw up the carousel effect - the code setting it up would notice these grandchildren list item tags and count them as items in the list. What you really only want to pick up are direct children of the list. So, in jquery.jcarousel.js line 149, where you have:

    ‘var li = $(’li’, this.list);’

    If you change it to:
    ‘var li = this.list.children(’li’);’

    It fixes the problem nicely.

    Thanks - this is a great extension to jQuery, and I’ve been really impressed with how you made it so easy to extend.

  3. Jan said on Wednesday, October 17, 2007 at 20:13h

    Thanks a lot, John. Its fixed….

  4. John Fiala said on Thursday, October 18, 2007 at 18:15h

    Great. Will that fix be in 0.2.2? And do you know when that may be released? Thanks.

  5. Jan said on Thursday, October 18, 2007 at 18:58h

    I fixed that silently in the current version…

  6. Josh said on Thursday, October 25, 2007 at 19:19h

    why cant i post????

  7. Josh said on Thursday, October 25, 2007 at 19:21h

    omg, ok, question. can i use a more complex carousel structure instead of list items. replacing the with a wrapper and the with a complex structure. i want to create more of a pane carousel instead or just simple list items.

  8. Josh said on Thursday, October 25, 2007 at 19:22h

    god. replacing the ul with a wrapper div and the li with a complex div img p structure. i want to create more of a pane carousel instead or just simple list items.

  9. Jan said on Thursday, October 25, 2007 at 21:08h

    You can’t change the <ul>/ <li> structure, but you can place whatever you want inside the <li>’s.

  10. Josh said on Thursday, October 25, 2007 at 21:12h

    thank you jan, you do rock

  11. Josh said on Thursday, October 25, 2007 at 21:31h

    hmm, do i need to include the jCarousel css files? check out the site I’m working on, if you dont mind. im not sure what im doing wrong. http://www.chalet.dsbeta.com

  12. Jackslade said on Thursday, October 25, 2007 at 22:33h

    Is there a why to remove the jcarousel after attaching it to something. so say i do the following: jQuery(”#modRegBenefits”).jcarousel({
    scroll: 1,
    animation: 700,
    initCallback: modRegBenefits_initCallback,
    itemVisibleInCallback: {
    onAfterAnimation: modRegBenefits_itemVisibleInCallbackAfterAnimation
    }
    });

    Then I want to remove the carousel from jQuery(”#modRegBenefits”).

    Any ideas, is it possible?

  13. Josh said on Thursday, October 25, 2007 at 22:38h

    yes i do, got it.

  14. Craig said on Tuesday, October 30, 2007 at 21:20h

    Great tool. I have one small issue. I implemented the circular method using the callbacks and experience a “flicker” on the carousel list when carousel.remove(i) is called. I use this config:

    csl.jcarousel({
    auto: 3,
    vertical:true,
    animation:’slow’,
    wrap: ‘circular’,
    itemVisibleInCallback: {onBeforeAnimation: mycarousel_itemVisibleInCallback},
    itemVisibleOutCallback: {onAfterAnimation: mycarousel_itemVisibleOutCallback}
    });

    Any insight would be helpful.

  15. kulfi said on Wednesday, October 31, 2007 at 17:27h

    How do I change the number of images shown in the carousel? By default its 3, but I’d like to increase it (without the fancy functionality of ‘visible’).

  16. Jan said on Wednesday, October 31, 2007 at 17:53h

    That depends on the width of the clip:

    .jcarousel-clip-horizontal {
        width:  245px;
    }
    

    Just change the width to a higher number to show more images.

  17. Bob said on Thursday, November 1, 2007 at 00:56h

    Please fix the flickering issue.

    Please

  18. Josh said on Tuesday, November 6, 2007 at 00:06h

    hi jan, back again. please check out the following url where im using jcarousel to act as an image slideshow. but to the left of the clip container i have a nested navigation list that is showing underneath the clip container in IE6. the navigation shows above the clip container just fine in other modern browsers but i can’t seem to figure out why its acting up in IE6. when the page loads i can see that the navigation appears first, before the clip container appears, but its the other way around in other browsers. any ideas?

    newwinter.tnvacation.com

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: