Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7849893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:40:38+00:00 2026-06-02T18:40:38+00:00

I have elements like this <div id=screen> <div class=post>Post1……etc</div> <div class=post>Post2……etc</div> <div class=post>Post3……etc</div> <div

  • 0

I have elements like this

<div id="screen">
  <div class="post">Post1......etc</div>
  <div class="post">Post2......etc</div>
  <div class="post">Post3......etc</div>
  <div class="post">Post4......etc</div>
  <div class="post">Post5......etc</div>
  <div class="post">Post6......etc</div>
  <div class="post">Post7......etc</div>
  <div class="post">Post8......etc</div>
  <div class="post">Post9......etc</div>
  <div class="post">Post10.....etc</div>
</div>

But in screen box, size is limited to show only 5 elements. So at first Post1 to Post5 will be displayed. Rest is overflow hidden. At a interval of 2 seconds next element should show by scrolling up. That is after 2 seconds this contents of screen will scroll up 1 item. Now it will show Post2 to Post6. And this continues every 2 seconds like a loop. After Post10, Post1 should show up then Post2 and so.

I donot know how to do this. I read documentation of jQuery cycle: http://jquery.malsup.com/cycle/

But i didnot how to do this. This effect is like a news scroller.

Please help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T18:40:39+00:00Added an answer on June 2, 2026 at 6:40 pm

    jCarousel is a nifty plugin for displaying tickers! But you’ll need a bit of skinning to get it displayed as per your requirements.

    To use jCarousel to get your scroller running, you’ll have to make a little modification on your current HTML structure.

    I have replaced the DIV type structure with an unordered list.

    <ul id="mycarousel" class="jcarousel jcarousel-skin-tango">
        <li>Post1......etc</li>
        <li>Post2......etc</li>
        <li>Post3......etc</li>
        <li>Post4......etc</li>
        <li>Post5......etc</li>
        <li>Post6......etc</li>
        <li>Post7......etc</li>
        <li>Post8......etc</li>
        <li>Post9......etc</li>
    </ul>
    

    To run this plugin at its very basic, you’ll need to add the jCarousel script and a CSS theme to your page (I’ve used jCarousel’s Tango theme).

    Here’s how you use the plugin:

    $(document).ready(function(){
        $('#mycarousel').jcarousel({
            vertical: true,    //Display a vertical carousel
            auto: 2,    //Scroll up automatically after every 2 seconds
            scroll: 1,    //No. of items to scroll up
            visible: 5,    //No. of visible items
            wrap: 'last'    //Go back to the 1st items after you've scrolled down to the last item
        });
    });
    

    You will need to modify the CSS for the plugin to display it as per your need though.

    Here’s a fiddle I created using jCarousel: http://jsfiddle.net/kayen/VFdL8/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several div elements like this: <div class=newsContainer> <div class=deleteBoxIcon> <img alt=Delete src=close_mark.png>
I have a html markup with some <div> elements like this: <div id=1 class=classic>i
I have an element like this: <div id=foo_<?php echo $id;?> class=hidden></div> I'm trying if
I have a few list elements, like this: <li class=item> <a class=toggle><h4>ämne<small>2010-04-17 kl 12:54
I have an element like this: <span class=tool_tip title=The full title>The ful&#8230;</span> This seems
I have a bunch of elements like this: <div></div> <span></span> <table></table> <div></div> <span></span> <div></div>
I have a bunch of elements like the following: <div class=droppableP id=s-NSW style=width:78px; height:63px;
I have a div class that looks something like this: <div class=objects> X </div>
first some code: I have many elements like that: <section class=item> <div class=caption> </div>
For example, I have 2 elements like this: <div id=id_1>ELement 1</div> <div id=id_2>ELement 2</div>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.