jQuery UI dialog - Outer window scrolls while scrolling inside the dialog -
I am using a dialogue to show a page a popup. When I scroll inside the popup and if the scroll bar comes down, parents start scrolling the page.
I have created a modal dialog using the following code.
// dialog ($ auto_pen: wrong, width: 800, height: 550, minhite: 500, macecite: 800, minwheat: 500, maxwidth: 900, modal: true, Button: {"cancel": function () {$ (this) .dialog ("off");}}}) $ ('# addNewItems'). (Function () {var currentURL = getURLOfCurrentPage () ; $ ('# Dialog') dialog ('open'); $ ("# dialog") dialog ("option" "width", 800); $ ("# dialog"). $ ("Option", "Dragable", Wrong); $ ("Option", "Model", True); $ ("# Dialog") Dialog ("Options", " $ ("Option", "title", "my title"); $ ("# modalIframeId"). Etter ("src", "http: // MyUrl "); Return Back;});
This is what I use:
$ ('#dialog'). Dialog ({autoOpen: wrong, width: 800, height: 550, minhite: 500, MaxHight: 800, Minwheat: 500, MaxWidth: 900, Model : True, button: {"cancel": function cis ("overflow", "hidden");}, close: function () {} ($) () $ ("body"). CSS ("overflow", "auto");}});
Comments
Post a Comment