Page 1 of 1

ScrollBars in iFrame

PostPosted: Thu Oct 01, 2015 10:46 am
by tranqui
Is it possible to hide the vertical scroll bars in an iframe object?

Thanks in advance.

Re: ScrollBars in iFrame

PostPosted: Thu Oct 01, 2015 11:01 am
by Tony Kroos
Play with different iframe style attributes... for example:
<iframe width="100%" scrolling="no" frameborder="0" marginwidth="0" marginheight="0" src="..." />

Re: ScrollBars in iFrame

PostPosted: Thu Oct 01, 2015 1:52 pm
by tranqui
I can not find where to put these options in the NeoApp Builder

Re: ScrollBars in iFrame

PostPosted: Thu Oct 01, 2015 6:18 pm
by Neosoft Support
You can create a custom style for your iFrame object. For example, go to Project > App Properties > Styles and add the following:

#iFrame1 {
overflow: hidden;
}

Replace iFrame1 above with the Id of your iFrame object.

Although, removing the scroll bars like this may not always work depending on what type of content is inside the iFrame.

Re: ScrollBars in iFrame

PostPosted: Tue Oct 20, 2015 5:40 am
by fkapnist
If you want to turn it on and off, the style overflow might work:

document.getElementById('MyIframe').style.overflow='hidden';
(The scrollbar is hidden.)

document.getElementById('MyIframe').style.overflow='';
(The scrollbar is unhidden.)