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 7179307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:06:49+00:00 2026-05-28T17:06:49+00:00

Basically I’m trying to make a a slid show in which there are only

  • 0

Basically I’m trying to make a a slid show in which there are only two text elements, one is contact no. and another is email id, which has to be changed in continuous run. There is no event like onclick or onfocus, and these elements should move vertically not horizontally.

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-05-28T17:06:50+00:00Added an answer on May 28, 2026 at 5:06 pm

    There’s probably already a jQuery plugin that does exactly what you want, but here’s something simple I came up with off the top of my head as a concept that you can implement with just a few lines.

    Put the things you want to slide as div elements inside a container div. Set the height of the container to the height of the child divs, with overflow hidden, such that only the first child div is showing; slide up the first child to hide it and automatically bring the next child into view; move the first child to the bottom of the container and make it visible again (though it won’t actually be visible yet because it is hidden below the bottom of the container); repeat forever.

    It doesn’t matter how many child divs you put because the code only ever does anything with the current first one (so I’ve shown just contact and email here but in my working demo I’ve added some extras).

    <div id="slideContainer">
        <div>Contact No: 555-666-7777</div>
        <div>Email: me@me.com</div>
    </div>
    
    <script>
    $(function() {
        $("#slideContainer").css({
            "height" : $("#slideContainer div:first").css("height"),
            "overflow" : "hidden"
        });
    
        function slide() {
            $("#slideContainer div:first").slideUp(800, function() {
                var $this = $(this);
                $this.parent().append(this);
                $this.show();
                slide();
            });
        }
        slide();  
    });
    </script>
    

    Demo: http://jsfiddle.net/VFB3C/

    Again this is just what occurred to me as I read your question, but you can no doubt do something similar using jQuery’s animation methods and/or JavaScript’s setTimeout() or setInterval() methods.

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

Sidebar

Related Questions

Basically what I'm trying to do is make a very simple vertical bullet projectile
Basically, I have a JTextPane to hold some text which I wish to style.
Basically, I want to only show these fields if checkbox is selected, if it
Basically I am developing an app which can show both the users' current location
Basically I am trying to restart a service from a php web page. Here
Basically, I'm trying to tap into the Soap pipeline in .NET 2.0 - I
Basically I'm trying to accomplish the same thing that mailto:bgates@microsoft.com does in Internet Explorer
Basically, what I'm trying to create is a page of div tags, each has
Basically there is a file called 8puzzle.py and I want to import the file
Basically I am trying to do this: <Trigger Property=Item Value={c:CollectionView.NewItemPlaceHolder}> But the syntax is

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.