WebsiteBaker Community Forum

General Community => Global WebsiteBaker 2.8.x discussion => Topic started by: POPDUM on February 12, 2008, 08:44:24 PM

Title: Frames in WB
Post by: POPDUM on February 12, 2008, 08:44:24 PM
Hi,

I have defined frames as following:

$buf = <<<EOT
    <frameset rows="50%, 50%" id="MyDialog">
        <frame src="http://www.pif.at/pages/process-file-upload.php" name="image_frame" frameborder="1"
             marginwidth="5" marginheight="5" scrolling="auto" noresize>
        </frame>
        <frame src="http://www.pif.at/pages/display-file-upload-form.php" name="input_frame" frameborder="1"
             marginwidth="5" marginheight="5" scrolling="auto" noresize>
        </frame>
    </frameset>
EOT;
echo $buf;

inside a code section. process-file-upload.php (clickable images to be uploaded) and display-file-upload-form.php are two pages, each of them having one section of type code.

However, these pages don't load when I run the file with the above <frameset and <frame declarations, though they both run fine individually

Anybody have any ideas why it doesn't work, or do I need to do something completely different?

Any help will be very gratefully accepted
Title: Re: Frames in WB
Post by: POPDUM on February 12, 2008, 09:37:32 PM
I just had a thought about this issue. Maybe I could use the two .php files I mentioned as parts of the same page, which will have two sections of type "code". However, I am not quite sure how I can have the two sections communicate with each other, if at all.

If anybody has any ideas on this sort of thing, I will greatly appreciate it
Title: Re: Frames in WB
Post by: Stefek on February 22, 2008, 12:35:05 PM
Why would you do that?
Framesets is an old SEO unsuported technique?

Which advantage do you except out of this?

Stefek