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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T15:48:19+00:00 2026-06-18T15:48:19+00:00

I have a modal dialog set on an iframe using JQuery UI showing a

  • 0

I have a modal dialog set on an iframe using JQuery UI showing a separate page. When the page content height is bigger than the dialog height the scrollbars kind of show up in Firefox although a bit far to the right, when I use Internet Explorer 8 or Chrome they do not show tho. My code goes as follows:

Libraries caller code:

<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>   
<script type="text/javascript" src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script>

Code to open the dialog in a separate .js file:

function showRegDialog(url) {
    idNro = Math.floor((Math.random() * 1500) + 1);

    $(function () {

        var horizontalPadding = 0;
        var verticalPadding = 0;

        $('<iframe id="externalSite' + idNro + '" scrolling="no" frameborder="0" padding="0" margin="0" style="overflow:auto" class="externalSite" src="' + url + '" />').dialog({
            open: function () {
                $(this).siblings('.ui-dialog-titlebar').remove();
            },
            title: false,
            autoOpen: true,
            width: 750,
            height: 700,
            modal: true,
            resizable: false,
            draggable: false,
            autoResize: false,
            overlay: {
                opacity: 0.5,
                background: "black"
            }

        }).width(550).height(700);

    });
}

The opener page has:

<style type="text/css">       
html {overflow : visible} 
</style>
<body>
<ul>
<li><a href="javascript:showRegDialog('view_edit.aspx?c=1');"> Edit<img src="images/btn/edit_pv.png" align="Absbottom" border="0"/></a>                
</li>
</ul>
<!--...-->
</body>

The separate content page has:

<style type="text/css">       

.viewEdit
{
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px
}

.viewEditForm
{
margin-left: 0px;
margin-top: 0px;
margin-right: 0px; 
margin-bottom: 0px
}

.viewEditMainDiv
{
margin-left: 0px;
margin-top: 0px;
margin-right: 0px; 
margin-bottom: 0px
}

</style>    

<body class="viewEdit" style="overflow-x:hidden">
<form id="form1" class="viewEditForm">
<div class="viewEditMainDiv">
<!--...-->
</div>
</form>
</body>

How can I make those scrollbars show on IE and Chrome?. I have done a decent amount of research and seems that overflow:visible or overflow:auto would do the trick but this hasn’t worked for me yet. Could it be a bug on jquery-ui version if so How can I fix it?.

Thanks a lot for your time and help.

  • 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-18T15:48:20+00:00Added an answer on June 18, 2026 at 3:48 pm

    As silly as it looks I changed the scrolling="no" property of the rendered iframe to scrolling="yes" and it solved it.

    function showRegDialog(url) {
    
    idNro = Math.floor((Math.random() * 1500) + 1);
    $(function () { var horizontalPadding = 0;
    var verticalPadding = 0;
    
    $('<iframe id="externalSite' + idNro + '" scrolling="yes" frameborder="0" padding="0" margin="0" style="overflow:auto" class="externalSite" src="' + url + '" />').dialog({
                    open: function () {
                        $(this).siblings('.ui-dialog-titlebar').remove();
                    },
                    title: false,
                    autoOpen: true,
                    width: 750,
                    height: 700,
                    modal: true,
                    resizable: false,
                    draggable: false,
                    autoResize: false,
                    overlay: {
                        opacity: 0.5,
                        background: "black"
                    }    
                }).width(550).height(700);    
            });
    }
    

    Thank you.

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

Sidebar

Related Questions

I am using jQuery UI dialog for modal popups. I have some iframes in
I have a Jquery dialog set up with id as below. In document.ready $('#modal-id').dialog({
More jQuery Tools overlay fun... I have a yes/no jQT modal dialog set up
I have a problem with Jquery UI modal dialogs. I have modal dialog (dialogA),
I have a modal dialog plugin written in jquery, that binds to the click
I have a jquery modal dialog that displays a partial view. The partial view
We have a requirement for a modal dialog that makes the page modal except
On an Aspx page, I have this markup (setup for a jQuery UI dialog):
I have a pretty standard page which calls a ModalDialog. The modal dialog is
I am using the jquery dialog widget to display a modal box. However when

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.