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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:07:12+00:00 2026-06-14T14:07:12+00:00

If you check out this jsbin: http://jsbin.com/efosed/5/edit and you press Run with JS, there

  • 0

If you check out this jsbin: http://jsbin.com/efosed/5/edit and you press “Run with JS”, there will be a div that can be resized with jquery ui. Everything works like expected.
The div is placed over a “full-screen” iframe. In the linked example this iframe has: display: none.

If I modify it to display: block, and re-run the script the reziable plugin will have some strange behavior. You can try it here: http://jsbin.com/efosed/6/edit.
It will not handle mouse events correctly.
What can be the reason, and how can I fix 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-14T14:07:13+00:00Added an answer on June 14, 2026 at 2:07 pm

    You have to implement your own logic to fix iframe. One solution is to add a div over your iframe:

    DEMO

    $(function() {
      $('#resizable').resizable({
          start: function(event, ui) {
            $('<div class="ui-resizable-iframeFix" style="background: #fff;"></div>')
                .css({
                    width:'100%', height: '100%',
                    position: "absolute", opacity: "0.001", zIndex: 1000
               })
                .appendTo("body");
          },
        stop: function(event, ui) {
            $('.ui-resizable-iframeFix').remove()
          }
      });
    }); 
    

    For modern browsers which support CSS property pointer-events, there is a better solution, see code and jsbin:

    DEMO

    $(function() {
      $('#resizable').resizable({
          start: function(event, ui) {
            $('iframe').css('pointer-events','none');
             },
        stop: function(event, ui) {
            $('iframe').css('pointer-events','auto');
          }
      });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I'm looking a regular expression that will change this: [check out this URL!](http://www.reallycoolURL.com)
Check out this code sample of a button and an anchor: http://jsbin.com/ecitex/2/edit I'm trying
Check out this link: http://humorjots.com/Barry/BarryWashington.htm The part in the script that says: if(emailInput.value !=
If you check out this link (http://noahsdad.com/state-fair-texas-2011/) you'll notice that scrolling side bar to
check this page out: http://jsbin.com/itufix with IE (page automatically enables IE7 mode). Here you'll
Please check out http://jsbin.com/omuqo for a demo of this issue. When you open a
Check out this jsbin . I have a form with a custom button that
for better understanding check out this link first: http://sxsw.usehipster.com/questions/where-are-the-best-breakfast-tacos-in-austin as you can see there,
Check out this page from the New York Times: http://homedelivery.nytimes.com/HDS/learnMorePopUp.do ?mode=common.learnMorePopUp &productId=NDS &prodRate=7.40 I
Please check out this page: http://onomadesign.com/wordpress/identity-design/hans-appenzeller/ The thumbnails on the right, link to different

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.