WordPress.org

Ready to get started?Download WordPress

Forums

Sponsors Carousel
Auto Scroll Continous Breaks Next/Previous Buttons (3 posts)

  1. Web2Guru
    Member
    Posted 1 year ago #

    Does anyone else have this issue? Can anyone say that the next/prevous buttons work well with auto scroll set to continuous? Just making sure if it is just me or not.

    When I click the next or previous button normally, it does nothing. If I click it many times, sometimes it will stop for a second, sometimes it will stop forever, and sometimes it will begin again if I click again.

    It looks like we should be able to use the buttonNextCallback and buttonPrevCallback settings to pauseAuto or stopAuto if a user clicks the button, but I can't get it to work.

    Any ideas?

    http://wordpress.org/extend/plugins/sponsors-carousel/

  2. nidheeshchandran
    Member
    Posted 1 year ago #

    same problem here.. continuous scroll disable the buttons.

  3. Web2Guru
    Member
    Posted 1 year ago #

    It's not a fix, but since the buttons are useless in this case, I have hidden them and expanded the scrolling area to the full width. Here are the additional skin styles I added to the bottom of the tango skin.css.

    .jcarousel-prev, .jcarousel-next {
        display: none !important; /* hide buttons */
    }
    .jcarousel-skin-tango .jcarousel-container-horizontal {
        padding: 20px !important; /* remove space for buttons */
        width: 900px !important; /* set to page width */
    }
    .jcarousel-skin-tango .jcarousel-clip-horizontal {
        width: 100% !important; /* use full space for carousel */
    }

    The .jcarousel-container-horizontal width setting was 90% plus the padding, which I reduced since that is where the buttons were, so you could do something like 95%, but using percents doesn't give you exact measurements and I wanted it to be exactly as wide as my theme, which is 900px, so that is what I used.

    Also not sure why .jcarousel-clip-horizontal was set to 97%, just short of the full width, I guess to put a little more white space between the images and the right arrow, but it is not necessary, and without buttons it looks better at full 100% width.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic