39 users online (0 members and 39 guests)  

Thread: Iframe link


  Results 1 to 2 of 2

Related

  1. Using IFrame in php    Forum: PHP Forum
    Replies: 1
  2. open iframe from other page link    Forum: Javascript Forum
    Replies: 0
  3. image link to open url in iframe    Forum: Javascript Forum
    Replies: 3
  4. PHP Iframe help    Forum: PHP Forum
    Replies: 2
  5. Iframe help    Forum: HTML Forum
    Replies: 2
  1. #1
    djscottyis's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2007
    Posts
    1

    Iframe link

    my p[roblenm is simple if you know how but its got me puzzuled. Right here goes ive got a page which is viewed in a Iframe with a Button on the button of the page to confirm terms and conditions. But when the button is press the page opens in the Iframe and i want it to open in full page. this is the button on the page inside the iframe
    Code:
    <form  action="confirm.htm" method="GET" onsubmit="return checkCheckBox(this)">
    <!--Enter your form contents here-->
    <p align="center"><font color="#FF0000"><b>By clicking the button below you confirm you have read the 
    above terms and conditions</b><br>
    </font>I accept: <input type="checkbox" value="0" name="agree">
    <input type="submit" value="Continue" onclick="document.location.href='/confirm.htm';">
    <input type="button" value="Decline" onclick="document.location.href='/index.htm';">
    </p>
    </form>
    Please help
    Last edited by vinyl-junkie; 11-26-2007 at 11:52 AM. Reason: Added code tags

  2. #2
    fric's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Apr 2007
    Location
    Mauritius
    Posts
    25

    Re: Iframe link

    Well just add a parent on your confirm button onclick.

    e.g
    Code:
    <input type="submit" value="Continue" onclick="parent.location.href='/confirm.htm';">
    Hope this help
    Last edited by vinyl-junkie; 11-28-2007 at 08:12 AM. Reason: Added code tags



Tags for this Thread