Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Leonard on May 06, 2008 03:43
open dhtmlx forum
dhtmlx windows's skin is missing

Hi dhtmlx support,

I'm having another problem with your: custom dhtmlxwindows.js you gave me on: http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=2762&a=3766

Apparently, the close button and the skin is missing. Here's the screenshot http://www.iamtesting.net/sc2.jpg

and here's my code:

     dhxWins = new dhtmlXWindows();
     win = dhxWins.createWindow("rd",0,0,720,500);
     win.attachURL("<?= HTTP_CATALOG_SERVER?>file.explorer.media.php?do=42&contentId=<?= $content["ID"]?>");;
     win.denyResize(); // deny resizing
     win.setText("Related downloads for <?= $content["title"]?> page");
     dhxWins.setImagePath("<?= DIR_WS_JAVASCRIPT ?>dhtmlxWindows/codebase/imgs/");
     dhxWins.setSkin("standard");

Can you tell me what the problem is? I tried to use the original, but it opposed the same problem on the first link i gave you (http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=2762&a=3766)

Regards

Answer posted by Support on May 08, 2008 03:37
With such initialization, window will use all body as content area. It possible that in case of your HTML layout body has height lesser than window height ( if your HTML layout based on absolutly positioned containers, the height of body in FF can be equal to 0 ) - in such case window may try to adjust position, which can cause similar effect.

Please try to add next rules to your css file.

<style>
    html, body {
       height:100%;
    }
</style>