« Return to Thread: [Frame] Display problem at the bottom of a page

[Frame] Display problem at the bottom of a page

by russe blanc :: Rate this Message:

Reply to Author | View in Thread

Hello,

I have some dynamic frames at the bottom of a page. The frames are close to each other so I set their position to relative to avoid them masking each other when I open them.
My problem is that the last frame of the page (which is completely at the bottom) doesn't display its content when I open it.

Some code to see the problem (depending to your resolution, you'll have to change the top attribute to put the last frame completely at the bottom) :



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>

<%@ taglib uri="/WEB-INF/rialto.tld" prefix="rialto"%>

<html>
        <head>
                <title>test</title>
                <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
                <meta name="GENERATOR" content="Rational Application Developer">
        </head>
       
        <link rel="stylesheet" type="text/css"
                  href="rialtoEngine/style/rialto.css" />
        <link id="standard_behaviour" rel="stylesheet" type="text/css"
                  href="rialtoEngine/style/behavior.css" />
        <link id="defaultSkin" rel="stylesheet" type="text/css"
              href="rialtoEngine/style/defaultSkin.css" />

        <script>
               
                function init() {
                        var frame0 = new rialto.widget.Frame({left:20,open:false,position:"relative",title:"Frame 1",draggable:false,width:500,top:500,name:"frame0",dynamic:true,height:300,parent:document.body});
                        var frame1 = new rialto.widget.Frame({left:20,open:false,position:"relative",title:"Frame 2",draggable:false,width:500,top:525,name:"frame1",dynamic:true,height:300,parent:document.body});
      var frame2 = new rialto.widget.Frame({left:20,open:false,position:"relative",title:"Frame 3",draggable:false,width:500,top:550,name:"frame2",dynamic:true,height:300,parent:document.body});
     }
     
        </script>

        <rialto:import/>

        <body onload="init();">
        </body>

</html>



Thanks.

 « Return to Thread: [Frame] Display problem at the bottom of a page

LightInTheBox - Buy quality products at wholesale price!