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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:01:24+00:00 2026-06-10T08:01:24+00:00

I am using the resizable() function from jQuery to resize a div which contains

  • 0

I am using the resizable() function from jQuery to resize a div which contains an iframe with it’s width and height set to 100% (to fill the space of the div). The problem I am having is that when I resize inwards (shrinking the div) in either direction – if I move the mouse too quickly it loses the grab (making the div fixed) and no longer resizes until I realign my mouse over the corner.

It works fine when expanding the div, I can do that by quickly moving the mouse, but it’s annoying having to carefully move the div to ensure it doesn’t get stuck.

Any ideas?

Many thanks.

EDIT:

I have uploaded the example onto my website:
http://stefandunn.co.uk/concepts/drag&drop/

Simply click on the “Webpage” widget and resize it.

  • 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-10T08:01:25+00:00Added an answer on June 10, 2026 at 8:01 am

    In the past I have the same problem and the solution/hack that I found is this:

    $("yourObjectToResize").resizable({
        //containment: 'parent',
        minWidth: 400,
        minHeight: 200,
        start: function () {
            $(".widget_box").each(function (index, element) {
                var d = $('<div class="iframeCover" style="zindex:99;position:absolute;width:100%;top:0px;left:0px;height:' + $(element).height() + 'px"></div>');
                $(element).append(d);
            });
        },
        stop: function () {
            $('.iframeCover').remove();
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using jQuery UI's resizable function to resize a div containing an image. On
I am using jQuery resizable from interface.eyecon.ro/docs/resizable for a menu on a page that
I am using JQuery and Jquery UI to create a dialog box which contains
I'm trying to call a jQuery popup window function from within an iframe. In
I'm using:   JQuery 1.6.1   JQuery UI 1.8.13   Chrome 12.0.742.100   IE 7.0.5   FF 4 I
Let's say I want to have a function which reads data from the SerialPort
Rigth now, I am using this function to load content from a different page
I am doing form submission and validation using jQuery and from server side I
I'm trying to call an asp.net method using jquery/ajax from a button click on
I'm using SWT Java. I'd like to implement layout that is resizable by user.

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.