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

Can anyone help me with this iframe script?

Discussion in 'HTML & JavaScript' started by marcdk, Feb 18, 2010.

  1. marcdk

    marcdk BANNED BANNED

    Joined:
    Jan 8, 2009
    Messages:
    205
    Likes Received:
    57
    Hey guys, i've been looking around to find an iframe script. i found this one..

    Code:
    <iframe name="Iframe" border="0" frameborder="0" src="forside.html" target="iframe" width="200" height="100"></iframe>
    Now if i only want to show a certain part of the page I'm iframing, like the middle of the site, how would i do that? I can manage to change the width and height of the iframe, but that doesn't solve my problem. Also how do i remove the scrollers?

    I'm trying to iframe a certain point on a website, so it looks like that it's located on my site, just like if you wanted to iframe a cpa offer.

    Any advice here?

    Thanks :)
     
  2. tacopalypse

    tacopalypse Executive VIP Jr. VIP Premium Member

    Joined:
    Nov 30, 2009
    Messages:
    980
    Likes Received:
    2,485
    Home Page:
    get cakeslice. download's on this forum somewhere
     
  3. funkymonk

    funkymonk Registered Member

    Joined:
    Jun 10, 2009
    Messages:
    56
    Likes Received:
    7
    You can place your Iframe in a DIV, which you can do in CSS. If the DIV is centered, any content within that DIV will be positioned accordingly. OR you can play around with hspace (horizontal padding) and vspace (vertical padding). To deactivate scroll, just use scrolling='no" .. see the example below:

    scrolling="no" hspace="10" vspace="10"

    I am not sure if target="iframe" is needed or not.. by default all content called in an iframe shows inside the frame.
     
  4. MLMGUROO

    MLMGUROO Regular Member

    Joined:
    Dec 24, 2009
    Messages:
    382
    Likes Received:
    466
    Just put the url of the page you want to iframe ijnto the field that appears at the upper left corner of your screen when opeing the link below:

    Code:
    http://downloadpasswords.com/cakeslice_standalone.html
    Enjoy!
     
    • Thanks Thanks x 1
  5. cc1981

    cc1981 Junior Member

    Joined:
    Feb 18, 2009
    Messages:
    129
    Likes Received:
    7
    thanks for that link!