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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:16:06+00:00 2026-05-23T00:16:06+00:00

Here is my JSfiddle document: http://jsfiddle.net/TSM_mac/xXcZx/1/ Basically, I am trying to make the second

  • 0

Here is my JSfiddle document:

http://jsfiddle.net/TSM_mac/xXcZx/1/

Basically, I am trying to make the second div slide in as the first div slides out.

I am having a problem with my CSS, the second div (because it is float: left) goes to the next line

The way to fix it would be to make sure that they always stay on the same line, but I cant figure this out :(.

Any suggestions?

Regards,

Taylor

  • 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-23T00:16:07+00:00Added an answer on May 23, 2026 at 12:16 am

    Here is what I came up with: http://jsfiddle.net/wdm954/xXcZx/7/

    I added a <div id="wrapper"> around your other DIVs with overflow:hidden and removed the styling from #container and set its width dynamically with jQuery.

    $('#container').width(function() {
        return $('.page').width() * $('.page').length;
    });
    

    Since you have the .page class on each of your DIVs you can use use that instead of each ID.

    $('#move').live('click', function () {
        $('.page').addClass('slideLeftOut');
    });
    

    I’m not sure if it was your intention but after the webkit keyframe animation was complete it was going back to the start (Object 1). If your intention was to have “Object 2” remain in view after the animation is complete then try this…

    .slideLeftOut {
        -webkit-transition: -webkit-transform 4s linear;
        -webkit-transform: translateX(-100%);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need some help with this accordion. Please see the demo here. http://jsfiddle.net/a36RL/ $(document).ready(function()
I am fiddling with this javascript code here http://jsfiddle.net/7Sd4W/4/ I am trying to get
All of this is code is here: http://jsfiddle.net/yrgK8/ I have a news section which
Hi I have shared the code here : http://jsfiddle.net/jTAZ4/ Why am i getting the
Having some issues with my dropdown menu. Code here: http://jsfiddle.net/xY2p6/1/ Something simple I'm just
I've got a working version of my code here: http://www.jsfiddle.net/brianrhea/5Hqs3/1/ When I hover over
I have a fiddle here: http://jsfiddle.net/maniator/SZpkF/1/ The green box is supposed to move with
What I have is in my fiddle here http://jsfiddle.net/mPuj9/4/ What I tried to do
Even though the following works: http://jsfiddle.net/N7D5r/ My attempt at using the same code does
http://jsfiddle.net/ykNJ8/ This is a vanilla implementation from the CDN, developing on localhost. I cannot

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.