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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2002
    Location
    Dublin, Ireland
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    adding scrollbars to an open page

    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!

  • #2
    New to the CF scene
    Join Date
    Aug 2002
    Location
    Dublin, Ireland
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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';


  •  

    Posting Permissions

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