Skip to main content

Yahoo Tabbed View with iframe with autofit content (no scrollbar)

1 reply [Last post]
sgurusam
Offline
Joined: 2006-02-22
Points: 0

HI,

How to configure yahoo tabbed view with iframe property. So that iframe does not show scrollbar, but it should change height & width of iframe with same as underlying document's height & width.

Thanks
siva

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31
Points: 0

Hi,

On the pane (iframe) in question you can use the following properties:

overflowY : 'hidden'

You may also want to set:

overflow : 'hidden'

For horizontal scroll bars you can turn them off with

overflowX : 'hidden'

To set it to autosize like what you mention you can also set the properties to:

overflowY : 'auto'

These property names correspond to the CSS property names and are what are assigned to the iframe.

Please let me know if this doesn't work.

-Greg