Re: IFRAMES & PHP

From: Date: Mon, 27 Jan 2003 17:27:44 +0000
Subject: Re: IFRAMES & PHP
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-133271@lists.php.net to get a copy of this message
Greg wrote:
Unfortunatly, that gets rid of the reason I have the iframe in there to begin with. I need a scrollable iframe with a set of buttons that perform certain actions at the top, that have to always be at the top. -Greg
in that case you either need to try getting some javascript to pass the info between frames - or see if there is some style sheet wizadry (fixed size divs, visible area, clipping ...???) that will produce the same effect on an acceptable proportion of browsers
"Sean Burlington" <sean@uncertainty.org .uk> wrote in message
news:3E356875.20605@uncertainty.org.uk...
Greg wrote:
Here's the basic layout of my html page, this isn't the real html, just
the
basic idea. <html> <form action="test.php" method="post"> <input type="text" name="test1"> <iframe src = iframetest.php></iframe> <input type="button" label="Submit"> </form> </html> Now inside iframetest.php I have a few check boxes that I want test.php
to
be able to access. Is there any way to do this? Thanks!!
not directly .. the form does not 'contain' the iframe - in fact the iframe is a different page ... so form elements within the iframe page will not be a part of the form submission process you /might/ be able to do something with javascript inter-frame communication - but I doubt you would want to (and the iframe doesn't sound like a valid page which could cause problems) what would probably make more sense would be to make the 'html' page include iframetest.php' html.php ---------- <html> <form action="test.php" method="post"> <input type="text" name="test1"> <?php include("/path/iframetest.php"); ?> <input type="button" label="Submit"> </form> </html> ----------------- then you form elements will be properly contained within the form -- Sean


« previous php.general (#133271) next »