Commit ea17fd59fce4f057c8da103bd5413c7cf024afe8

Authored by Edmar Moretti
1 parent f6424349

Incluída opção para permitir mostrar ou não a barra de deslocamento e ícone de f…

…echamento nas barras de botões
classesjs/classe_barradebotoes.js
... ... @@ -39,6 +39,24 @@ i3GEO.barraDeBotoes = {
39 39 */
40 40 BARRAS: new Array(),
41 41 /*
  42 + Property: PERMITEFECHAR
  43 +
  44 + Mostra o botão para fechar as barras ou não.
  45 +
  46 + Type:
  47 + {boolean}
  48 + */
  49 + PERMITEFECHAR: true,
  50 + /*
  51 + Property: PERMITEDESLOCAR
  52 +
  53 + Permite deslocar as barras ou não.
  54 +
  55 + Type:
  56 + {boolean}
  57 + */
  58 + PERMITEDESLOCAR: true,
  59 + /*
42 60 Property: LISTABOTOES
43 61  
44 62 Objeto com a lista de botões.
... ... @@ -181,8 +199,8 @@ i3GEO.barraDeBotoes = {
181 199 {novoel.style.filter='alpha(opacity=90)';}
182 200 else
183 201 {novoel.style.opacity= .85;}
184   - var temp = '<div class="hd">&nbsp;</div>';
185   - temp += '<div class="bd" style="background-color:rgb(250,250,250);width='+wj+'px" >';
  202 + //var temp = '<div class="hd" >&nbsp;</div>';
  203 + //temp += '<div class="bd" style="background-color:rgb(250,250,250);width='+wj+'px" >';
186 204 var temp = "";
187 205 if (barraZoom == true)
188 206 {
... ... @@ -208,7 +226,7 @@ i3GEO.barraDeBotoes = {
208 226 $i(idconteudo).innerHTML = "";
209 227 }
210 228 YAHOO.namespace("janelaBotoes.xp");
211   - YAHOO.janelaBotoes.xp.panel = new YAHOO.widget.Panel(idconteudonovo, {width:wj, fixedcenter: false, constraintoviewport: false, underlay:"none", close:true, visible:true, draggable:true, modal:false } );
  229 + YAHOO.janelaBotoes.xp.panel = new YAHOO.widget.Panel(idconteudonovo, {width:wj, fixedcenter: false, constraintoviewport: false, underlay:"none", close:i3GEO.barraDeBotoes.PERMITEFECHAR, visible:true, draggable:i3GEO.barraDeBotoes.PERMITEDESLOCAR, modal:false } );
212 230 if((barraZoom == true) && $i("img")){
213 231 if (!$i("imgClone")){
214 232 iclone=document.createElement('IMG');
... ...
classesjs/compactados/classe_barradebotoes_compacto.js
1   -if(typeof(i3GEO)=='undefined'){i3GEO=new Array()}i3GEO.barraDeBotoes={BARRAS:new Array(),LISTABOTOES:i3GEO.configura.funcoesBotoes.botoes,BOTAOPADRAO:"pan",ativaIcone:function(icone){var ko=i3GEO.barraDeBotoes.LISTABOTOES.length-1;if(ko>=0){do{var temp=$i(i3GEO.barraDeBotoes.LISTABOTOES[ko].iddiv);if(i3GEO.barraDeBotoes.LISTABOTOES[ko].tipo=="dinamico"&&temp){var ist=temp.style;ist.borderWidth="1px";ist.borderColor='white';ist.borderLeftColor='rgb(50,50,50)';ist.borderBottomColor='rgb(50,50,50)'}}while(ko--)}if($i(icone)){with($i(icone).style){borderColor='white';borderWidth="1px"}}},ativaBotoes:function(padrao){if(arguments.length==0){var padrao=i3GEO.barraDeBotoes.BOTAOPADRAO}var l=i3GEO.barraDeBotoes.LISTABOTOES;var b=l.length-1;if(b>=0){do{if($i(l[b].iddiv)){if(l[b].conteudo){eval('$i(l[b].iddiv).innerHTML = "'+l[b].conteudo+'"')}if(l[b].dica){eval('$i("'+l[b].iddiv+'").onmouseover = function(){i3GEO.ajuda.mostraJanela("'+l[b].dica+'","");}');eval('$i("'+l[b].iddiv+'").onmouseout = function(){i3GEO.ajuda.mostraJanela("");};')}if(l[b].funcaoonclick){$i(l[b].iddiv).onclick=l[b].funcaoonclick;if(l[b].iddiv==padrao){l[b].funcaoonclick()}}if(l[b].constroiconteudo){eval(l[b].constroiconteudo)}}}while(b--)}},inicializaBarra:function(idconteudo,idconteudonovo,barraZoom,x,y){var wj="36px";var recuo="0px";var novoel=document.createElement("div");novoel.id=idconteudonovo;novoel.style.display="block";novoel.style.border="1px solid gray";novoel.style.background="white";if(navm){novoel.style.filter='alpha(opacity=90)'}else{novoel.style.opacity=.85}var temp='<div class="hd">&nbsp;</div>';temp+='<div class="bd" style="background-color:rgb(250,250,250);width='+wj+'px" >';var temp="";if(barraZoom==true){if(navn){temp+='<div style="text-align:center;position:relative;left:9px" >'}temp+='<div id="vertMaisZoom" onmouseover="i3GEO.ajuda.mostraJanela(\'Amplia o mapa mantendo o centro atual.\')" onclick="i3GEO.navega.zoomin()" ></div><div id="vertBGDiv" name="vertBGDiv" tabindex="0" x2:role="role:slider" state:valuenow="0" state:valuemin="0" state:valuemax="200" title="Zoom" >';temp+='<div id="vertHandleDiv" ><img alt="" class="slider" src="'+i3GEO.util.$im("branco.gif")+'" /></div></div>';temp+='<div id=vertMenosZoom onmouseover="i3GEO.ajuda.mostraJanela(\'Reduz o mapa mantendo o centro atual.\')" onclick="i3GEO.navega.zoomout()" ></div>';if(navn){temp+='</div>'}}temp+='<div id="'+idconteudonovo+'_" style="left:'+recuo+';top:-6px;" ></div></div>';novoel.innerHTML=temp;novoel.onmouseover=function(){if($i("i3geo_rosa")){$i("i3geo_rosa").style.display="none"}};document.body.appendChild(novoel);if($i(idconteudo)){$i(idconteudonovo+"_").innerHTML=$i(idconteudo).innerHTML;$i(idconteudo).innerHTML=""}YAHOO.namespace("janelaBotoes.xp");YAHOO.janelaBotoes.xp.panel=new YAHOO.widget.Panel(idconteudonovo,{width:wj,fixedcenter:false,constraintoviewport:false,underlay:"none",close:true,visible:true,draggable:true,modal:false});if((barraZoom==true)&&$i("img")){if(!$i("imgClone")){iclone=document.createElement('IMG');iclone.style.position="relative";iclone.id="imgClone";iclone.style.border="1px solid blue";$i("img").parentNode.appendChild(iclone)}else{iclone=$i("imgClone")}iclone.style.display="none";verticalSlider=YAHOO.widget.Slider.getVertSlider("vertBGDiv","vertHandleDiv",0,70);verticalSlider.onChange=function(offsetFromStart){g_fatordezoom=(offsetFromStart-35)/5};verticalSlider.setValue(35,true);if($i("vertBGDiv")){$i("vertBGDiv").onmouseup=function(){i3GEO.navega.aplicaEscala(i3GEO.configura.locaplic,i3GEO.configura.sid,i3geo_ns)g_fatordezoom=0;verticalSlider.setValue(35,true)}}if($i("vertHandleDiv")){$i("vertHandleDiv").onmousedown=function(){var corpo=$i("img");if(!corpo){return}iclone.src=corpo.src;iclone.style.width=i3GEO.parametros.w;iclone.style.heigth=i3GEO.parametros.h;iclone.style.top=corpo.style.top;iclone.style.left=corpo.style.left;$i("img").style.display="none";iclone.style.display="block"}}if($i("vertHandleDiv")){$i("vertHandleDiv").onmousemove=function(){var corpo=$i("img");if(!corpo){return}var nw=i3GEO.parametros.w;var nh=i3GEO.parametros.h;var nt=0;var nl=0;i3geo_ns=parseInt(i3GEO.parametros.mapscale);if((g_fatordezoom>0)&&(g_fatordezoom<7)){g_fatordezoom=g_fatordezoom+1;var velhoh=parseInt(iclone.style.height);var velhow=parseInt(iclone.style.width);nh=i3GEO.parametros.h/g_fatordezoom;nw=i3GEO.parametros.w/g_fatordezoom;var t=parseInt(iclone.style.top);var l=parseInt(iclone.style.left);nt=t+((velhoh-nh)*.5);if(navm){nl=0}else{nl=l+((velhow-nw)*.5)}var fatorEscala=nh/i3GEO.parametros.h;i3geo_ns=parseInt(i3GEO.parametros.mapscale/fatorEscala)}if((g_fatordezoom<0)&&(g_fatordezoom>-7)){g_fatordezoom=g_fatordezoom-1;var velhoh=parseInt(iclone.style.height);var velhow=parseInt(iclone.style.width);nh=i3GEO.parametros.h*g_fatordezoom*-1;nw=i3GEO.parametros.w*g_fatordezoom*-1;var t=parseInt(iclone.style.top);var l=parseInt(iclone.style.left);nt=t-((nh-velhoh)*.5);nl=l-((nw-velhow)*.5);var fatorEscala=nh/i3GEO.parametros.h;i3geo_ns=parseInt(i3GEO.parametros.mapscale/fatorEscala)}iclone.style.width=nw;iclone.style.height=nh;if(iclone.style.pixelTop){iclone.style.pixelTop=nt}else{iclone.style.top=nt+"px"}if(iclone.style.pixelLeft){iclone.style.pixelLeft=nl}else{iclone.style.left=nl+"px"}if($i("i3geo_escalanum")){$i("i3geo_escalanum").value=i3geo_ns}}}}YAHOO.janelaBotoes.xp.panel.render();YAHOO.janelaBotoes.xp.panel.moveTo(x,y);if($i("sobeferramentas")){$i("sobeferramentas").onclick=function(){var elementos=$i(idconteudonovo+"_").getElementsByTagName("div");if(elementos[0].style.display=="inline"){return}if(elementos.length>0){var mostra=elementos[0];var i=0;do{if(elementos[i].style){if(elementos[i].style.display=="inline"){break}if(elementos[i].style.display=="none"){var mostra=elementos[i]}}var i=i+1}while(i<elementos.length)mostra.style.display="inline";var i=elementos.length-1;var mostra=elementos[i];do{if(elementos[i].style){if(elementos[i].style.display=="inline"){var mostra=elementos[i];break}}var i=i-1}while(i>=0)mostra.style.display="none"}}}if($i("desceferramentas")){$i("desceferramentas").onclick=function(){var tipo="inline";if($i(idconteudonovo+"_")){var elementos=$i(idconteudonovo+"_").getElementsByTagName("div");if(elementos[elementos.length-1].style.display==tipo){return}if(elementos.length>0){var i=0;do{if(elementos[i].style){if((elementos[i].style.display=="block")||(elementos[i].style.display=="inline")||(elementos[i].style.display=="")){elementos[i].style.display="none";break}}var i=i+1}while(i<elementos.length)var i=elementos.length-1;var mostra=elementos[i];do{if(elementos[i].style){if(elementos[i].style.display==tipo){break}if(elementos[i].style.display=="none"){var mostra=elementos[i]}}var i=i-1}while(i>=0)mostra.style.display=tipo}}}}i3GEO.barraDeBotoes.BARRAS.push(YAHOO.janelaBotoes.xp.panel);YAHOO.janelaBotoes.xp.panel.show()},reativa:function(indice){if(arguments.length==1)i3GEO.barraDeBotoes.BARRAS[indice].show();else{var n=i3GEO.barraDeBotoes.BARRAS.length;for(i=0;i<n;i++){i3GEO.barraDeBotoes.BARRAS[i].show()}}}};
2 1 \ No newline at end of file
  2 +if(typeof(i3GEO)=='undefined'){i3GEO=new Array()}i3GEO.barraDeBotoes={BARRAS:new Array(),PERMITEFECHAR:true,PERMITEDESLOCAR:true,LISTABOTOES:i3GEO.configura.funcoesBotoes.botoes,BOTAOPADRAO:"pan",ativaIcone:function(icone){var ko=i3GEO.barraDeBotoes.LISTABOTOES.length-1;if(ko>=0){do{var temp=$i(i3GEO.barraDeBotoes.LISTABOTOES[ko].iddiv);if(i3GEO.barraDeBotoes.LISTABOTOES[ko].tipo=="dinamico"&&temp){var ist=temp.style;ist.borderWidth="1px";ist.borderColor='white';ist.borderLeftColor='rgb(50,50,50)';ist.borderBottomColor='rgb(50,50,50)'}}while(ko--)}if($i(icone)){with($i(icone).style){borderColor='white';borderWidth="1px"}}},ativaBotoes:function(padrao){if(arguments.length==0){var padrao=i3GEO.barraDeBotoes.BOTAOPADRAO}var l=i3GEO.barraDeBotoes.LISTABOTOES;var b=l.length-1;if(b>=0){do{if($i(l[b].iddiv)){if(l[b].conteudo){eval('$i(l[b].iddiv).innerHTML = "'+l[b].conteudo+'"')}if(l[b].dica){eval('$i("'+l[b].iddiv+'").onmouseover = function(){i3GEO.ajuda.mostraJanela("'+l[b].dica+'","");}');eval('$i("'+l[b].iddiv+'").onmouseout = function(){i3GEO.ajuda.mostraJanela("");};')}if(l[b].funcaoonclick){$i(l[b].iddiv).onclick=l[b].funcaoonclick;if(l[b].iddiv==padrao){l[b].funcaoonclick()}}if(l[b].constroiconteudo){eval(l[b].constroiconteudo)}}}while(b--)}},inicializaBarra:function(idconteudo,idconteudonovo,barraZoom,x,y){var wj="36px";var recuo="0px";var novoel=document.createElement("div");novoel.id=idconteudonovo;novoel.style.display="block";novoel.style.border="1px solid gray";novoel.style.background="white";if(navm){novoel.style.filter='alpha(opacity=90)'}else{novoel.style.opacity=.85}var temp="";if(barraZoom==true){if(navn){temp+='<div style="text-align:center;position:relative;left:9px" >'}temp+='<div id="vertMaisZoom" onmouseover="i3GEO.ajuda.mostraJanela(\'Amplia o mapa mantendo o centro atual.\')" onclick="i3GEO.navega.zoomin()" ></div><div id="vertBGDiv" name="vertBGDiv" tabindex="0" x2:role="role:slider" state:valuenow="0" state:valuemin="0" state:valuemax="200" title="Zoom" >';temp+='<div id="vertHandleDiv" ><img alt="" class="slider" src="'+i3GEO.util.$im("branco.gif")+'" /></div></div>';temp+='<div id=vertMenosZoom onmouseover="i3GEO.ajuda.mostraJanela(\'Reduz o mapa mantendo o centro atual.\')" onclick="i3GEO.navega.zoomout()" ></div>';if(navn){temp+='</div>'}}temp+='<div id="'+idconteudonovo+'_" style="left:'+recuo+';top:-6px;" ></div></div>';novoel.innerHTML=temp;novoel.onmouseover=function(){if($i("i3geo_rosa")){$i("i3geo_rosa").style.display="none"}};document.body.appendChild(novoel);if($i(idconteudo)){$i(idconteudonovo+"_").innerHTML=$i(idconteudo).innerHTML;$i(idconteudo).innerHTML=""}YAHOO.namespace("janelaBotoes.xp");YAHOO.janelaBotoes.xp.panel=new YAHOO.widget.Panel(idconteudonovo,{width:wj,fixedcenter:false,constraintoviewport:false,underlay:"none",close:i3GEO.barraDeBotoes.PERMITEFECHAR,visible:true,draggable:i3GEO.barraDeBotoes.PERMITEDESLOCAR,modal:false});if((barraZoom==true)&&$i("img")){if(!$i("imgClone")){iclone=document.createElement('IMG');iclone.style.position="relative";iclone.id="imgClone";iclone.style.border="1px solid blue";$i("img").parentNode.appendChild(iclone)}else{iclone=$i("imgClone")}iclone.style.display="none";verticalSlider=YAHOO.widget.Slider.getVertSlider("vertBGDiv","vertHandleDiv",0,70);verticalSlider.onChange=function(offsetFromStart){g_fatordezoom=(offsetFromStart-35)/5};verticalSlider.setValue(35,true);if($i("vertBGDiv")){$i("vertBGDiv").onmouseup=function(){i3GEO.navega.aplicaEscala(i3GEO.configura.locaplic,i3GEO.configura.sid,i3geo_ns)g_fatordezoom=0;verticalSlider.setValue(35,true)}}if($i("vertHandleDiv")){$i("vertHandleDiv").onmousedown=function(){var corpo=$i("img");if(!corpo){return}iclone.src=corpo.src;iclone.style.width=i3GEO.parametros.w;iclone.style.heigth=i3GEO.parametros.h;iclone.style.top=corpo.style.top;iclone.style.left=corpo.style.left;$i("img").style.display="none";iclone.style.display="block"}}if($i("vertHandleDiv")){$i("vertHandleDiv").onmousemove=function(){var corpo=$i("img");if(!corpo){return}var nw=i3GEO.parametros.w;var nh=i3GEO.parametros.h;var nt=0;var nl=0;i3geo_ns=parseInt(i3GEO.parametros.mapscale);if((g_fatordezoom>0)&&(g_fatordezoom<7)){g_fatordezoom=g_fatordezoom+1;var velhoh=parseInt(iclone.style.height);var velhow=parseInt(iclone.style.width);nh=i3GEO.parametros.h/g_fatordezoom;nw=i3GEO.parametros.w/g_fatordezoom;var t=parseInt(iclone.style.top);var l=parseInt(iclone.style.left);nt=t+((velhoh-nh)*.5);if(navm){nl=0}else{nl=l+((velhow-nw)*.5)}var fatorEscala=nh/i3GEO.parametros.h;i3geo_ns=parseInt(i3GEO.parametros.mapscale/fatorEscala)}if((g_fatordezoom<0)&&(g_fatordezoom>-7)){g_fatordezoom=g_fatordezoom-1;var velhoh=parseInt(iclone.style.height);var velhow=parseInt(iclone.style.width);nh=i3GEO.parametros.h*g_fatordezoom*-1;nw=i3GEO.parametros.w*g_fatordezoom*-1;var t=parseInt(iclone.style.top);var l=parseInt(iclone.style.left);nt=t-((nh-velhoh)*.5);nl=l-((nw-velhow)*.5);var fatorEscala=nh/i3GEO.parametros.h;i3geo_ns=parseInt(i3GEO.parametros.mapscale/fatorEscala)}iclone.style.width=nw;iclone.style.height=nh;if(iclone.style.pixelTop){iclone.style.pixelTop=nt}else{iclone.style.top=nt+"px"}if(iclone.style.pixelLeft){iclone.style.pixelLeft=nl}else{iclone.style.left=nl+"px"}if($i("i3geo_escalanum")){$i("i3geo_escalanum").value=i3geo_ns}}}}YAHOO.janelaBotoes.xp.panel.render();YAHOO.janelaBotoes.xp.panel.moveTo(x,y);if($i("sobeferramentas")){$i("sobeferramentas").onclick=function(){var elementos=$i(idconteudonovo+"_").getElementsByTagName("div");if(elementos[0].style.display=="inline"){return}if(elementos.length>0){var mostra=elementos[0];var i=0;do{if(elementos[i].style){if(elementos[i].style.display=="inline"){break}if(elementos[i].style.display=="none"){var mostra=elementos[i]}}var i=i+1}while(i<elementos.length)mostra.style.display="inline";var i=elementos.length-1;var mostra=elementos[i];do{if(elementos[i].style){if(elementos[i].style.display=="inline"){var mostra=elementos[i];break}}var i=i-1}while(i>=0)mostra.style.display="none"}}}if($i("desceferramentas")){$i("desceferramentas").onclick=function(){var tipo="inline";if($i(idconteudonovo+"_")){var elementos=$i(idconteudonovo+"_").getElementsByTagName("div");if(elementos[elementos.length-1].style.display==tipo){return}if(elementos.length>0){var i=0;do{if(elementos[i].style){if((elementos[i].style.display=="block")||(elementos[i].style.display=="inline")||(elementos[i].style.display=="")){elementos[i].style.display="none";break}}var i=i+1}while(i<elementos.length)var i=elementos.length-1;var mostra=elementos[i];do{if(elementos[i].style){if(elementos[i].style.display==tipo){break}if(elementos[i].style.display=="none"){var mostra=elementos[i]}}var i=i-1}while(i>=0)mostra.style.display=tipo}}}}i3GEO.barraDeBotoes.BARRAS.push(YAHOO.janelaBotoes.xp.panel);YAHOO.janelaBotoes.xp.panel.show()},reativa:function(indice){if(arguments.length==1)i3GEO.barraDeBotoes.BARRAS[indice].show();else{var n=i3GEO.barraDeBotoes.BARRAS.length;for(i=0;i<n;i++){i3GEO.barraDeBotoes.BARRAS[i].show()}}}};
3 3 \ No newline at end of file
... ...
classesjs/i3geo_tudo_compacto.js
... ... @@ -17842,6 +17842,24 @@ i3GEO.barraDeBotoes = {
17842 17842 */
17843 17843 BARRAS: new Array(),
17844 17844 /*
  17845 + Property: PERMITEFECHAR
  17846 +
  17847 + Mostra o botão para fechar as barras ou não.
  17848 +
  17849 + Type:
  17850 + {boolean}
  17851 + */
  17852 + PERMITEFECHAR: true,
  17853 + /*
  17854 + Property: PERMITEDESLOCAR
  17855 +
  17856 + Permite deslocar as barras ou não.
  17857 +
  17858 + Type:
  17859 + {boolean}
  17860 + */
  17861 + PERMITEDESLOCAR: true,
  17862 + /*
17845 17863 Property: LISTABOTOES
17846 17864  
17847 17865 Objeto com a lista de botões.
... ... @@ -17984,8 +18002,8 @@ i3GEO.barraDeBotoes = {
17984 18002 {novoel.style.filter='alpha(opacity=90)';}
17985 18003 else
17986 18004 {novoel.style.opacity= .85;}
17987   - var temp = '<div class="hd">&nbsp;</div>';
17988   - temp += '<div class="bd" style="background-color:rgb(250,250,250);width='+wj+'px" >';
  18005 + //var temp = '<div class="hd" >&nbsp;</div>';
  18006 + //temp += '<div class="bd" style="background-color:rgb(250,250,250);width='+wj+'px" >';
17989 18007 var temp = "";
17990 18008 if (barraZoom == true)
17991 18009 {
... ... @@ -18011,7 +18029,7 @@ i3GEO.barraDeBotoes = {
18011 18029 $i(idconteudo).innerHTML = "";
18012 18030 }
18013 18031 YAHOO.namespace("janelaBotoes.xp");
18014   - YAHOO.janelaBotoes.xp.panel = new YAHOO.widget.Panel(idconteudonovo, {width:wj, fixedcenter: false, constraintoviewport: false, underlay:"none", close:true, visible:true, draggable:true, modal:false } );
  18032 + YAHOO.janelaBotoes.xp.panel = new YAHOO.widget.Panel(idconteudonovo, {width:wj, fixedcenter: false, constraintoviewport: false, underlay:"none", close:i3GEO.barraDeBotoes.PERMITEFECHAR, visible:true, draggable:i3GEO.barraDeBotoes.PERMITEDESLOCAR, modal:false } );
18015 18033 if((barraZoom == true) && $i("img")){
18016 18034 if (!$i("imgClone")){
18017 18035 iclone=document.createElement('IMG');
... ...
classesjs/i3geo_tudo_compacto.js.php
... ... @@ -17842,6 +17842,24 @@ i3GEO.barraDeBotoes = {
17842 17842 */
17843 17843 BARRAS: new Array(),
17844 17844 /*
  17845 + Property: PERMITEFECHAR
  17846 +
  17847 + Mostra o botão para fechar as barras ou não.
  17848 +
  17849 + Type:
  17850 + {boolean}
  17851 + */
  17852 + PERMITEFECHAR: true,
  17853 + /*
  17854 + Property: PERMITEDESLOCAR
  17855 +
  17856 + Permite deslocar as barras ou não.
  17857 +
  17858 + Type:
  17859 + {boolean}
  17860 + */
  17861 + PERMITEDESLOCAR: true,
  17862 + /*
17845 17863 Property: LISTABOTOES
17846 17864  
17847 17865 Objeto com a lista de botões.
... ... @@ -17984,8 +18002,8 @@ i3GEO.barraDeBotoes = {
17984 18002 {novoel.style.filter='alpha(opacity=90)';}
17985 18003 else
17986 18004 {novoel.style.opacity= .85;}
17987   - var temp = '<div class="hd">&nbsp;</div>';
17988   - temp += '<div class="bd" style="background-color:rgb(250,250,250);width='+wj+'px" >';
  18005 + //var temp = '<div class="hd" >&nbsp;</div>';
  18006 + //temp += '<div class="bd" style="background-color:rgb(250,250,250);width='+wj+'px" >';
17989 18007 var temp = "";
17990 18008 if (barraZoom == true)
17991 18009 {
... ... @@ -18011,7 +18029,7 @@ i3GEO.barraDeBotoes = {
18011 18029 $i(idconteudo).innerHTML = "";
18012 18030 }
18013 18031 YAHOO.namespace("janelaBotoes.xp");
18014   - YAHOO.janelaBotoes.xp.panel = new YAHOO.widget.Panel(idconteudonovo, {width:wj, fixedcenter: false, constraintoviewport: false, underlay:"none", close:true, visible:true, draggable:true, modal:false } );
  18032 + YAHOO.janelaBotoes.xp.panel = new YAHOO.widget.Panel(idconteudonovo, {width:wj, fixedcenter: false, constraintoviewport: false, underlay:"none", close:i3GEO.barraDeBotoes.PERMITEFECHAR, visible:true, draggable:i3GEO.barraDeBotoes.PERMITEDESLOCAR, modal:false } );
18015 18033 if((barraZoom == true) && $i("img")){
18016 18034 if (!$i("imgClone")){
18017 18035 iclone=document.createElement('IMG');
... ...