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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:46:31+00:00 2026-06-12T23:46:31+00:00

I want to create a slider with jquery animate and I can’t think of

  • 0

I want to create a slider with jquery animate and I can’t think of how to rotate and animate the next elements here is my HTML

 <div id="slider">
      <a href="http://somthing/" target="_blank">
        <img src="http://something/logosponso.jpg" title="Another" />
      </a>
      <a href="http://somthing2/" target="_blank">
        <img src="http://something/logosponso2.jpg" title="Another" />
      </a>
     …
     …

I have the first a tag hidden in the css

  #slider a{
    display: none;
  }

What I want to happen is after 4 seconds of delay I fading in or slide in with some animation the next a tag and hiding the current. I want to do this until I get to the last a tag then I want to circle back around to the first a tag

I have this so far and not sure if I am heading in the right direction…any ideas?

$("#slider a").fadeIn(500).delay(3000)
  • 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-12T23:46:32+00:00Added an answer on June 12, 2026 at 11:46 pm
    $("#slider a:first").show();
    
    $('#slider a').click(function(e) {
       e.preventDefault();
       $(this).hide();
       if ($(this).is('#slider a:last')) {
          $('#slider a:first').fadeIn(500);
       } else {
          $(this).next().fadeIn(500);
       }
    });
    

    I actually not understand what you need. However, if you want to show on page $(document).ready(..., you can try code bellow and modify as you need:

    $(document).ready(function() {
       $('#slider a').each(function() {
          if ($(this).is('#slider a:first')) {
             $(this).fadeIn(500);
          } else {
             if ($(this).prev().not(':hidden')) {
                $(this).fadeIn(500);
             }
          }
       });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want create an application with animate button? how can i do? after click
I want to create a pagination script using jquery UI's slider widget. So far
I have created a jquery slider. On clicking next or back buttons .animate function
For example, i want to create Slider. jQuery.fn.Slider = function(){ var reset = function(){};
i want a jquery code which create a div contains a given content and
I want to create generic jquery ui slider so that if i pass any
I want to create a slider to control the volume of the media player.
i want create Dynamic Slideshow in Jquery i'm Write this code var ctx =
I've created your typical jQuery slider (code from here ). Everything works just fine
I'm trying to create a slider in JQuery. I have two images on top

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.