views:

31

answers:

0

Hi, I have to make an iframe element from java script so it isn't scrollable anymore(the javascript function is called from a iframe inside the one that I have to change).Now it works but only on Firefox and Chrome and I must do it on IE also.

I have no alternative than to change the scroll bars to the parent iframe and to understand why, I have jquery tabs in the application and each tab loads on the same iframe. Problem came when I faced sub tabs...in this case, I need only the sub iframe to be scrollable.

In Firefox and Chrome I simply set overflow="hidden" and scrolling="no" to the parent iframe and works.

It is possible to dynamically set a iframe to have scrollbars or not through javascript in IE? Thanks, Luisa