Prev and Next problem

View: New views
4 Messages — Rating Filter:   Alert me  

Prev and Next problem

by debussy007 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have a problem to make this plugin running correctly for my web site.

I have been trying for 2 days now, and I'm hopeless, that's why I am looking for a kind soul here who can eventually help me!

Here is a demo I made :
http://matthew16.free.fr/jcarousel/jcarousel.html

These are my settings :
                        scroll: 1,
                        auto:7,
                        visible:7,
                        animation: 'slow',
                        wrap:'last'

But as you can see in the demo, it is scrolling 1 picture only the first time, then it is scrolling two pictures, then it is scrolling more pictures. Also if you try to go to the previous image after it scrolled two times, it is not going to the previous image but is going forward.

I think I must change something here :
.jcarousel-item {
    float: left;
    list-style: none;
    /* We set the width/height explicitly. No width/height causes infinite loops. */
    width: 94px;
    height: 180px;
}

I tried but I have no correct results.

Please! It is my dream to have this running now (yes I am so desperate:)) !

Any help ??

Thank you !!

Re: Prev and Next problem

by jsor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

that happens due to a bug in jQuery 1.2. You either have to wait for 1.2.1 (which is scheduled for this weekend) or use the older version delivered with jCarousel.

debussy007 wrote:
Hello,

I have a problem to make this plugin running correctly for my web site.

I have been trying for 2 days now, and I'm hopeless, that's why I am looking for a kind soul here who can eventually help me!

Here is a demo I made :
http://matthew16.free.fr/jcarousel/jcarousel.html

These are my settings :
                        scroll: 1,
                        auto:7,
                        visible:7,
                        animation: 'slow',
                        wrap:'last'

But as you can see in the demo, it is scrolling 1 picture only the first time, then it is scrolling two pictures, then it is scrolling more pictures. Also if you try to go to the previous image after it scrolled two times, it is not going to the previous image but is going forward.

I think I must change something here :
.jcarousel-item {
    float: left;
    list-style: none;
    /* We set the width/height explicitly. No width/height causes infinite loops. */
    width: 94px;
    height: 180px;
}

I tried but I have no correct results.

Please! It is my dream to have this running now (yes I am so desperate:)) !

Any help ??

Thank you !!

Re: Prev and Next problem

by debussy007 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you for your reply Jan!

So I was getting headache for nothing :-)

Anyway I seem to have some undesired effects with older jquery, I'll wait 1.2.1 though and will be back on this subject.



Hi,

that happens due to a bug in jQuery 1.2. You either have to wait for 1.2.1 (which is scheduled for this weekend) or use the older version delivered with jCarousel.

debussy007 wrote:
Hello,

I have a problem to make this plugin running correctly for my web site.

I have been trying for 2 days now, and I'm hopeless, that's why I am looking for a kind soul here who can eventually help me!

Here is a demo I made :
http://matthew16.free.fr/jcarousel/jcarousel.html

These are my settings :
                        scroll: 1,
                        auto:7,
                        visible:7,
                        animation: 'slow',
                        wrap:'last'

But as you can see in the demo, it is scrolling 1 picture only the first time, then it is scrolling two pictures, then it is scrolling more pictures. Also if you try to go to the previous image after it scrolled two times, it is not going to the previous image but is going forward.

I think I must change something here :
.jcarousel-item {
    float: left;
    list-style: none;
    /* We set the width/height explicitly. No width/height causes infinite loops. */
    width: 94px;
    height: 180px;
}

I tried but I have no correct results.

Please! It is my dream to have this running now (yes I am so desperate:)) !

Any help ??

Thank you !!


Re: Prev and Next problem

by debussy007 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Indeed, it works great with 1.2.1  :-))

I had to add some features though...

I wanted an autoscrolling after a specific amount of time,
also it pass a random number of images when auto-scrolling.

Something like this ... :

jQuery('#mycarousel').jcarousel({
        scroll: 1,
        scrollAutoMin: 1,
        scrollAutoMax: 6,
        auto:4,
        autoAfterClick:10,
        visible:9,
        animation: 'slow',
        wrap:'last'
});

It scrolls through 1 to 6 photo's randomly,
it scrolls automatically after 4 seconds, but when a user clicks on next or prev it scrolls after 10 seconds.

Thanks Jan.
Matthew.


Hi,

that happens due to a bug in jQuery 1.2. You either have to wait for 1.2.1 (which is scheduled for this weekend) or use the older version delivered with jCarousel.

debussy007 wrote:
Hello,

I have a problem to make this plugin running correctly for my web site.

I have been trying for 2 days now, and I'm hopeless, that's why I am looking for a kind soul here who can eventually help me!

Here is a demo I made :
http://matthew16.free.fr/jcarousel/jcarousel.html

These are my settings :
                        scroll: 1,
                        auto:7,
                        visible:7,
                        animation: 'slow',
                        wrap:'last'

But as you can see in the demo, it is scrolling 1 picture only the first time, then it is scrolling two pictures, then it is scrolling more pictures. Also if you try to go to the previous image after it scrolled two times, it is not going to the previous image but is going forward.

I think I must change something here :
.jcarousel-item {
    float: left;
    list-style: none;
    /* We set the width/height explicitly. No width/height causes infinite loops. */
    width: 94px;
    height: 180px;
}

I tried but I have no correct results.

Please! It is my dream to have this running now (yes I am so desperate:)) !

Any help ??

Thank you !!