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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:51:34+00:00 2026-05-29T21:51:34+00:00

I have 2 divs (myDiv1 and myDiv2) that is located within another div (otherDiv)

  • 0

I have 2 divs (myDiv1 and myDiv2) that is located within another div (otherDiv) which is ultimately located inside an asp:TabPanel. I am using JQuery IU’s Resizable function (which can be seen here: http://jqueryui.com/demos/resizable/) on myDiv1. myDiv1 can only be resized width wise. My dilemma is that the div’s height does not resize when the width is shortened and the content spills out the bottom.

<script type="text/javascript" language="javascript">
     $(document).ready(function () {
        $('#myDiv1').resizable({ handles: 'e' });
    });
 </script>

 <asp:TabPanel>
     <div id="otherDiv">
         <div id="myDiv1">
             ... Some Stuff ...
         </div>
         <div id="myDiv2">
             ... Some Other Stuff ...
         </div>
     </div>
 </asp:TabPanel>

Anyone have any suggestions?

  • 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-29T21:51:37+00:00Added an answer on May 29, 2026 at 9:51 pm

    The resize event can be used to execute your own code whenever the user resizes the element. From here you can calculate the width and modify the height.

    $("something").resizable({
        // ...
        resize: function(event, ui){
            // do stuff here
        },
        // ...
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a list which have divs inside it.. Now when i use nested
I have a div inside an asp:Repeater: <ItemTemplate> <div id=myDiv style=display:none /> </ItemTemplate> </asp:Repeater>
I have a page (myPage.aspx) that contains a number of divs. EG. <div class=quote>something
I have divs that I want to display at specific times throughout the day.
Have three divs in a container that I want to float over a large
I have some DIVs that I am using JQuery to hide and show using
I have several divs that share a common class. If one of these divs
I have divs containing round brackets that I want to look for using the
I have divs that are initially closed. The code below then controls the opening/closing:
Is it possible to have divs located around a central point and then on

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.