Categories | Question details Back To List | ||
Active vs Inactive windows Hello :) I would like that my unsticked windows are always active (they are not movable) Is there an easy way to do this ? (if not I can of course change definition of css files and say in inactives section the same terms that are in active section) Thanks in advance for your answer :) Answer posted by Support on Jan 29, 2009 06:09 The active and not active window differs only by css styles and main window icon. There is no way to change the active|inactive behavior by API, so you can change the styles in css, or made next code update dhtmlxwindows.js this._makeActive = function(win, ignoreFocusEvent) { ... } else { // this.wins[a].className = "dhtmlx_window_inactive"; //<= comment those two lines // this.wins[a].childNodes[1].src = this.wins[a].icons[1]; } Answer posted by dactar on Jan 29, 2009 06:18 Thanks for your answer :) |