![]() |
|
|
|||||||
| General Website Design General discussions about website design can be found here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
System: 2.0.0.1041 For testing I have a very simple startpage with three frames: top, left, main Code:
//Class definition
class Unit1 extends Page
{
public $MainFrame = null;
public $LeftFrame = null;
public $TopFrame = null;
public $Frameset1 = null;
}
Code:
<object class="Unit1" name="Unit1" baseclass="page">
<property name="Background"></property>
<property name="Caption">Unit1</property>
<property name="DocType">dtNone</property>
<property name="Height">600</property>
<property name="IsMaster">0</property>
<property name="Name">Unit1</property>
<property name="Width">800</property>
<object class="Frameset" name="Frameset1" >
<property name="BorderWidth">1</property>
<property name="FrameBorder">fbYes</property>
<property name="Height">598</property>
<property name="Left">1</property>
<property name="Name">Frameset1</property>
<property name="Top">1</property>
<property name="Width">798</property>
<object class="Frame" name="TopFrame" >
<property name="Align">alTop</property>
<property name="Height">120</property>
<property name="Left">1</property>
<property name="Name">TopFrame</property>
<property name="Source">php/top.php</property>
<property name="Top">1</property>
<property name="Width">796</property>
</object>
<object class="Frame" name="LeftFrame" >
<property name="Height">476</property>
<property name="Left">1</property>
<property name="Name">LeftFrame</property>
<property name="Source">php/left.php</property>
<property name="Top">121</property>
<property name="Width">120</property>
</object>
<object class="Frame" name="MainFrame" >
<property name="Align">alClient</property>
<property name="Height">476</property>
<property name="Left">121</property>
<property name="Name">MainFrame</property>
<property name="Source">php/main.php</property>
<property name="Top">121</property>
<property name="Width">676</property>
</object>
</object>
</object>
The generated code on FF3 is: Code:
<html DIR=ltr > <head> <title>Unit1</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript" src="/vcl-bin/js/common.js"></script> <script type="text/javascript">var Unit1=new Object(Object);</script> </head> <frameset rows="120,*" cols="*" frameborder="fbYes" border="1" framespacing="0" > <frame src="php/top.php" name="TopFrame" id="TopFrame" scrolling="auto" marginwidth="0" marginheight="0" frameborder="1" > <frameset cols="120,*" rows="*" frameborder="yes" border="1" framespacing="0" > <frame src="php/left.php" name="LeftFrame" id="LeftFrame" scrolling="auto" marginwidth="0" marginheight="0" frameborder="1" > <frame src="php/main.php" name="MainFrame" id="MainFrame" scrolling="auto" marginwidth="0" marginheight="0" frameborder="1" > </frameset> </frameset> <noframes><body> <form style="margin-bottom: 0" id="Unit1" name="Unit1" method="post" action="/index.php"> <table width="800" style="height:600px" border="0" cellpadding="0" cellspacing="0" ><tr><td valign="top"> </td></tr></table> </form></body></noframes> <!-- Unit1 end --> If the frame sources are like "http://www.codegear.com", all work fine. But if I use source like "php/main.php" (relativ to index.php) or "/php/main.php" (absolute), the strange behaviour happens. Ciao Frank Last edited by Micodat; 9th July 2008 at 12:02. |
| Sponsored Links |
|
|
|
|||
|
Hi Frank,
I have the same problem. But only with the d4php apache. If I use a standalone webserver like xampp all frames are visible. I think it is a bug. You can use the firefox contextmenu frame ->reload to show all frames in d4php runtime mode. After reload all invisible frames all frames work. regards thomas |
|
|||
|
Quote:
I know that this thread is old, but I try some differents forms to load two frames (frame_red,frame_blue) into a main page when it starts without solution The problem is that sometimes only load the frame_red, sometimes only load the frame_blue...but never load both ![]() what I should to do? PD: sorry if my English isn't very good and thanks for all! |
|
|||
|
Hi! I have create this micro app. It when the window is resized the controls are moved correctly. The problem is the JS events non are fired.
please help me. http://tae.mine.nu/php/template.zip P.S. the server is active from 7:00 to 23.00 +1. ( i am in italy). |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|