Advertisement

Disable button close???

Moderators: Calcifer, slothy

Disable button close???

Postby juniorsimi » Mon Jun 11, 2007 10:11 pm

as I disactivate the button to close of the window DHTMLSuite.windowModel() ??

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?
juniorsimi
 
Posts: 1
Joined: Mon Jun 11, 2007 7:34 pm
Location: Brazil

Return to Window script questions

Who is online

Users browsing this forum: No registered users and 2 guests

cron