Open 2 frames

Discussion in 'PHP' started by RAN, Jul 23, 2007.

  1. #1
    Hi,

    I have this code

    <html>
    <head>
    <?php include "head.inc" ?>
    <style type="text/css"><!--body {padding:0;margin:0;border:0}
    <?php
    echo "iframe{display:$istyle;width:100%;height:100%;border:0;position:0 \n #theform{display:$dstyle}\n";echo "body{overflow:$bstyle}";
    ?>
    --></style>
    </head>
    <body>
    <div id="theform" style="text-align:center;margin-left:auto;marginright:auto">
    <?php include "hide.inc" ?></div>
    <iframe id="banner" src="frame.htm" style="height:100%"
    target="principal"marginwidth="1" marginheight="1" name="banner"scrolling="no" />
    <iframe id="results" <?php if($t){echo "src=\"$action\"";} ?> style="top100;height:100%" />
    </body>
    </html>

    I have a button and when I click he opens 2 iframes code above.
    Is possible, instead of open 2 iframes open 2 frames?
    Top frame 'frame.html' and main frame 'main.html' ?

    Thank you for your great help
     
    RAN, Jul 23, 2007 IP
  2. RAN

    RAN Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    No one can help me?
     
    RAN, Jul 24, 2007 IP
  3. ecentricNick

    ecentricNick Peon

    Messages:
    351
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I don't think anyone understood the question.

    ...makes no sense to me.

    Can you ask again?
     
    ecentricNick, Jul 24, 2007 IP