1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Stop Iframe From Scrolling

Discussion in 'Black Hat SEO Tools' started by alitomari, Aug 8, 2009.

  1. alitomari

    alitomari Registered Member

    Joined:
    Apr 17, 2008
    Messages:
    58
    Likes Received:
    2
    So I have this Cakeslice code:

    <div style="overflow: hidden; width: 390px; height: 157px; position: relative; margin:0 auto;" id="i_div">
    <iframe name="i_frame" src="http://www.junkbusters.com/cgi-bin/privacy" style="border: 0pt none ; left: -8px; top: -215px; position: absolute; width: 1280px; height: 606px;" scrolling="no"></iframe></div></div>

    When I view it in a browser, even though you can only see the portion that I cakesliced, if I hover my mouse over that portion, I'm able to scroll around in the iframe. Is there a way I can prevent this from happening (I want to disable the scrolling inside the iframe)?
     
  2. soulchief

    soulchief Junior Member

    Joined:
    Oct 17, 2007
    Messages:
    117
    Likes Received:
    55
    Location:
    Canada
    overflow:hidden; might work, not sure.
     
  3. Nathan B

    Nathan B Regular Member

    Joined:
    Nov 22, 2008
    Messages:
    395
    Likes Received:
    298
    Occupation:
    Student/Internet Marketer
    Location:
    Colorado
    Code:
    Code:
    SCROLLING=NO
    Example:
    Code:
    <IFRAME 
         SRC="iframescrollno.html" 
         WIDTH=250 HEIGHT=150 
         SCROLLING=NO
         >
    <A HREF="iframescrollno.html">A 
    link to the page</A>
    </IFRAME>
    
     
  4. finerpleasures

    finerpleasures Regular Member

    Joined:
    Feb 17, 2009
    Messages:
    322
    Likes Received:
    97
    <div style="overflow: hidden; width: 390px; height: 157px; position: relative; margin:0 auto;" id="i_div">

    Change margin:eek: auto; -----> margin:0 disable;

    This should fix it
     
    • Thanks Thanks x 1
  5. multimedia

    multimedia Power Member

    Joined:
    Jun 22, 2009
    Messages:
    663
    Likes Received:
    887
    Occupation:
    Serious BlackHatter
    Location:
    CyBeRtRoN
    Good job pleasures ;)
     
  6. alitomari

    alitomari Registered Member

    Joined:
    Apr 17, 2008
    Messages:
    58
    Likes Received:
    2
    Hey guys I tried all of your suggestions and I'm sorry to say nothing has worked for me. How is everyone doing this because people are iframing offers without scrolling enabled.