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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:32:43+00:00 2026-06-11T07:32:43+00:00

I am working on a website project and I need to add a resizable

  • 0

I am working on a website project and I need to add a resizable panel like jsfiddle or hotmail (hotmail has a left panel that includes your mails, and has a right content panel that you can read your mails…)

I looked at jQuery and I tried so many times but I can’t set the handler. I just need to make a panel that can be resizable horizontally.

So how can I make this? Can you help me to complete my code (need a resizer between the left_panel and content. Resizer will resize the left_panel and of course content will be effected.)

> http://jsfiddle.net/QkZL8
  • 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-11T07:32:45+00:00Added an answer on June 11, 2026 at 7:32 am

    The fiddle doesn’t work because jQuery UI isn’t included (so jQuery UI resizable is not known), but also you made a syntax error, you should do this:

    $(resize).resizable({
        handles: 'w'
    });
    

    not this:

    $(resize).resizable({,,
        handles: 'w', 
    });
    

    As David remarks in the comments, you should make the panel itself resizable, not an in between splitter element. In the resize handler you can resize the other panel so its width is complementary to the width of the panel you are actually resizing.

    UPDATE: This should put you on the right track:

    $(resize).resizable({
        // only use the eastern handle
        handles: 'e',
        // restrict the width range
        minWidth: 120,
        maxWidth: 450,
        // resize handler updates the content panel width
        resize: function(event, ui){
            var currentWidth = ui.size.width;
          
            // this accounts for padding in the panels + 
            // borders, you could calculate this using jQuery
            var padding = 12; 
          
            // this accounts for some lag in the ui.size value, if you take this away 
            // you'll get some instable behaviour
            $(this).width(currentWidth);
          
            // set the content panel width
            $("#content").width(containerWidth - currentWidth - padding);            
        }
    });
    

    Update 2: I added a minWidth and maxWidth option to my example so you can only resize the left column within these boundaries.

    UPDATED fiddle here

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

Sidebar

Related Questions

I'm working with a website that has an asmx service with methods decorated like
How Guys I'm working on a project that need display same thing like this,
I am working with asp.net website project that some of pages need authentication. I
I've got this ASP.NET 2.0 website project in Visual Studio that I've been working
Working on a website that has Employee and Branch entities, using a database table
I'm working on a project that depends on third party controls. While opening website
I have a ASP.net Web forms project that I am working on. I need
I am currently working on a project / website and I will need to
The project that I'm currently working on involves translating a website that was written
We're working on a big ASP.NET\VB.NET website project. I need to populate three dropdownlists.

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.