Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jun 2002
    Location
    Fort Lauderdale
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool Change Scrolling attribute of frame from child of that frame

    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

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    The Planet Earth Code Poet: True
    Posts
    282
    Thanks
    0
    Thanked 1 Time in 1 Post
    Hmm... try something like this:

    parent.framename.overflow=hidden

  • #3
    New to the CF scene
    Join Date
    Jun 2002
    Location
    Fort Lauderdale
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #4
    New to the CF scene
    Join Date
    Jun 2002
    Location
    Fort Lauderdale
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    After additional reading I discovered this cannot be done.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •