Does anyone know if there is a way to disable scroll bars in the jquery dialog box? The content that I have in the div is 300 px but the dialog is set to 200px. It automatically puts the scrollbars but I do not want them. I will add it myself to the second div that makes it bigger than the window. Any help is appreciated.
The jQuery scrollbar is one of the jQuery library plugins that can be used for to create custom scrollbars with the help of some html elements like div. Additionally, the div tag used as the scroll role for drag and drop events and its easily customizes for while changing the div tag styles.
A scrollbar is an interaction technique or widget in which continuous text, pictures, or any other content can be scrolled in a predetermined direction (up, down, left, or right) on a computer display, window, or viewport so that all of the content can be viewed, even if only a fraction of the content can be seen on a ...
I solved the problem like this:
.dialog({ title: $(this).attr("data-dialog-title"), closeOnEscape: true, close: function () { $(this).remove() }, draggable: true, position: 'center', width: 500, height: 'auto', modal: true, open: function (event, ui) { $('#myDialogId').css('overflow', 'hidden'); //this line does the actual hiding } });
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With