Web Analytics Made Easy -
StatCounter Change Scrolling attribute of frame from child of that frame - CodingForum

Announcement

Collapse
No announcement yet.

Change Scrolling attribute of frame from child of that frame

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Hmm... try something like this:

    parent.framename.overflow=hidden

    Comment


    • #3
      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

      Comment


      • #4
        After additional reading I discovered this cannot be done.

        Comment

        Working...
        X