Disable button close???
Posted: Mon Jun 11, 2007 10:11 pm
I use following scripit:
<div id="janelaLegendaCamada" windowProperties="title: ,resizable:true,closable:true,maxWidth:500,dragable:true,cookieName:cookieWindowDemo2_1,xPos:75,yPos:50,minWidth:210,minHeight:258,activeTabId:ativa">
<div id="ativa" class="DHTMLSuite_windowContent" tabProperties="tabTitle: Camada Ativa,active=1">
<iframe scrolling="NO" frameborder="0" src="Ativa.jsp" name="fmeAtiva" style="width:<%=gj.getWidth("Ativa")%>px; height:<%=gj.getHeight("Ativa")%>px;" class="transp"></iframe>
</div>
</div>
<script type="text/javascript">
var windowModel = new DHTMLSuite.windowModel();
DHTMLSuite.commonObj.setCssCacheStatus(false)
windowModel.createWindowModelFromMarkUp('janelaLegendaCamada');
var janelaLegendaCamada = new DHTMLSuite.windowWidget();
janelaLegendaCamada.setLayoutOffsetHeightForTheStatusBar(1);
janelaLegendaCamada.setLayoutCss('window-theme-windows.css');
janelaLegendaCamada.addWindowModel(windowModel);
janelaLegendaCamada.init();
I want to disactivate the button to only close and to leave minimizing.
somebody can help me?