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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:14:59+00:00 2026-06-14T10:14:59+00:00

I had a developer make a slideshow based off of a 960px layout design.

  • 0

I had a developer make a slideshow based off of a 960px layout design. Now, I am creating a responsive design. I have been having a very hard time fixing the slideshow load function. The content below the slideshow will slide-up and then slide-down when you click for the next img. It works great when the images are cached.

I have tried so many things, but my jQuery knowledge is a bit lacking. Does anyone have a suggestion? You can find the code and script at the following assembla link:
https://www.assembla.com/code/cfrepo/subversion/node/blob/trunk/index.html#image=JohnMerriam

http://jsfiddle.net/doobada/HDyyk/

I have tried to set the #real_display li height to equal the preloaded image, but I can’t get that figured out. I have also tried to set the #real_display li height to equal the current image, then hide the li and then set the #real_display li height to auto after the image has been loaded.

JS:

$('#real_display li:visible').hide(0); 

var customURL = window.location.href;

$('#info_box').remove();

$('#real_display').append('<div id="info_box"><ul id="social_buttons_box"></ul>'+
                                '<p>'+curr_obj["img_caption"]+'&nbsp;'+
                                '<a href="'+curr_obj["img_href"]+'">'+curr_obj["img_author"]+'</a></p></div>');

$('#social_buttons_box').hide();

setTimeout(function(){$('#social_buttons_box').fadeIn(500);}, 0);

var curr_dom_obj_li = $('#rimg_id_'+img_num);
var curr_dom_obj = curr_dom_obj_li.find('img');

if(curr_dom_obj.attr("src") == ""){
    curr_dom_obj.attr("src", curr_dom_obj.attr("link"));
}

curr_dom_obj_li.fadeIn(500);

I’m stuck and have searched everywhere for an answer.

  • 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-14T10:15:00+00:00Added an answer on June 14, 2026 at 10:15 am

    Rather than trying to determine the size of the next image and dynamically changing the height, you probably just want to preload the images with JQuery. This would give you the effect that you get once the images have been loaded that you mentioned you’re happy with.

    Preloading images with JQuery is explained here.

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

Sidebar

Related Questions

Having been an imperative developer for some years now, I had never had the
I am a long time C# developer and have had to look at some
I am a novice software developer and have only developed a few Java based
So I'm a slightly seasoned php developer and have been 'doin the damn thing'
I noticed something in Chrome the other day- I had opened Developer Tools, and
I recently had an exchange with another C++ developer about the following use of
Today I had an interview for a developer job and I had to do
I am a senior level developer but I haven't had a lot of formal
I'm a C# developer for the most part. Back in college I had classes
I heard this today during interview for java developer. I had to list some

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.