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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T04:14:42+00:00 2026-05-29T04:14:42+00:00

I have a container element which can be expanded upon being clicked. This container

  • 0

I have a container element which can be expanded upon being clicked.
This container contains some child tags.
When these child tags are reached whilst tabbing through the elements on the page I would like the container to expand to show them.

To do this I have written the following function…

$("#inlineSummaryWrapper a").focus(function(){
  $("#inlineSummaryWrapper").animate({"height":"100px"})
  });

However this doesn’t work!

If a better coder than myself could help, I would appreciate it.

Thanks in advance.

EDIT to add example markup:

<div id="inlineSummary" class="displayToggle">
  <h2>Summary</h2>
  <div id="inlineSummaryWrapper">
   <dl>
    <dt>Product:</dt>
    <dd class="define"> <span class="NA"><a href="product.aspx" tabindex="92">Required</a></span> </dd>
   </dl>
  </div>
 </div>
  • 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-29T04:14:42+00:00Added an answer on May 29, 2026 at 4:14 am

    This seems to work fine:

    <style type="text/css">
    #inlineSummaryWrapper {
        height: 50px;
        background-color: #000;
    }
    </style>
    
    <div id="inlineSummary" class="displayToggle">
        <h2>Summary</h2>
            <div id="inlineSummaryWrapper">
            <dl>
                <dt>Product:</dt>
                <dd class="define"> <span class="NA"><a href="#" tabindex="92">Required</a></span> </dd>
            </dl>
        </div>
    </div>
    
    <script type="text/javascript">
    $("#inlineSummaryWrapper a").focus(function(){
         $(this).closest("#inlineSummaryWrapper").animate({"height":"100px"});
        return false;
    });
    </script>
    

    If your javascript is above the divs, wrap it inside a:

    $(document).ready(function(){
    //javascript here
    });
    

    So that it fires off once the DOM has finished loading.

    http://jsfiddle.net/YgjzD/6/

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

Sidebar

Related Questions

I have a container element which I need to resize as its contents change.
I have one std::list<> container and these threads: One writer thread which adds elements
I have foreach function which calls specified function on every element which it contains.
I have a WSDL which contains 3 schemas inside it's types element. The schemas
I have a container element that you can drag objects around in. I want
i have some element in my container and want to save all properties of
I have a element, which is absolute positioned and has a fixed height. This
I have a container element in which I create on the fly/place() a form,
I have a Canvas element, contained within a ScrollViewer, which I'm zooming using ScaleTransform.
I have an element which may contain very big amounts of data, but I

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.