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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T05:57:08+00:00 2026-05-25T05:57:08+00:00

I have problem with the slide effect with jquery-ui. I have a sidebar with

  • 0

I have problem with the slide effect with jquery-ui. I have a sidebar with a few buttons, which when clicked will spawn another sidebar to slide out from its left edge. One of these “secondary sidebars” contains a google JS map, and sliding that one out works fine.

Another one contains discussion with comments regarding the resource the right sidebar is showing. These discussions are filled using the template plugin and the code for filling the container is called before .toggle() is called.

While the container is sliding out the container (which has background color #eee) is not “spanning over its children in height.” I’m seeing a box of perhaps 500×40 pixels with the correct background color, and the children of this container are shown as if their markup was outside the container.

Upon animation completion the container is stretched vertically to span over all its children and all is good. Unfortunately I cannot give anyone a link to a living example of this code, so what I am asking for is suggestions as to how I can start looking for the problem. This could be anything, but my guess is that it’s jquery ui’s fault.

important:
JQuery-UI’s .slideToggle() does not reproduce this error, not does .fadeIn() or .toggle(). Unfortunately .slideToggle() does not take a direction parameter.

Thanks

  • 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-25T05:57:08+00:00Added an answer on May 25, 2026 at 5:57 am

    check for floats, make suring your clearning them inside the sliding div, just before it, and just after it.

    Add the following after a floated element(s) (divs with float:left or float:right)

    Most people have a css class called “clear” or “clr”

    .clr {clear:both;}
    

    So then you can do

    <div class="clr"></div>

    It reads slightly better as you may use them alot in future 🙂

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

Sidebar

Related Questions

Hi everyone my problem today is I have a couple of buttons that slide
How do I achieve the following slide left effect with JQuery? I have a
I have a problem with the jQuery UI Slider. The issue also appears on
Using a jQuery effect, I have a layer that has a collection of HTML
I have a slide-open visible / slide-close hidden div. That effect is achieved by
I have written a simple jquery script for a content slider. My problem is
I am trying to add some slide in/out descriptions to images using jQuery as
I have built a music player which loads songs from a database in a
I have an old jQuery version (1.2.6). I can't upgrade it. The problem is
I have a random problem...after this widget rotates a complete/full cycle the fadeIn() effect

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.