Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to make this scroll up or down

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #38708
    johnjf
    Member

    I’m using this news ticker feed that scrolls right to left. I’m trying to get it to scroll up instead. How can I achieve this?

    $(function() {
    $('#ticker-1').carouFredSel({
    width: 1000,
    align: false,
    items: {
    width: 'variable',
    height: 35,
    visible: 1
    },
    scroll: {
    delay: 1000,
    easing: 'linear',
    items: 1,
    duration: 0.07,
    pauseDuration: 0,
    pauseOnHover: 'immediate'
    }
    });

    $('#ticker-2').carouFredSel({
    width: 1000,
    align: false,
    circular: false,
    items: {
    width: 'variable',
    height: 35,
    visible: 2
    },
    scroll: {
    delay: 1000,
    easing: 'linear',
    items: 1,
    duration: 0.07,
    pauseDuration: 0,
    pauseOnHover: 'immediate'
    }
    });

    // set carousels to be 100% wide
    $('.caroufredsel_wrapper').css('width', '100%');

    // set a large width on the last DD so the ticker won't show the first item at the end
    $('#ticker-2 dd:last').width(2000);
    });
    #141660
    ScutuMix
    Member

    Hi,

    I’m using the same code for my website.

    Do you know how can I put a link on the ticker ?

    #141668
    ScutuMix
    Member

    I just noticed .. this ticker is not scrolling if is loaded as an iFrame, could you please help me to fix that ?

    Regarding the link I solved the problem.

    Thanks,

    #141669
    Paulie_D
    Member

    Perhaps you could share a link to a live site?

    #141673
    ScutuMix
    Member

    I was talking too fast.. problem solved. It’s working perfectly as iframe.

    I was loading the wrong js file on the server and the scroll didn’t work. :))

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.