[Frame] Display problem at the bottom of a page

View: New views
2 Messages — Rating Filter:   Alert me  

[Frame] Display problem at the bottom of a page

by russe blanc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

Re: [Frame] Display problem at the bottom of a page

by Cyril Balit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I notice the bugg but i have no issue for now. I will work on it and i
keep you inform

Cyril


--- In rialto-dev@..., russe blanc <a.rosano@...> wrote:
>
>
> 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.
> --
> View this message in context:
http://www.nabble.com/-Frame--Display-problem-at-the-bottom-of-a-page-tp18312529p18312529.html
> Sent from the Rialto-Development mailing list archive at Nabble.com.
>


LightInTheBox - Buy quality products at wholesale price