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

  • Home
  • SEARCH
  • 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 791683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:52:36+00:00 2026-05-14T21:52:36+00:00

I’m looking for a jQuery plugin that can help me with the following: I

  • 0

I’m looking for a jQuery plugin that can help me with the following:

I have a list of images I want to use for my header but they are pretty big (height especially) and I don’t want to resize them to fit my small header div.

What I’d want is a plugin that allows the images to start at the bottom of the div (or rather the top of the image at the top of the div) and move upwards so the entire image can be seen, and once up they are shown entirely (bottom of image at bottom of div) they should “blend” (opacity toggle or something alike) with the next image and thus create a continuous loop with all the images.

I’ve looked through several plugins but have never found one that can achieve what I’m looking for (maybe I’m asking for a tad too much) but my JS is not sufficient enough to build it myself.

Thanks!

EDIT: I’ve decided to go another direction based on alexteg’s post, namely this:

            $('#header_img img').hide();
            $('#header_img img').each(function(i) {
                $(this).show().animate({
                    opacity: 1.0,
                    marginTop: '-=' + ($(this).height() - $('#header_img').height())
                }, 5000, function() {
                    $(this).animate({
                        opacity: 0.0
                    }, 1000).hide();
                });
            });

Now the only problem I’m having is that the first image triggers, and once it finishes it triggers the second but it also immediately triggers the next instead of it waiting till the entire animation is finished.

Now I know I could do this with the animation callbacks but I have no idea how to combine this with the each I’m doing to loop through my images.
Ideally it would also continue looping (first image again after the last and so on) so if anyone has any idea, it’s greatly appreciated!

  • 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-14T21:52:37+00:00Added an answer on May 14, 2026 at 9:52 pm

    The Cycle plugin can do the blending nicely. If you want the first image to be animated you could use .animate()-function with a callback that activates the cycle-plugin. You might need to hide all but the first image for the first animation, then show them and activate cycle-plugin.

    For the cycle plugin you need to put the images like this:

    <div id="header"> 
        <img src="images/header_1.jpg" width="900" height="250" /> 
        <img src="images/header_2.jpg" width="900" height="250" /> 
        <img src="images/header_3.jpg" width="900" height="250" /> 
    </div>
    

    You could then do something like:

    $(document).ready(function(){
      $('#header img').hide();
      $('#header').animate({
        opacity: 1.0,
        marginTop: '-=250',
      }, 5000, function() {
        $('#header').cycle({
          fx:   'fade',
          speed:    3000,
          timeout:  7000
        });
      });
    });
    

    You then also need the initial CSS something like:

    #header {
        height: 250px;
        overflow: hidden;
    }
    
    #header img:first-child {
        margin-top: 250px;
    }
    

    Of course you need to adjust all the names, sizes speeds etc. for your needs.

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

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I have a French site that I want to parse, but am running into
I want to count how many characters a certain string has in PHP, but
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I want use html5's new tag to play a wav file (currently only supported
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I want to construct a data frame in an Rcpp function, but when I
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has

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.