Affiliate iframe help

bizzerd

Newbie
Joined
Jul 5, 2010
Messages
15
Reaction score
2
I'm with Crakrevenue and have a iframe that captures one of Crakrevenue Register form's. but when someone submits the forms, it loads the new page in my iframe, instead of my parent page. Anyway to make this submit redirect happen on my parent page? Thank you!


Code:
<div id="container">
    <iframe id="embed" src="http://www.example.com"></iframe>
</div>


div#container
{
    width:840px;
    height:317px;
    overflow:scroll;     /* if you don't want a scrollbar, set to hidden */
    overflow-x:hidden;   /* hides horizontal scrollbar on newer browsers */

    /* resize and min-height are optional, allows user to resize viewable area */
    -webkit-resize:vertical;
    -moz-resize:vertical;
    resize:vertical;
    min-height:317px;
}

iframe#embed
{
    width:1000px;       /* set this to approximate width of entire page you're embedding */
    height:2000px;      /* determines where the bottom of the page cuts off */
    margin-left:-183px; /* clipping left side of page */
    margin-top:-244px;  /* clipping top of page */
    overflow:hidden;

    /* resize seems to inherit in at least Firefox */
    -webkit-resize:none;
    -moz-resize:none;
    resize:none;
}
 
Do you have to use an iFrame? I can't think of any efficient way of doing what you're asking..

Otherwise use some kind of JS to add an onClick() event to the submit button on the form.
 
Back
Top