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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:59:01+00:00 2026-05-30T00:59:01+00:00

Compare this http://jsfiddle.net/AndyMP/tbYsM/1/ which works with this http://jsfiddle.net/AndyMP/tbYsM/2/ which doesn’t. The first is just

  • 0

Compare this http://jsfiddle.net/AndyMP/tbYsM/1/ which works with this http://jsfiddle.net/AndyMP/tbYsM/2/ which doesn’t.

The first is just a block of text. The second, I’ve attempted to split it into two columns next to each other. I’ve surrounded the text with tags including which is the bit that breaks it.

Any ideas what the solution is?

JQUery

    var $block1 = $(".block1");
var $block2 = $(".block2");
var $blog_slide_container = $('#blog_slide_container');
$blog_slide_container.animate({height: $block1.outerHeight()});

$(function() {
$(".left_slide").click(function() {
    $block1.stop(true, true).animate({ left: -400 }, 500, function () { $(this).hide(); });
    $blog_slide_container.animate ({height: $block2.outerHeight()});
    $block2.stop(true, true).animate({ left: 0 }, 500);

});

$(".right_slide").click(function() {
    $block1.show();
    $blog_slide_container.animate({height: $block1.outerHeight()});
    $block2.stop(true, true).animate({ left: 400 }, 500);
    $block1.stop(true, true).animate({ left: 0 }, 500);
});
});
  • 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-30T00:59:02+00:00Added an answer on May 30, 2026 at 12:59 am

    Just add a div with a clear: left; after the two floated divs. Here it is in action.

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

Sidebar

Related Questions

My jsfiddle is here http://jsfiddle.net/pedz/YG3bv/ The full page is http://jsfiddle.net/pedz/YG3bv/14/embedded/result/ This is my first
in this fiddle, http://jsfiddle.net/urfXq/79/ , if you click on the black button, it randomly
I have this code for file compares: http://jsfiddle.net/CrN6X/ Now it does what I need:
In this fiddle http://jsfiddle.net/5L8Q8/28/ , if you click the black button, it randomly selects
In this fiddle http://jsfiddle.net/CBxbT/29/ , if you click the black box, a random color
I have a script setup like this (http://jsfiddle.net/YD66s/): var countFull = new Array(0,1,2,3,4,5,6); var
Made a fiddle for this: http://jsfiddle.net/terjeto/MN4FJ/ My problem is that dragleave fires when you
i use this code in my app. just found is not correct when compare
My http_referer says this: http://www.domain.com/search/?etcetcetcetc... I need to compare my http_referer to look for
http://jsfiddle.net/CJzCA/ as you can see in the above jsfiddle the keyboard images are too

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.