Iframe without a double scrollbar

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dirty F
    Too lazy to set a custom title
    • Jul 2001
    • 59204

    #1

    Iframe without a double scrollbar

    Code:
    <body topmargin="0" leftmargin="0">
    
    <P ALIGN=center><IFRAME SRC="http://www.site.com" width="100%" height="100%"></IFRAME></P>
    This iframe stops the scrolling of the original page and puts an extra scrollbar on the right. So there are 2 scrollbars, one working and one that doesnt.

    Is there a way to fix this? Just so that the original scrollbar works and a second scrollbar wont show up?
  • XxXotic
    Confirmed User
    • Jun 2002
    • 8500

    #2
    add

    border="0" frameborder="0" in the same line i-f-rame source
    Oxeo - Serious Hosting For Serious Webmasters. iCQ:135.887013

    Comment

    • Dirty F
      Too lazy to set a custom title
      • Jul 2001
      • 59204

      #3
      Originally posted by XxXotic
      add

      border="0" frameborder="0" in the same line i-f-rame source
      Same thing...double scrollbar :/

      Comment

      • XxXotic
        Confirmed User
        • Jun 2002
        • 8500

        #4
        scratch that, scrolling="no" is what u need, my bad it's still early
        Oxeo - Serious Hosting For Serious Webmasters. iCQ:135.887013

        Comment

        • XxXotic
          Confirmed User
          • Jun 2002
          • 8500

          #5
          otherwise, you'll need to set the frames width or height as an actual # or % to remove only one scrollbar. it would need to be as wide or high as the page you're loading inframe
          Oxeo - Serious Hosting For Serious Webmasters. iCQ:135.887013

          Comment

          • Dirty F
            Too lazy to set a custom title
            • Jul 2001
            • 59204

            #6
            Originally posted by XxXotic
            scratch that, scrolling="no" is what u need, my bad it's still early
            Extra scrollbar dissapears, which is good but now the original scrollbar wont work and it needs to work because its a long page.

            Comment

            • Dirty F
              Too lazy to set a custom title
              • Jul 2001
              • 59204

              #7
              Originally posted by XxXotic
              otherwise, you'll need to set the frames width or height as an actual # or % to remove only one scrollbar. it would need to be as wide or high as the page you're loading inframe
              Well that sucks because wouldnt that look different on every monitor with a different size?

              Comment

              • XxXotic
                Confirmed User
                • Jun 2002
                • 8500

                #8
                Originally posted by Franck
                Extra scrollbar dissapears, which is good but now the original scrollbar wont work and it needs to work because its a long page.
                then set the scroll to "yes" and set the width to a perm size thats wide enough to load what u need, up/down scroll will happen if needed
                Oxeo - Serious Hosting For Serious Webmasters. iCQ:135.887013

                Comment

                • XxXotic
                  Confirmed User
                  • Jun 2002
                  • 8500

                  #9
                  Originally posted by Franck
                  Well that sucks because wouldnt that look different on every monitor with a different size?
                  your page is gonna look different with diff size monitors anyway. think of it as a table, a table 200x200 is 200x200 regardless of my resolution
                  Oxeo - Serious Hosting For Serious Webmasters. iCQ:135.887013

                  Comment

                  • Dirty F
                    Too lazy to set a custom title
                    • Jul 2001
                    • 59204

                    #10
                    Originally posted by XxXotic
                    your page is gonna look different with diff size monitors anyway. think of it as a table, a table 200x200 is 200x200 regardless of my resolution
                    Well no, not really...i mean. now it loads 100%, not a fixed width/height. I want it to be 100% no matter what monitor resolution.

                    Comment

                    • XxXotic
                      Confirmed User
                      • Jun 2002
                      • 8500

                      #11
                      Originally posted by Franck
                      Well no, not really...i mean. now it loads 100%, not a fixed width/height. I want it to be 100% no matter what monitor resolution.
                      then set frame width or height to 99 or 100%

                      u have an example of what yer trying to do? would be easier for me to figure out if i could see what it was you're doin

                      135887013 if u wanna hit me up
                      Last edited by XxXotic; 02-01-2005, 06:02 AM.
                      Oxeo - Serious Hosting For Serious Webmasters. iCQ:135.887013

                      Comment

                      • Dirty F
                        Too lazy to set a custom title
                        • Jul 2001
                        • 59204

                        #12
                        Originally posted by XxXotic
                        then set frame width or height to 99 or 100%
                        But thats what i have now...i lost you :/

                        Comment

                        • psyko514
                          See sig. Join Epic Cash.
                          • Oct 2002
                          • 22366

                          #13
                          Ok, I'm confused (as XxXotic said, it's early). When you say double scrollbar, do you mean a vertical and horizontal scrollbar within the iframe? Or one horizontal within the iframe and one on the page containing the iframe?

                          What you can try is scrolling="auto". That way, only the scrollbars required by the surfer's resolution will display.

                          Bad Girl Bucks
                          - 50% Revshare through CCBill.
                          Promote BrandyDDD, Pixie's Pillows, Action Allie and more!

                          Phoenix Forum Pics | Webmaster Access Montreal pics
                          email: psyko514(a)gmail.com | icq: 214-702-014

                          Comment

                          • Dirty F
                            Too lazy to set a custom title
                            • Jul 2001
                            • 59204

                            #14
                            Hitting you up now

                            Comment

                            • Dirty F
                              Too lazy to set a custom title
                              • Jul 2001
                              • 59204

                              #15
                              Originally posted by psyko514
                              one horizontal within the iframe and one on the page containing the iframe
                              Yup, that one.

                              Comment

                              • Dirty F
                                Too lazy to set a custom title
                                • Jul 2001
                                • 59204

                                #16
                                Thanks for the help man, awesome!

                                Comment

                                • psyko514
                                  See sig. Join Epic Cash.
                                  • Oct 2002
                                  • 22366

                                  #17
                                  edit: nevermind

                                  Bad Girl Bucks
                                  - 50% Revshare through CCBill.
                                  Promote BrandyDDD, Pixie's Pillows, Action Allie and more!

                                  Phoenix Forum Pics | Webmaster Access Montreal pics
                                  email: psyko514(a)gmail.com | icq: 214-702-014

                                  Comment

                                  • XxXotic
                                    Confirmed User
                                    • Jun 2002
                                    • 8500

                                    #18
                                    Originally posted by Franck
                                    Thanks for the help man, awesome!
                                    glad I could be of service
                                    Oxeo - Serious Hosting For Serious Webmasters. iCQ:135.887013

                                    Comment

                                    Working...