iFrame icon indicating copy to clipboard operation
iFrame copied to clipboard

Disble scrolling?

Open cyb0man opened this issue 8 years ago • 1 comments

It would be nice if it was possible to disable scrolling on the webpage shown.

cyb0man avatar Jan 22 '17 18:01 cyb0man

Scrolling in iFrame can now be set to; auto/yes/no

Update on code;

            // Default module config.
            defaults: {
                            height:"300px",
                            width:"100%",
                            scrolling:"auto"
            },


    // Override dom generator.
    getDom: function() {
            var iframe = document.createElement("IFRAME");
            iframe.style = "border:0"
            iframe.width = this.config.width;
            iframe.height = this.config.height;
            iframe.scrolling = this.config.scrolling;
            iframe.src =  this.config.url;
            return iframe;
    }

cyb0man avatar Jan 22 '17 19:01 cyb0man