Hi everybody,
I load a page into my tab. On this page, i want to open a pop-up by clicking on a picture. The matter is the pop-up appears in the tabbar. I have tried to declare my function in the main page (where i have put the tabbar) and to use “parent.” in order to call the function from the page loaded in the tabbar. However, it does’nt work. Someone could help me please ?
Which loading mode you are using for content?
It seems that you are using one of iframe based modes - in case of iframes content of tab will not be able to overlay borders of tabbar.
You can try to change loading mode to the ajax-html, in such case all content will be included in the same page, and popup can overlay borders of tabbar.
I want to open a popup window when click on a button from a tool-bar.
my question is how declare the window for it be close when the open my web page and open when click on a tool-bar button. actually occur a javascript error. here is my code:
var dhxLayout;
var popupWindow;
var toolbar;
var dhxWins;
function doOnLoad() {
dhxLayout = new dhtmlXLayoutObject(“parentId”, “3T”);
dhxLayout.cont.obj._offsetTop = 2;
dhxLayout.cont.obj._offsetHeight = -30;
dhxLayout.setSizes();
dhxLayout.cells(“a”).hideHeader();
dhxLayout.cells(“a”).setHeight(15);
dhxLayout.cells(“a”).attachObject(“lay_a”);
dhxLayout.cells(“b”).attachObject(“lay_b”);
dhxLayout.cells(“b”).setText(“Documento”);
dhxLayout.cells(“c”).attachObject(“lay_c”);
dhxLayout.cells(“c”).setText(“Datos”);
dhxLayout.cells(“c”).setWidth(200);