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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T19:16:45+00:00 2026-05-28T19:16:45+00:00

Ok fine folks of Stack Overflow, I have a question and I can’t seem

  • 0

Ok fine folks of Stack Overflow, I have a question and I can’t seem to figure this out. I’ve tried for a while now, but I can’t seem to get this thing straight, and I’m hoping you can help.

Please take a look at this page:

http://ec2-50-16-99-3.compute-1.amazonaws.com/aptify/rocks/global-rocks.aspx

Notice the button towards the top of the page that says “show less info” If you click on that, this should hide two of the elements inside towards the right of each of these grey data bars, I’m calling them “rocks”.

Now, that works fine. The problem arises when I show the child “rocks” of each of these elements after I’ve already clicked on “show less info.” You can click on the “plus” button and toggle the children to see what I mean.

If you toggle the children, the elements that are supposed to hide when you click “show less info” are not hidden. But the elements who’s widths have changed ARE changed.

So the question is: if I’ve got some hidden elements by default, how do I get jQuery to hide an element that is within an element set to display: none? Is there some kind of way or method to have jQuery change the hidden elements as well so that when I toggle these new elements they are also changed?

Thanks in advance for any guidance.

SOLUTION

I got it working now, thanks to your help. Here’s my callback function (in case anyone ever runs into this issue).

$('.kpi,.edit-nav').fadeOut(200,function(){
   $(this).css('display','none');
});
  • 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-28T19:16:46+00:00Added an answer on May 28, 2026 at 7:16 pm

    I would toggle a class on each section.rock-accordion whenever “show more info” is clicked. Keep your animations, but giving the parent a class (or lack of that class) will allow you to control all of its children, not just the currently visible ones.

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

Sidebar

Related Questions

Hey fine folks of Stack Overflow. I have a bunch of unnested, unordered list
Greetings folks. I have this weird problem. In the project I'm working on now,
folks. So, I've came across this compilation error a while ago.. As there's an
This bug is really frustrating me and I am hoping the fine folks here
folks it was all working fine few day ago. But now i am getting
Code can be found here: http://www.myhorizon.ca/client_central/sortable_test.php Hello folks of Stackoverflow, I have a list
This function works fine: std::string get_str() { return std::get<0>( make_tuple(std::string(hi)) ); } But if
HI folks, I have a .net application (vb.net) and I'm using the ajax control
These fine folks are my users: http://www.youtube.com/watch?v=o4MwTvtyrUQ If you don't want to enjoy the
folks. I'm starting with CakePHP and after reviewing this tutorial ( http://book.cakephp.org/view/1543/Simple-Acl-controlled-Application ) and

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.