Simple I-frame scrolling problem I have not licked.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • suesheboy
    Confirmed User
    • Nov 2002
    • 5211

    #1

    Tech Simple I-frame scrolling problem I have not licked.

    I am working on a new way to keep some sponsors honest and have more control by I-framing sites in domains I am sitting on.

    The issue I have is I have multiple scroll bars and remove one or both won’t let the whole site be seen. Some sites are worse than others. Code I am using is real simple and one of these sites can be seen at: Real Sex Glass Toys: Glass Adult Products (I know the sponsors site looks like shit)

    I spent hours on this problem and the answer must be real simple and right in front of my face.

    The I-frame also allows social media sharing and a really cool live chat feature which works like a champ and starts at $15 a month. Highly recommend as it has improved sales and retention in adult and mainstream. When you are not logged on to chat it turns it into an email.
    Adult Web Site Domain Names For Sale
    Adult Sex Toy Domain Names For Sale
    Tantric Delights, Sex Toys Blog, Tantric Sex Toys
  • EddyTheDog
    Just Doing My Own Thing
    • Jan 2011
    • 25471

    #2
    iframe {
    overflow: hidden;
    }

    In your CSS should work...
    Yay - I found the edit sig option!..

    Comment

    • suesheboy
      Confirmed User
      • Nov 2002
      • 5211

      #3
      Long pages like this one still have 2 bars: Real Sex Glass Toys: All Glass Sex Toys
      Adult Web Site Domain Names For Sale
      Adult Sex Toy Domain Names For Sale
      Tantric Delights, Sex Toys Blog, Tantric Sex Toys

      Comment

      • EddyTheDog
        Just Doing My Own Thing
        • Jan 2011
        • 25471

        #4
        Originally posted by suesheboy
        Long pages like this one still have 2 bars: Real Sex Glass Toys: All Glass Sex Toys
        I am not great on this stuff - However, setting height to 100% makes sense...
        Yay - I found the edit sig option!..

        Comment

        • RazorSharpe
          Confirmed User
          • Aug 2001
          • 2238

          #5
          Originally posted by suesheboy
          Long pages like this one still have 2 bars: Real Sex Glass Toys: All Glass Sex Toys
          Smart iframe, auto adjusting height ? Tech Forum
          Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

          Comment

          • suesheboy
            Confirmed User
            • Nov 2002
            • 5211

            #6
            Originally posted by RazorSharpe

            "Important! This 'smart iframe' will not work if you're pulling content in from something that isn't within the same hosting as the page requesting the data."

            Man it looked good though!
            Adult Web Site Domain Names For Sale
            Adult Sex Toy Domain Names For Sale
            Tantric Delights, Sex Toys Blog, Tantric Sex Toys

            Comment

            • suesheboy
              Confirmed User
              • Nov 2002
              • 5211

              #7
              Originally posted by EddyTheDog
              I am not great on this stuff - However, setting height to 100% makes sense...
              Sure does but it doesn't work - have the long page set that way now. Shows only a 150px long frame.

              Like I said I have been banging my head against the wall.
              Adult Web Site Domain Names For Sale
              Adult Sex Toy Domain Names For Sale
              Tantric Delights, Sex Toys Blog, Tantric Sex Toys

              Comment

              • Colmike9
                (>^_^)b
                • Dec 2011
                • 7217

                #8
                If the iframe
                {
                overflowdden;
                }
                mentioned by ETD doesn't work, it's probably because the overflow happens in the iFrame, which can't be edited because of XSS.

                Try putting it in a div:
                <div id="whatever" seamless="seamless" scrolling="no" style="width:100%; height: 100%;">IFRAME</div>
                Join the BEST cam affiliate program on the internet!
                I've referred over $1.7mil in spending this past year, you should join in.
                I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

                Comment

                • RazorSharpe
                  Confirmed User
                  • Aug 2001
                  • 2238

                  #9
                  Originally posted by Colmike7
                  If the iframe
                  {
                  overflowdden;
                  }
                  mentioned by ETD doesn't work, it's probably because the overflow happens in the iFrame, which can't be edited because of XSS.

                  Try putting it in a div:
                  <div id="whatever" seamless="seamless" scrolling="no" style="width:100%; height: 100%;">IFRAME</div>
                  the seamless attribute won't work in all browsers. In fact, I think it currently only works on Chrome. Using it was my first thought ...
                  Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

                  Comment

                  • Colmike9
                    (>^_^)b
                    • Dec 2011
                    • 7217

                    #10
                    Originally posted by RazorSharpe
                    the seamless attribute won't work in all browsers. In fact, I think it currently only works on Chrome. Using it was my first thought ...
                    Aw :/ What about non-seamless but still edit the height in the div?
                    Edit: nvm, I'll keep thinking..

                    Or clone the part you want from their site on your server, then iFrame that so that you can change attributes without being XSS anymore..
                    Join the BEST cam affiliate program on the internet!
                    I've referred over $1.7mil in spending this past year, you should join in.
                    I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

                    Comment

                    • suesheboy
                      Confirmed User
                      • Nov 2002
                      • 5211

                      #11
                      Originally posted by Colmike7
                      Aw :/ What about non-seamless but still edit the height in the div?
                      Edit: nvm, I'll keep thinking..

                      Or clone the part you want from their site on your server, then iFrame that so that you can change attributes without being XSS anymore..
                      Good attempt.

                      Didn't mention I am a stickler for HTML complainant and cross browser capable.

                      I swear I lost an entire day on this.

                      The idea of cloning including processing, databases etc won't go over too well I am sure!

                      Once this is working you can see what a huge advance it would be to any affiliate.
                      Adult Web Site Domain Names For Sale
                      Adult Sex Toy Domain Names For Sale
                      Tantric Delights, Sex Toys Blog, Tantric Sex Toys

                      Comment

                      • suesheboy
                        Confirmed User
                        • Nov 2002
                        • 5211

                        #12
                        Last bump for new eyes to see...

                        Anyone else see what we are missing?
                        Adult Web Site Domain Names For Sale
                        Adult Sex Toy Domain Names For Sale
                        Tantric Delights, Sex Toys Blog, Tantric Sex Toys

                        Comment

                        • daddy_fu
                          Registered User
                          • Aug 2015
                          • 15

                          #13
                          I'm not 100% sure what you're trying to do, but it you want the iframe to be essentially hidden. So the visitor to the site doesn't see the iframe. There are a couple css changes you need to make.

                          html, body {
                          height: 100%;
                          overflow: hidden;
                          }

                          iframe {
                          height: 100%;
                          }

                          Be sure to get rid of this:

                          iframe {
                          height: 100em;
                          }

                          The trick with getting an iframe to completely fill the page and look natural, is setting the html, body height to 100%.
                          Lead Developer - Nudeflix

                          Comment

                          Working...