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 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

Sample here: http://jsfiddle.net/YUhgb/ HTML <html> <body> <div class=left></div> <div class=right> <div class=container> <div class=item></div>
I have a fiddle here http://jsfiddle.net/WULsZ/1/ I load jQuery first and the code is
Please see the demo here: http://jsfiddle.net/Freewind/Vkp4U/ The html: <div class=outer> <div class=x>x</div> <div class=y>y</div>
You can see the code live here: http://jsfiddle.net/z3xV3/50/ My HTML: <div id=slider></div> <input id=sliderValue
jsFiddle here: http://jsfiddle.net/_mtr/uqMZJ/ Basically, a table with rows, only 10 or so are not
Example here: http://jsfiddle.net/7h2Dh/ Got this html: <span>Text<div id=wtf>Content</div>Text</span> I need to set div display
what is the problem with the following code? see here: http://jsfiddle.net/xKcAu/ JS: $(document).ready( function()
I am fiddling with this javascript code here http://jsfiddle.net/7Sd4W/4/ I am trying to get
I'm trying to replicate this 'onclickout simulator' script as seen here: http://jsfiddle.net/C9CL3/ As you
Here is jsfiddle ! I am trying to make user page where he can

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.