Categories | Question details Back To List | ||||||||
dhxWindow can't moved up or down dear all, i have create a window using dhxwindow, it works fine with IE 6 >, but when running on firefox or opera, the window can only drag left and right, not up or down here is my head tag for loading script <head> <link rel="stylesheet" type="text/css" href="jslib/dhtmlxlayout.css" /> <link rel="stylesheet" type="text/css" href="jslib/dhtmlxwindows.css" /> <link rel="stylesheet" type="text/css" href="jslib/dhtmlxgrid.css" /> <link rel="stylesheet" type="text/css" href="jslib/dhtmlxtabbar.css" /> <link rel="stylesheet" type="text/css" href="jslib/dhtmlxcalendar.css" /> <link rel="stylesheet" type="text/css" href="jslib/skins/dhtmlxgrid_dhx_blue.css" /> <link rel="stylesheet" type="text/css" href="jslib/skins/dhtmlxlayout_dhx_blue.css" /> <link rel="stylesheet" type="text/css" href="jslib/skins/dhtmlxwindows_dhx_blue.css" /> <link rel="stylesheet" type="text/css" href="jslib/skins/dhtmlxmenu_dhx_blue.css" /> <link rel="stylesheet" type="text/css" href="jslib/skins/dhtmlxtoolbar_dhx_blue.css" /> <script type="text/javascript" src="jslib/dhtmlxlayout.js"></script> <script type="text/javascript" src="jslib/dhtmlxwindows.js"></script> <script type="text/javascript" src="jslib/dhtmlxmenu.js"></script> <script type="text/javascript" src="jslib/dhtmlxtoolbar.js"></script> <script type="text/javascript" src="jslib/dhtmlxcommon.js"></script> <script type="text/javascript" src="jslib/dhtmlxgrid.js"></script> <script type="text/javascript" src="jslib/dhtmlxgridcell.js"></script> <script type="text/javascript" src="jslib/dhtmlxcalendar.js"></script> <script type="text/javascript" src="jslib/dhtmlxtabbar.js"></script> <script type="text/javascript" src="jslib/ext/dhtmlxtabbar_wins.js"></script> <script type="text/javascript" src="jslib/dhtmlxtabbar_start.js"></script> <script type="text/javascript" src="jslib/ext/dhtmlxgrid_filter.js"></script> <script type="text/javascript" src="jslib/dhtmlxcombo.js"></script> <script type="text/javascript" src="jslib/dhtmlxdataprocessor.js"></script> <script type="text/javascript" src="jslib/dhtmlxwindows_wmn.js"></script> <script type="text/javascript" src="jslib/dhtmlxwindows_wtb.js"></script> <script type="text/javascript" src="phplib/get_keylistener.php"></script> <title>Aplikasi Arsip Manager v 0.1</title> </head> and here is my code var dhxLayout = new dhtmlXLayoutObject(document.body, "1C"); dhxLayout.cells("a").hideHeader(); var menu = dhxLayout.attachMenu(); menu.setImagePath("jslib/imgs/"); menu.setIconsPath("jslib/icons/"); menu.loadXML("phplib/get_menu_structure.php"); var tab = dhxLayout.cells("a").attachTabbar(); tab.setImagePath("jslib/imgs/"); tab.enableTabCloseButton(true); tab.addTab("maintab","Daftar Surat","150px"); tab.setTabActive('maintab'); var mainbar = tab.cells('maintab').attachToolbar(); mainbar.setIconsPath ('jslib/icons/'); mainbar.loadXML('phplib/toolbar.xml.php'); var maingrid = tab.cells('maintab').attachGrid(); maingrid.loadXML('phplib/get_archive_list.php'); maingrid.attachHeader("#text_filter,#text_filter,#text_filter,#text_filter,#text_filter,#text_filter,#text_filter,#text_filter,#text_filter,#text_filter,#text_filter,#text_filter,#text_filter,#text_filter,#text_filter,#text_filter,#text_filter"); var mproc=new dataProcessor('phplib/set_archive_list.php'); mproc.enableDataNames(true); mproc.setUpdateMode("cell"); mproc.defineAction("error",alertError); mproc.setTransactionMode("POST"); mproc.init(maingrid); function alertError(obj) { if(obj) { alert("Terjadi kesalahan pada sisi server.\n"+obj.firstChild.nodeValue); mproc.stopOnError = true; return false; } else alert('Terjadi kesalahan pada server'); } menu.attachEvent ( 'onclick', function(id) { switch(id) { case '1': maingrid.clearAndLoad('phplib/get_archive_list.php'); break; case '2': var chgwin = new dhtmlXWindows chgwin.setImagePath('jslib/imgs/'); var cur = (new Date()).valueOf(); var winId="add_user"+cur; chgwin.createWindow(winId, 100, 100, 350, 250); chgwin.window(winId).setText('Ganti password'); chgwin.window(winId).center(); chgwin.window(winId).attachURL('phplib/chgpwd.php'); break; } } ) Answer posted by Alex (support) on May 25, 2009 01:42 Hello, locally the issue doesn't appear - we have attached the sample. If the problem isn't resolved, please, provide the sample to recreate it. Attachments (1)
|