Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Alfredo on Sep 02, 2008 07:52
open dhtmlx forum
Firefox 3.0.1 and Viewport

Hi,

with firefox 3.0.1 setting up this configuration:
<html>
<head>
<link rel="stylesheet" type="text/css" href="./dhxWindows/codebase/dhtmlxwindows.css">
<link rel="stylesheet" type="text/css" href="./dhxWindows/codebase/skins/dhtmlxwindows_standard.css">
<script src="./dhxWindows/codebase/dhtmlxcommon.js"></script>
<script src="./dhxWindows/codebase/dhtmlxwindows.js"></script>
</head>
<script Language="JavaScript">
function start()
{    
            dhxWins = new dhtmlXWindows();
//            dhxWins.enableAutoViewport(flase);
//            dhxWins.setViewport(0, 20, 600, 350);
            dhxWins.vp.style.border = "1px solid red";
            var w1=dhxWins.createWindow("w1",10,10,320,240)
}
</script>

<body onload="start()" width="100%" height="100%" style="background-Color:#C0C0C0; margin-top: 0px; margin-right: 1px; margin-bottom: 0px; margin-left: 1px">
.....
.....
.....
</body>
</html>

it does not come correctly calculated the dimension of the viewport.
if instead a viewport adopts a position, it works well, but the controls under the viewport are not more accessible

In IE work fine.

Example:
without viewport: http://www.mtbvolturno.it/test/butta/test.php
with viewport set: http://www.mtbvolturno.it/test/butta/test1.php

Sorry for my english.
Answer posted by Support on Sep 02, 2008 08:38
There was a problem with initial version of dhtmlxwindows , but it was fixed in later builds
      http://dhtmlx.com/docs/products/kb/index.shtml?cat=15&page=1&q=3555

>>if instead a viewport adopts a position, it works well, but the controls under the viewport are not more accessible
When viewport defined by coorditates ( not enableAutoViewport ) - this is expected behavior. 
Answer posted on Sep 02, 2008 10:42
>> >>There was a problem with initial version of dhtmlxwindows , but it was fixed in later builds
>> http://dhtmlx.com/docs/products/kb/index.shtml?cat=15&page=1&q=3555
The example in the link work well, because the table height is 600px
If set the table height to 200px the viewport area is limited to 200px in height. (firefox 3.0.1)
Ex.    http://www.mtbvolturno.it/test/butta/test.php
With IE the viewport area is ok

>> >>if instead a viewport adopts a position, it works well, but the controls under the viewport are not more accessible
>> When viewport defined by coorditates ( not enableAutoViewport ) - this is expected behavior.
With IE the the controls under the viewport are accessible.
Ex. http://www.mtbvolturno.it/test/butta/test1.php
Answer posted by Support on Sep 03, 2008 02:23
The above mentioned problem is solved in the new version that will be released this week.