Notifications

27 views

Description

On an iFrame of type Expand to Fit content, when we set the attribute "scrolling=yes", it enables both horizontal and vertical scroll bars. This document describes how to enable only the horizontal scroll bar.

Resolution

Edit the UI macro "render_content_block_iframe", 

1) Set the scrolling attribute of the iframe to no (scrolling="no"). This will disable both horizontal and vertical scroll bars.
2) Set the width attribute of the iframe to 200% (width="200%"). This will enable only the horizontal scroll bar.

<iframe width="200%" height="100%" name="${jvar_frame_name}" id="${jvar_frame_name}" frameborder="0" border="0" allowtransparency="true" src="${jvar_frame_url}" scrolling="no"/>

Article Information

Last Updated:2020-09-08 22:28:53
Published:2020-09-09