Switching scrollbar location in iFrame

Discussion in 'Javascript' started by Matt S, Oct 15, 2006.

  1. Matt S

    Matt S Guest

    I have an advertiser that delivers content in an iFrame. Because of
    space limitations on my page, I have set the height of the iFrame to be
    half that of it's contents. The problem is that the width of the iFrame
    is 960. That means the vertical scrollbar on the right side appears off
    screen for a lot of people.

    Is it possible for me to switch the scrollbar from the right side of
    the iFrame to the left side without having access to the HTML file in
    the iFrame?


    If not, I could make a "fake iFrame" using CSS (containing the full
    size iFrame), and then hopefully be able to move the DIV's scrollbar to
    the opposite side if that is possible.
    Matt S, Oct 15, 2006
    #1
    1. Advertising

  2. On Oct 15, 12:53 am, "Matt S" <> wrote:
    > I have an advertiser that delivers content in an iFrame. Because of
    > space limitations on my page, I have set the height of the iFrame to be
    > half that of it's contents. The problem is that the width of the iFrame
    > is 960. That means the vertical scrollbar on the right side appears off
    > screen for a lot of people.


    Make your IFrame narrower.

    > Is it possible for me to switch the scrollbar from the right side of
    > the iFrame to the left side without having access to the HTML file in
    > the iFrame?


    Not easily.

    > If not, I could make a "fake iFrame" using CSS (containing the full
    > size iFrame), and then hopefully be able to move the DIV's scrollbar to
    > the opposite side if that is possible.


    Did you try it?

    --
    Randy
    One Dumm Hikk, Oct 15, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. simon lee
    Replies:
    4
    Views:
    585
    Andrew Murray
    Dec 6, 2003
  2. Alex

    ScrollBar? Does it exist just WEB ScrollBar Control?

    Alex, Apr 1, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    249
    Alvin Bruney [MVP]
    Apr 4, 2004
  3. simon lee
    Replies:
    4
    Views:
    107
    Andrew Murray
    Dec 6, 2003
  4. Daedalous
    Replies:
    3
    Views:
    653
    Daedalous
    Jan 16, 2004
  5. Replies:
    2
    Views:
    88
Loading...

Share This Page