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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:34:28+00:00 2026-05-25T02:34:28+00:00

ok so im having trouble getting this to work. nothing is happening. view the

  • 0

ok so im having trouble getting this to work. nothing is happening.

view the code here as there is too much to copy. well.. it isnt much, but too much for here.

i’ve minified it for ease. there are 36 images, but i have only used an example with 6 images.

in a nutshell, i have square images that i need to start a fade in slightly after the previous one fades in. gosh, this should be easy for me…

thank you.

$(document).ready(function() {
    setTimeout( function(){$("#slide1").hide().fadeIn(1000);}, 500);
    setTimeout( function(){$("#slide2").hide().fadeIn(1000);}, 700);
    setTimeout( function(){$("#slide3").hide().fadeIn(1000);}, 900);
    setTimeout( function(){$("#slide4").hide().fadeIn(1000);}, 1100);
    setTimeout( function(){$("#slide5").hide().fadeIn(1000);}, 1300);
    setTimeout( function(){$("#slide6").hide().fadeIn(1000);}, 1500);
});

<div style="display:none;"><img src="firstdate.jpg" /></div>
<div style="width:1000px; background-color:#666;margin-left:auto; margin-right:auto">
<div id="sliceContainer">
    <div class="sliceSpecs" id="slice1"></div>
    <div class="sliceSpecs" id="slice2"></div>
    <div class="sliceSpecs" id="slice3"></div>
    <div class="sliceSpecs" id="slice4"></div>
    <div class="sliceSpecs" id="slice5"></div>
    <div class="sliceSpecs" id="slice6"></div>
</div>
</div>

body {background-color:black}
#sliceContainer {width: 930px; height:930px; display:block; margin-left:35px; margin-right:35px}
.sliceSpecs {background:url(http://www.frankidollandthebrokentoys.com/123testing/firstdate.jpg);width:145px; height:145px; display:block; float:left; margin:5px}

#slice1 {background-position:0px 0px;}
#slice6 {background-position:145px 0px;}
#slice5 {background-position:290px 0px;}
#slice4 {background-position:435px 0px;}
#slice3 {background-position:580px 0px;}
#slice2 {background-position:725px 0px;}
  • 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-25T02:34:28+00:00Added an answer on May 25, 2026 at 2:34 am

    Try doing this in the JS box. HTML script tags are not valid there. Hide all of the .sliceSpecs first, then show them one by one. You were also trying to show slide1 etc… instead of slice1.

    $(".sliceSpecs").hide();
    
    setTimeout(function() {
        $("#slice1").fadeIn(1000);
    }, 500);
    setTimeout(function() {
        $("#slice2").fadeIn(1000);
    }, 700);
    setTimeout(function() {
        $("#slice3").fadeIn(1000);
    }, 900);
    setTimeout(function() {
        $("#slice4").fadeIn(1000);
    }, 1100);
    setTimeout(function() {
        $("#slice5").fadeIn(1000);
    }, 1300);
    setTimeout(function() {
        $("#slice6").fadeIn(1000);
    }, 1500);    
    

    Demo: http://jsfiddle.net/dRhHZ/4/

    Here is a cleaner way of doing things. You don’t need to create the elements in javascript, as hard-coding it will allow it to display even if the user has scripting disabled.

    $(".sliceSpecs").hide().each(function(i) {
        var target = $(this);
        setTimeout(function() {
            target.fadeIn(1000);
        }, 200 * i);
    });
    

    each demo: http://jsfiddle.net/dRhHZ/24/

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

Sidebar

Related Questions

Im having trouble getting this to work, here´s a quick overview of the idea.
I'm having trouble getting my code to work, I've tried about everything and nothing
I'm having some trouble getting log4net to work from ASP.NET 3.5. This is the
Having trouble getting this to work. What's strange is that I have 10 bookmarks
I'm having trouble getting this to work...it just replaces the entire page with the
I've done this before, but I'm having trouble getting this to work... I need
I am learning python and am having trouble getting this program to work correctly.
I'm having a little trouble getting this query to work: $userId = mysql_real_escape_string( $_SESSION['user_id']
I'm having trouble getting the follow code to work in Internet Explorer, it doesn't
I am having trouble getting this to work so any help would be appreciated!

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.