...

View Full Version : adding scrollbars to an open page



mad_a
08-08-2002, 02:38 PM
Hi,

I am trying to add scrollbars to a frame in an open window.
What I have is a frameset. One of the frames initially has scrolling set to "no". I want to be able to change this to "auto" from a js function.
I have tried
parent.document.all.GraphicContent.scrolling='auto';

and this works in IE5, but not on IE5.5

Is there any other way of coding this? or is there some reason why it might not work on IE5.5?

thanks a lot!

mad_a
08-09-2002, 04:37 PM
Well, I got it working for both IE's with

parent.document.body.scroll='auto';

that has the same effect as scrolling the embedded object.

I still can't get it to work on NN. Anyone any ideas?


thanks

Roy Sinclair
08-09-2002, 05:12 PM
Originally posted by mad_a
Well, I got it working for both IE's with

parent.document.body.scroll='auto';

that has the same effect as scrolling the embedded object.

I still can't get it to work on NN. Anyone any ideas?


thanks

Try parent.document.body.style.overflow='auto';



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum