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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:04:56+00:00 2026-06-13T05:04:56+00:00

I seem to be missing something here, so if someone could explain to me

  • 0

I seem to be missing something here, so if someone could explain to me the process that is going on under the hood, I’d much appreciate it.

What I’m trying to accomplish is to get the .slideDown() effect that jQuery offers after removing the CSS on the element that hid the contents of that particular element.

I’ve created a fiddle to explain/show more of what I’m trying to do:

http://jsfiddle.net/iOnline247/4Ztpg/

Again, I’d like to know about the innards of what and why what I’m doing isn’t working. I’m sure it has something to do with the size of my brain, but let’s be nice…

Edit——
The inline styling is how the HTML is rendered from the server. I have no control over that whatsoever unfortunately.

  • 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-06-13T05:04:57+00:00Added an answer on June 13, 2026 at 5:04 am

    .slideDown() will take an element that isn’t visible and make it visible with an animation. If you first remove the style that is making it not visible, then it will appear immediately. Once it is visible .slideDown() will do nothing.

    So the question is, why are you removing the style in the first place? And why do you have an inline style set?

    If you need to override the inline style (and for some reason, can’t just remove it from the source HTML), then you can do this when your document loads:

    $(function() {
        $(".some-text").css("display","none");
    });
    

    Now your slide down will work and you don’t need to remove any classes. When you set a style with .css it will override any inline styles.

    Edit: Here’s a fiddle to demonstrate:

    http://jsfiddle.net/VjWEs/1/

    Note I wrapped your div in another div so you can see that it’s actually displaying as block when it appears. If you change the .css("display","none"); to .hide() you will preserve the inline display, but then it can’t slide down anymore, it’ll just appear.

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

Sidebar

Related Questions

I have a feeling that I'm missing something simple here but can't seem to
I seem to be missing something obvious here, why would I want more than
I'm really new to SVN and seem to be missing something here... I have
I know I must be missing something here, but I cannot seem to get
I am sure I am missing something really simple here but I cant seem
I seem to be missing something quite fundamental here and yet my code doesn't
I appear to be missing something here so I'm hoping someone can point at
Ok I feel really dumb asking this but I seem to be missing something
Maybe I'm just missing something in the docs, but it seem it's not possible
I am probably missing something obvious with this problem, but i can't seem to

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.