iFrame help

Discussion in 'HTML & Website Design' started by lovetospooge, Aug 31, 2011.

  1. #1
    Hi,

    Just need some help with iFrame, okay so I'm an affiliate for a company and was wondering why should i send all my traffic directly to them and increase my bounce rate. There website layout is also not so good in terms of finding the add funds page and register page. Now the code below takes the user to the register page on there site in a iFrame so that it only shows the register area so you can't tell its an iFrame of a website. Okay say for example that a user are on my website on page mysite.com/register and registers in the iFrame, how can I then redirect the user after registering to a other page for example mysite.com/addFunds so they can select the amount of funds to be added and after they click done it needs to redirect them again to the payment gateway of the affiliate website not in iFrame this time.

    Any help would really be appreciated.

    <html>
    <head>


    <style type="text/css">
    <!--
    #container{
    width:600px;
    height:270px;
    border:1px solid #000;
    overflow:hidden;
    margin:auto;
    }
    #container iframe {
    width:900px;
    height:530px;
    margin-left:-250px;
    margin-top:-260px;
    border:0 solid;
    }
    -->
    </style>


    </head>
    <body>




    <div id="container">
    <iframe src="http://www.affiliateSite.com/registration" scrolling="no"></iframe>
    </div>




    </body>
    </html>

    lovetospooge out :cool:
     
    lovetospooge, Aug 31, 2011 IP
  2. digitalpoint.futureistic

    digitalpoint.futureistic Guest

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Hi,

    You can simply do that by applying buttons on the page.

    Thanking You,
    Futureistic Team
     
  3. sarahk

    sarahk iTamer Staff

    Messages:
    28,845
    Likes Received:
    4,543
    Best Answers:
    123
    Trophy Points:
    665
    #3
    Personally i'd be looking at ajax not iframes to refresh a page or load a new one without doing a complete reload.

    However if you perservere with an iframe strategy then links (which can be a button) just need to have target='top'
     
    sarahk, Sep 3, 2011 IP