PDA

View Full Version : Change Scrolling attribute of frame from child of that frame



ChristArt
Jun 20th, 2002, 04:27 PM
I want to turn scrolling off on a frame.
I need to do this with a javascript residing on the child document (src) of that frame.

I tried a few syntax combos without previal.
These all failed:

parent.frames[0].scrolling = 'no'
parent.frames[0].scrolling = 0

parent.framename.scrolling = 'no'
parent.framename.scrolling = 0

I only need this to work on a IE 6

JohnKrutsch
Jun 20th, 2002, 04:48 PM
Hmm... try something like this:

parent.framename.overflow=hidden

ChristArt
Jun 20th, 2002, 05:00 PM
Thanks for responding but wasn't it either

New list of failed syntax

parent.framename.overflow=hidden
parent.framename.overflow='hidden'
parent.framename.overflow=0
parent.framename.overflow='0'
parent.framename.overflow='no'
parent.framename.overflow=no

parent.frames[0].overflow=hidden
parent.frames[0].overflow='hidden'
parent.frames[0].overflow=0
parent.frames[0].overflow='0'
parent.frames[0].overflow='no'
parent.frames[0].overflow=no
:confused:

ChristArt
Jun 20th, 2002, 05:40 PM
After additional reading I discovered this cannot be done.