setViewPort

Hi,

Using enableAutoViewport with setViewport disables the menu tree in FF.
In IE works fine.

Any idea how can I solve this problem?

Thanks in advanced,

Hello,

we need some sample to recreate the problem.

Hello,

windowComponent = new dhtmlXWindows();
windowComponent.setImagePath(“codebase/imgs/”);
windowComponent.setSkin(getSkinName());

//ATTANTION : CODE BELOW SUCS IN FF
windowComponent.enableAutoViewport(false);
windowComponent.setViewport(0, 0, 1100, 1000, dwplayout.cells(“b”));

Hello,

you may try using the following approach instead of one you provided:

[code]dhxLayout.cells(“b”).attachObject(“content”);

windowComponent = new dhtmlXWindows();
windowComponent.setImagePath(“codebase/imgs/”);
windowComponent.setSkin(getSkinName());
windowComponent.enableAutoViewport(false);

windowComponent.attachViewportTo(“content”);[/code]

Hello,

What should I attach as content? A div?
Can you please ventilate this approach?

What content do you use for the “b” cell ?

Yes, it can be div:

I am not using a content in “b” cell.

Hello,

How can I solve this problem without using a content for the “b” cell ?

Thanks,