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

How to get Multiple partial iframes of the same page

Discussion in 'HTML & JavaScript' started by 4IMaffair, Jan 23, 2012.

  1. 4IMaffair

    4IMaffair Newbie

    Joined:
    Nov 15, 2011
    Messages:
    31
    Likes Received:
    4
    Occupation:
    IM affair
    Location:
    Behind Keyboard
    I'm trying to create multiple partial iframes of a capture page on a new parent page.

    The layout of the page is such that its not possible to simply capture the whole page in one Iframe - as there are graphics I don't want to display from the original.

    The first iframe seems to work fine, although other iframes designed to capture areas further down the page do not go fetch correctly.

    However, the iframe locations across the page are correct.. it is simply the distance down the page that is not resolved.

    XXXXXX represents my parent URL.. I have taken it out to protect my campaign.

    If anyone could offer any solutions I would be very grateful!

    Code:
    <div style='overflow: hidden; width: 331px; height: 333px; position: relative;' id='odiv'>
    
    <iframe id='bframe'  name='bframe' src='XXXXXX' style='border: 0pt none ; left: -722px; top: -139px; position: absolute; width: 1273px; height: 617px;' scrolling='no'></iframe></div>
    Graphic
    <div style='overflow: hidden; width: 99px; height: 229px; position: relative;' id='odiv'>
    
    <iframe id='bframe1'  name='bframe1' src='XXXXXX' style='border: 0pt none ; left: -882px; top: -200px; position: absolute; width: 1273px; height: 617px;' scrolling='no'></iframe></div>
    Graphic
    <div style='overflow: hidden; width: 106px; height: 41px; position: relative;' id='odiv'>
    
    <iframe id='bframe2'  name='bframe2' src='XXXXXX' style='border: 0pt none ; left: -505px; top: -436px; position: absolute; width: 1273px; height: 617px;' scrolling='no'></iframe></div>
    </body></html>
     
  2. n3xus

    n3xus Junior Member

    Joined:
    Apr 19, 2009
    Messages:
    121
    Likes Received:
    31
    search for cake slice. its a nifty tool that helps you select different regions of a page and exports an iframe
     
  3. artizhay

    artizhay BANNED BANNED

    Joined:
    Nov 21, 2010
    Messages:
    1,867
    Likes Received:
    1,335
    Yes, just use Cakeslice as it's free. However, if you can get your hands on it, GODcpa is better for cross-browser compatibility whereas Cakeslice doesn't handle it very well.
     
  4. 4IMaffair

    4IMaffair Newbie

    Joined:
    Nov 15, 2011
    Messages:
    31
    Likes Received:
    4
    Occupation:
    IM affair
    Location:
    Behind Keyboard
    For some reason cakeslice won't let me scroll down the page to iframe the other parts of the submit I was trying to include :l back to the drawing board.
     
  5. mungus

    mungus Regular Member

    Joined:
    Aug 17, 2010
    Messages:
    332
    Likes Received:
    122
    Hold the space bar and scoll down as normal it should work, i had this prob for ages too nearly had a stroke trying to get the shit to work lol.
     
    • Thanks Thanks x 2
  6. 4IMaffair

    4IMaffair Newbie

    Joined:
    Nov 15, 2011
    Messages:
    31
    Likes Received:
    4
    Occupation:
    IM affair
    Location:
    Behind Keyboard
    Thank you!

     
  7. kokoloko75

    kokoloko75 Elite Member

    Joined:
    Jan 1, 2011
    Messages:
    1,628
    Likes Received:
    1,936
    Occupation:
    Design director
    Location:
    Paris (France)
    CakeSlice :
    Code:
    http://blackhat pwnage.com/cutit.html
    (Remove space)

    Beny
     
    • Thanks Thanks x 1
  8. 4IMaffair

    4IMaffair Newbie

    Joined:
    Nov 15, 2011
    Messages:
    31
    Likes Received:
    4
    Occupation:
    IM affair
    Location:
    Behind Keyboard
    Did a bit of testing.. if you iframe multiple parts of an offer - the 3rd party site regards each iframe as a different session.

    So when you come to hit submit on the 4th iframe or w.e the 3rd party site site will not recognise the info in the fields of iframe 1-2.

    Possible solutions - link all iframes to one session with the 3rd party site OR create 1 complete iframe (MaxBounty approved) and produce a graphic overlay that blanks out all content other than the variable fields.

    Has anyone else found similar?
     
  9. artizhay

    artizhay BANNED BANNED

    Joined:
    Nov 21, 2010
    Messages:
    1,867
    Likes Received:
    1,335
    I am curious as to how you will link all iframes to one session. The data typed in one iframe will never be accessible in another iframe, even from the advertiser's end, unless they created a custom API for you which I doubt they will even consider unless you are bringing in legit leads by the bucketload.

    I don't know any CPA that will let you deliberately make a iframe and manipulate its output by overlaying div blocks or other types of overlays. You could always ask, but you will likely need to go blackhat with that.

    Alternatively, if you're up for it, you can see if the offer has javascript exploits, then follow my http://www.blackhatworld.com/blackhat-seo/black-hat-seo-tools/280146-tutorial-auto-fill-submit-cpa-forms.html tutorial to create a custom form on your site then auto-submit the data to the offer.