Commit 398ff5592940f4691aebcbb5adf73f74a42cfd06
1 parent
122b9426
Exists in
master
and in
7 other branches
Inclusão de novos parâmetros na definição das ferramentas que são inicializadas com um mapa
Showing
58 changed files
with
1782 additions
and
1782 deletions
Show diff stats
admin/php/classe_metaestat.php
| ... | ... | @@ -444,7 +444,7 @@ class Metaestat{ |
| 444 | 444 | $sqlagrupamento .= " /*FA*//*FA*/ /*FAT*//*FAT*/ GROUP BY ".$agruparpor." ORDER BY ".$agruparpor; |
| 445 | 445 | } |
| 446 | 446 | //SQL para a primeira regiao __SQLDADOS__ ira conter os sqls dos niveis inferiores da regiao se ouver |
| 447 | - //@TODO verificar tipos das colunas no join para tornar mais rapida a juncao | |
| 447 | + //@TODO ajustar tipos das colunas no join para tornar mais rapida a juncao | |
| 448 | 448 | $sqlIntermediario = "SELECT (j.valorcalculado) AS ".$dados["colunavalor"].", __COLUNASSEMGEO__". |
| 449 | 449 | " FROM ".$dadosgeo["esquemadb"].".".$dadosgeo["tabela"]." AS regiao ". |
| 450 | 450 | " INNER JOIN ( __SQLDADOS__ ) ". | ... | ... |
aplicmap/legenda6.htm
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | [if name=TEMA oper=neq value=NAO] |
| 5 | 5 | <table [if name=CLASSE oper=eq value=NAO] style=display:none; [/if] > |
| 6 | 6 | <tr><td style=text-align:left > |
| 7 | - <img onclick='i3GEO.mapa.legendaHTML.escondeTema("[leg_layer_name]")' title="Esconde" src="../imagens/visual/default/branco.gif" class="x" > | |
| 7 | + <img onclick='i3GEO.mapa.legendaHTML.escondeTema("[leg_layer_name]")' title="Esconde" src="../imagens/branco.gif" class="x" > | |
| 8 | 8 | <b><span class=legendaTema ><input value="[leg_layer_name]" name="layer" onclick="i3GEO.mapa.legendaHTML.ativaDesativaTema(this)" type=checkbox checked class=inputsb style=opacity:0.3;cursor:pointer;position:relative;top:2px;left:2px; > [metadata name=TEMA]</span></b><br> </td> |
| 9 | 9 | </tr> |
| 10 | 10 | [if name=legendawms oper=isset ] | ... | ... |
atlas/geral.htm
| ... | ... | @@ -16,7 +16,7 @@ |
| 16 | 16 | Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR |
| 17 | 17 | --> |
| 18 | 18 | <tr style="border:0px"> |
| 19 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 19 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/cabeca.png');height:10px"></td> | |
| 20 | 20 | </tr> |
| 21 | 21 | <tr> |
| 22 | 22 | <td> |
| ... | ... | @@ -80,7 +80,7 @@ |
| 80 | 80 | </table> |
| 81 | 81 | </td> |
| 82 | 82 | </tr> |
| 83 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 83 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/rodape.png');height:10px"></td></tr> | |
| 84 | 84 | </table> |
| 85 | 85 | <center> |
| 86 | 86 | <table id="i3GEOlogoMarca" style='box-shadow:0 1px 13px gray;border-radius:5px;'> | ... | ... |
classesjs/classe_barradebotoes.js
| ... | ... | @@ -24,16 +24,16 @@ |
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * Licença |
| 27 | - * | |
| 27 | + * | |
| 28 | 28 | * GPL2 |
| 29 | - * | |
| 29 | + * | |
| 30 | 30 | * i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet |
| 31 | - * | |
| 31 | + * | |
| 32 | 32 | * Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil Desenvolvedor: Edmar Moretti edmar.moretti@gmail.com |
| 33 | - * | |
| 33 | + * | |
| 34 | 34 | * Este programa é software livre; você pode redistribuí-lo e/ou modificá-lo sob os termos da Licença |
| 35 | 35 | * Pública Geral GNU conforme publicada pela Free Software Foundation; |
| 36 | - * | |
| 36 | + * | |
| 37 | 37 | * Este programa é distribuído na expectativa de que seja útil, porém, SEM NENHUMA GARANTIA; nem mesmo a |
| 38 | 38 | * garantia implícita de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA. Consulte a Licença |
| 39 | 39 | * Pública Geral do GNU para mais detalhes. Você deve ter recebido uma cópia da Licença Pública Geral do |
| ... | ... | @@ -44,1289 +44,1275 @@ if (typeof (i3GEO) === 'undefined') { |
| 44 | 44 | var i3GEO = {}; |
| 45 | 45 | } |
| 46 | 46 | i3GEO.barraDeBotoes = |
| 47 | -{ | |
| 48 | - /** | |
| 49 | - * Variavel: BARRAS | |
| 50 | - * | |
| 51 | - * Array com os objetos YAHOO.i3GEO.janela.botoes criados | |
| 52 | - * | |
| 53 | - * Tipo: | |
| 54 | - * | |
| 55 | - * {array} | |
| 56 | - */ | |
| 57 | - BARRAS : [], | |
| 58 | - /** | |
| 59 | - * Variavel: BOTAOCLICADO | |
| 60 | - * | |
| 61 | - * Último icone que foi clicado | |
| 62 | - * | |
| 63 | - * Tipo: | |
| 64 | - * | |
| 65 | - * {String} | |
| 66 | - */ | |
| 67 | - BOTAOCLICADO : "", | |
| 68 | - /** | |
| 69 | - * Propriedade: ATIVA | |
| 70 | - * | |
| 71 | - * Indica se a barra de botões será ou não cosntruída automaticamente no processo de | |
| 72 | - * inicialização do mapa. | |
| 73 | - * | |
| 74 | - * Tipo: | |
| 75 | - * | |
| 76 | - * {boolean} | |
| 77 | - * | |
| 78 | - * Default: | |
| 79 | - * | |
| 80 | - * true | |
| 81 | - */ | |
| 82 | - ATIVA : true, | |
| 83 | - /** | |
| 84 | - * Propriedade: TIPO | |
| 85 | - * | |
| 86 | - * Tipo de barra. | |
| 87 | - * | |
| 88 | - * Por padrão, utiliza a biblioteca YUI para construir a barra, opcionalmente pode-se utilizar outro tipo. | |
| 89 | - * | |
| 90 | - * Se for utilizado o padrão YUI e os elementos para compor a barra não forem encontrados, a barra não | |
| 91 | - * será criada. | |
| 92 | - * | |
| 93 | - * O tipo emlinha insere os botões em um elemento html qualquer já existente na página. Nesse caso a barra | |
| 94 | - * não é iniciada automaticamente, sendo necessário usar a função | |
| 95 | - * | |
| 96 | - * i3GEO.barraDeBotoes.inicializaBarra("","",false,0,0,onde) | |
| 97 | - * | |
| 98 | - * Caso o parâmetro "onde" seja omitido ou o o elemento HTML com esse ID não for encontrado, será | |
| 99 | - * criado um elemento do tipo DIV no contexto do mapa. | |
| 100 | - * | |
| 101 | - * Se você quer usar a barra do tipo olho de peixe e seu mapa tiver tamanho fixo, utilize o tipo "olhodepeixe1" | |
| 102 | - * | |
| 103 | - * Tipo: | |
| 104 | - * | |
| 105 | - * {string} | |
| 106 | - * | |
| 107 | - * Default: | |
| 108 | - * | |
| 109 | - * {yui} | |
| 110 | - * | |
| 111 | - * Valores: | |
| 112 | - * | |
| 113 | - * {"yui","olhodepeixe","olhodepeixe1","emlinha"} | |
| 114 | - */ | |
| 115 | - TIPO : "yui", | |
| 116 | - /** | |
| 117 | - * Propriedade: OFFSET | |
| 118 | - * | |
| 119 | - * Ajuste do deslocamento vertical da barra (válido apenas para o tipo "olhodepeixe") | |
| 120 | - * | |
| 121 | - * Desloca a barra em uma determinada quantidade de pixels. Valores negativos fazem a barra subir. | |
| 122 | - * | |
| 123 | - * Tipo: | |
| 124 | - * | |
| 125 | - * {numeric} | |
| 126 | - * | |
| 127 | - * Default: | |
| 128 | - * | |
| 129 | - * {-205} | |
| 130 | - */ | |
| 131 | - OFFSET : -205, | |
| 132 | - /** | |
| 133 | - * Propriedade: POSICAO | |
| 134 | - * | |
| 135 | - * Define o posicionamento da barra de botões do tipo olhodepeixe | |
| 136 | - * | |
| 137 | - * Valores: | |
| 138 | - * | |
| 139 | - * {"top","bottom"} | |
| 140 | - * | |
| 141 | - * Tipo: | |
| 142 | - * | |
| 143 | - * {string} | |
| 144 | - * | |
| 145 | - * Default: | |
| 146 | - * | |
| 147 | - * {"bottom"} | |
| 148 | - */ | |
| 149 | - POSICAO : "bottom", | |
| 150 | - /** | |
| 151 | - * Propriedade: MAXBOTOES | |
| 152 | - * | |
| 153 | - * Número de botões iniciais (válido apenas para os tipos olho de peixe) | |
| 154 | - * | |
| 155 | - * Se for 0, todos os botões serão mostrados | |
| 156 | - * | |
| 157 | - * Tipo: | |
| 158 | - * | |
| 159 | - * {numeric} | |
| 160 | - * | |
| 161 | - * Default: | |
| 162 | - * | |
| 163 | - * {13} | |
| 164 | - */ | |
| 165 | - MAXBOTOES : 13, | |
| 166 | - /** | |
| 167 | - * Propriedade: AJUDA | |
| 168 | - * | |
| 169 | - * Mostra um texto de ajuda colado ao ícone da ferramenta | |
| 170 | - * | |
| 171 | - * Tipo: | |
| 172 | - * | |
| 173 | - * {boolean} | |
| 174 | - * | |
| 175 | - * Default: | |
| 176 | - * | |
| 177 | - * {true} | |
| 178 | - */ | |
| 179 | - AJUDA : true, | |
| 180 | - /** | |
| 181 | - * Propriedade: ORIENTACAO | |
| 182 | - * | |
| 183 | - * Orientação vertical ou horizontal da barra (não se aplica aos tipos olhos de peixe) | |
| 184 | - * | |
| 185 | - * Tipo: | |
| 186 | - * | |
| 187 | - * {string} | |
| 188 | - * | |
| 189 | - * Valores: | |
| 190 | - * | |
| 191 | - * {"horizontal","vertical"} | |
| 192 | - * | |
| 193 | - * Default: | |
| 194 | - * | |
| 195 | - * {"vertical"} | |
| 196 | - */ | |
| 197 | - ORIENTACAO : "vertical", | |
| 198 | - /** | |
| 199 | - * Propriedade: HORIZONTALW | |
| 200 | - * | |
| 201 | - * Largura da barra quando ORIENTACAO = "horizontal" (não se aplica aos tipos olhos de peixe) | |
| 202 | - * | |
| 203 | - * Tipo: | |
| 204 | - * | |
| 205 | - * {numeric} | |
| 206 | - * | |
| 207 | - * Default: | |
| 208 | - * | |
| 209 | - * {350} | |
| 210 | - */ | |
| 211 | - HORIZONTALW : 350, | |
| 212 | - /** | |
| 213 | - * Propriedade: TIPOAJUDA | |
| 214 | - * | |
| 215 | - * Tipo do balão de ajuda que é mostrado colado ao ícone da ferramenta | |
| 216 | - * | |
| 217 | - * Tipo: | |
| 218 | - * | |
| 219 | - * {string} | |
| 220 | - * | |
| 221 | - * Valores: | |
| 222 | - * | |
| 223 | - * {"horizontal","vertical","balao"} | |
| 224 | - * | |
| 225 | - * Default: | |
| 226 | - * | |
| 227 | - * {"horizontal"} | |
| 228 | - */ | |
| 229 | - TIPOAJUDA : "balao", | |
| 230 | - /** | |
| 231 | - * Propriedade: SOICONES | |
| 232 | - * | |
| 233 | - * Esconde as bordas das barras e o fundo, mostrando apenas os ícones (não se aplica aos tipos olhos de peixe) | |
| 234 | - * | |
| 235 | - * Default: | |
| 236 | - * | |
| 237 | - * {false} | |
| 238 | - * | |
| 239 | - * Tipo: | |
| 240 | - * | |
| 241 | - * {boolean} | |
| 242 | - */ | |
| 243 | - SOICONES : false, | |
| 244 | - /** | |
| 245 | - * Propriedade: AUTOALTURA | |
| 246 | - * | |
| 247 | - * Ajusta automaticamente a altura das barras conforme a altura do mapa. | |
| 248 | - * | |
| 249 | - * Esta opção não tem efeito se a barra contiver a barra de zoom (isso ocorre em função de um bug | |
| 250 | - * do YIU, que causa erro na barra nessas condições) | |
| 251 | - * | |
| 252 | - * Tipo: | |
| 253 | - * | |
| 254 | - * {boolean} | |
| 255 | - */ | |
| 256 | - AUTOALTURA : false, | |
| 257 | - /** | |
| 258 | - * Propriedade: TRANSICAOSUAVE | |
| 259 | - * | |
| 260 | - * Altera a transparência das barras quando o mouse sobrepõe a barra e quando sai da barra (não se aplica aos | |
| 261 | - * tipos olhos de peixe) | |
| 262 | - * | |
| 263 | - * Tipo: | |
| 264 | - * | |
| 265 | - * {boolean} | |
| 266 | - * | |
| 267 | - * Default: | |
| 268 | - * | |
| 269 | - * {true} | |
| 270 | - */ | |
| 271 | - TRANSICAOSUAVE : true, | |
| 272 | - /** | |
| 273 | - * Propriedade: OPACIDADE | |
| 274 | - * | |
| 275 | - * Valor da opacidade miníma utilizada quando TRANSICAOSUAVE for igual a true. (não se aplica aos tipos olhos de | |
| 276 | - * peixe) | |
| 277 | - * | |
| 278 | - * Varia de 0 a 100 | |
| 279 | - * | |
| 280 | - * Tipo: | |
| 281 | - * | |
| 282 | - * {numeric} | |
| 283 | - * | |
| 284 | - * Default: | |
| 285 | - * | |
| 286 | - * {65} | |
| 287 | - */ | |
| 288 | - OPACIDADE : 65, | |
| 289 | - /** | |
| 290 | - * Propriedade: PERMITEFECHAR | |
| 291 | - * | |
| 292 | - * Mostra o botão para fechar as barras ou não. | |
| 293 | - * | |
| 294 | - * Tipo: | |
| 295 | - * | |
| 296 | - * {boolean} | |
| 297 | - */ | |
| 298 | - PERMITEFECHAR : true, | |
| 299 | - /** | |
| 300 | - * Propriedade: PERMITEDESLOCAR | |
| 301 | - * | |
| 302 | - * Permite deslocar as barras ou não. | |
| 303 | - * | |
| 304 | - * Tipo: | |
| 305 | - * | |
| 306 | - * {boolean} | |
| 307 | - */ | |
| 308 | - PERMITEDESLOCAR : true, | |
| 309 | - /** | |
| 310 | - * ATIVAMENUCONTEXTO depreciado na versao 6.0 | |
| 311 | - */ | |
| 312 | - ATIVAMENUCONTEXTO : false, | |
| 313 | - /** | |
| 314 | - * Propriedade: AUTO | |
| 315 | - * | |
| 316 | - * Cria as barras de botões automaticamente, utilizando os botões padrão sem considerar a lista de | |
| 317 | - * botões definidas no HTML da interface. | |
| 318 | - * | |
| 319 | - * A lista de botões é definida em i3GEO.configura | |
| 320 | - * | |
| 321 | - * Tipo: | |
| 322 | - * | |
| 323 | - * {Boolean} | |
| 324 | - * | |
| 325 | - * Default: | |
| 326 | - * | |
| 327 | - * {false} | |
| 328 | - */ | |
| 329 | - AUTO : false, | |
| 330 | - /** | |
| 331 | - * Propriedade: LISTABOTOES | |
| 332 | - * | |
| 333 | - * Objeto com a lista de botões e suas propriedades, como por exemplo, a função a ser executada ao se clicar no | |
| 334 | - * botão. | |
| 335 | - * | |
| 336 | - * Essa lista não indica quais os botões que serão inseridos. Para definir os botões que serão | |
| 337 | - * inseridos, inclua no HTML da interface os botões desejados (veja em i3geo/exemplos). Se vc utilizar a opção | |
| 338 | - * i3GEO.barraDeBotoes.AUTO = true , os botões serão inseridos automaticamente. Nesse caso, utilize a | |
| 339 | - * opção i3GEO.barraDeBotoes.INCLUIRBOTOES para indicar os botões desejados. | |
| 340 | - * | |
| 341 | - * Por default utiliza os botoes definidos em i3GEO.configura.funcoesBotoes.botoes | |
| 342 | - * | |
| 343 | - * Tipo: | |
| 344 | - * | |
| 345 | - * {objeto} | |
| 346 | - */ | |
| 347 | - LISTABOTOES : i3GEO.configura.funcoesBotoes.botoes, | |
| 348 | - /** | |
| 349 | - * Propriedade: INCLUIBOTAO | |
| 350 | - * | |
| 351 | - * Objeto que indica quais os botões que serão inseridos na barra de botões 2. | |
| 352 | - * | |
| 353 | - * Essa opção só funciona se i3GEO.barraDeBotoes.AUTO = true | |
| 354 | - * | |
| 355 | - * Vc pode também alterar a ordem dos botoes ou adicionar novos | |
| 356 | - * | |
| 357 | - * Na barra de botões do tipo "yui", as chaves serão adicionadas como o atributo "id" em cada botão. Nesse | |
| 358 | - * caso, é possível definir o estilo CSS para cada botão (veja em i3geo/css/botoes2.css). | |
| 359 | - * | |
| 360 | - * A ativação de cada botão, ou seja, a função que é executada ao ser feito o clique, | |
| 361 | - * é definida em i3GEO.configura.funcoesBotoes | |
| 362 | - * | |
| 363 | - * Default: | |
| 364 | - * | |
| 365 | - * INCLUIBOTAO: { | |
| 366 | - * | |
| 367 | - * abreJanelaLegenda: false, | |
| 368 | - * | |
| 369 | - * zoomli: false, | |
| 370 | - * | |
| 371 | - * zoomiauto: false, | |
| 372 | - * | |
| 373 | - * zoomoauto: false | |
| 374 | - * | |
| 375 | - * pan: false, | |
| 376 | - * | |
| 377 | - * zoomtot:false, | |
| 378 | - * | |
| 379 | - * identifica: true, | |
| 380 | - * | |
| 381 | - * identificaBalao: true, | |
| 382 | - * | |
| 383 | - * mede: true, | |
| 384 | - * | |
| 385 | - * area: true, | |
| 386 | - * | |
| 387 | - * imprimir: true, | |
| 388 | - * | |
| 389 | - * reinicia: true, | |
| 390 | - * | |
| 391 | - * exten: true, | |
| 392 | - * | |
| 393 | - * referencia: true, | |
| 394 | - * | |
| 395 | - * inserexy: true, | |
| 396 | - * | |
| 397 | - * textofid: true, | |
| 398 | - * | |
| 399 | - * selecao: true, | |
| 400 | - * | |
| 401 | - * barraedicao: false, | |
| 402 | - * | |
| 403 | - * google: true, | |
| 404 | - * | |
| 405 | - * buscafotos: true, | |
| 406 | - * | |
| 407 | - * wiki: true, | |
| 408 | - * | |
| 409 | - * metar: true, | |
| 410 | - * | |
| 411 | - * lentei: true, | |
| 412 | - * | |
| 413 | - * confluence: true, | |
| 414 | - * | |
| 415 | - * inseregrafico: true, | |
| 416 | - * | |
| 417 | - * v3d: true, | |
| 418 | - * | |
| 419 | - * localizar: true, | |
| 420 | - * | |
| 421 | - * zoomproximo: true, | |
| 422 | - * | |
| 423 | - * zoomanterior: true } | |
| 424 | - * | |
| 425 | - * Tipo: | |
| 426 | - * | |
| 427 | - * {objeto} | |
| 428 | - */ | |
| 429 | - INCLUIBOTAO : { | |
| 430 | - abreJanelaLegenda : true, | |
| 431 | - localizar : true, | |
| 432 | - zoomanterior : true, | |
| 433 | - zoomli : true, | |
| 434 | - zoomproximo : true, | |
| 435 | - zoomiauto : false, | |
| 436 | - zoomoauto : false, | |
| 437 | - pan : true, | |
| 438 | - zoomtot : true, | |
| 439 | - identifica : true, | |
| 440 | - identificaBalao : true, | |
| 441 | - mede : true, | |
| 442 | - area : true, | |
| 443 | - selecao : true, | |
| 444 | - barraedicao : true, | |
| 445 | - imprimir : true, | |
| 446 | - google : true, | |
| 447 | - referencia : true, | |
| 448 | - exten : true, | |
| 449 | - inserexy : true, | |
| 450 | - textofid : true, | |
| 451 | - reinicia : true, | |
| 452 | - buscafotos : true, | |
| 453 | - wiki : true, | |
| 454 | - metar : true, | |
| 455 | - lentei : true, | |
| 456 | - confluence : true, | |
| 457 | - inseregrafico : true, | |
| 458 | - v3d : false | |
| 459 | - }, | |
| 460 | - /** | |
| 461 | - * Propriedade: ICONEBOTAO | |
| 462 | - * | |
| 463 | - * Ícones utilizados em cada um dos botões da barra. | |
| 464 | - * | |
| 465 | - * Esses ícones são utilizados apenas se i3GEO.barraDeBotoes.TIPO = "olhodepeixe" e "olhodepeixe1". Para cada elemento | |
| 466 | - * existente em i3GEO.barraDeBotoes.INCLUIBOTAO deve existir um elemento nesse objeto. A chave de cada elemento é a mesma do | |
| 467 | - * objeto INCLUIBOTAO. O endereço da imagem será complementado pelo i3geo, adicionando no início da string o | |
| 468 | - * valor da variável i3GEO.configura.locaplic | |
| 469 | - * | |
| 470 | - * Default: | |
| 471 | - * | |
| 472 | - * ICONEBOTAO: { | |
| 473 | - * | |
| 474 | - * zoomli: "/imagens/gisicons/eudock/zoom-region.png", | |
| 475 | - * | |
| 476 | - * zoomproximo: "/imagens/gisicons/eudock/zoom-next.png", | |
| 477 | - * | |
| 478 | - * zoomanterior: "/imagens/gisicons/eudock/zoom-last.png", | |
| 479 | - * | |
| 480 | - * pan: "/imagens/gisicons/eudock/pan.png", | |
| 481 | - * | |
| 482 | - * zoomtot: "/imagens/gisicons/eudock/zoom-extent.png", | |
| 483 | - * | |
| 484 | - * identifica: "/imagens/gisicons/eudock/identify.png", | |
| 485 | - * | |
| 486 | - * identificaBalao: "/imagens/gisicons/eudock/tips.png", | |
| 487 | - * | |
| 488 | - * mede: "/imagens/gisicons/eudock/length-measure.png", | |
| 489 | - * | |
| 490 | - * area: "/imagens/gisicons/eudock/area-measure.png", | |
| 491 | - * | |
| 492 | - * imprimir: "/imagens/gisicons/eudock/print.png", | |
| 493 | - * | |
| 494 | - * reinicia: "/imagens/gisicons/eudock/redraw.png", | |
| 495 | - * | |
| 496 | - * exten: "/imagens/gisicons/eudock/map-extent-info.png", | |
| 497 | - * | |
| 498 | - * referencia: "/imagens/gisicons/eudock/map-reference.png", | |
| 499 | - * | |
| 500 | - * inserexy: "/imagens/gisicons/eudock/point-create.png", | |
| 501 | - * | |
| 502 | - * textofid: "/imagens/gisicons/eudock/text-add.png", | |
| 503 | - * | |
| 504 | - * selecao: "/imagens/gisicons/eudock/select.png", | |
| 505 | - * | |
| 506 | - * google: "/imagens/gisicons/eudock/google-map.png", | |
| 507 | - * | |
| 508 | - * buscafotos: "/imagens/gisicons/eudock/fotos.png", | |
| 509 | - * | |
| 510 | - * wiki: "/imagens/gisicons/eudock/wiki.png", | |
| 511 | - * | |
| 512 | - * metar: "/imagens/gisicons/eudock/metar.png", | |
| 513 | - * | |
| 514 | - * lentei: "/imagens/gisicons/eudock/lente.png", | |
| 515 | - * | |
| 516 | - * confluence: "/imagens/gisicons/eudock/confluence.png", | |
| 517 | - * | |
| 518 | - * inseregrafico: "/imagens/gisicons/eudock/grafico.png", | |
| 519 | - * | |
| 520 | - * v3d: "/imagens/gisicons/eudock/v3d.png", | |
| 521 | - * | |
| 522 | - * barraedicao: "/imagens/gisicons/eudock/editopen.png", | |
| 523 | - * | |
| 524 | - * localizar: "/imagens/gisicons/eudock/search.png", | |
| 525 | - * | |
| 526 | - * abreJanelaLegenda: "/imagens/gisicons/eudock/legenda.png" } | |
| 527 | - * | |
| 528 | - * Type: | |
| 529 | - * | |
| 530 | - * {objeto} | |
| 531 | - */ | |
| 532 | - ICONEBOTAO : { | |
| 533 | - zoomli : "/imagens/gisicons/eudock/zoom-region.png", | |
| 534 | - zoomproximo : "/imagens/gisicons/eudock/zoom-next.png", | |
| 535 | - zoomanterior : "/imagens/gisicons/eudock/zoom-last.png", | |
| 536 | - zoomiauto : "/imagens/gisicons/eudock/zoom-in.png", | |
| 537 | - zoomoauto : "/imagens/gisicons/eudock/zoom-out.png", | |
| 538 | - pan : "/imagens/gisicons/eudock/pan.png", | |
| 539 | - zoomtot : "/imagens/gisicons/eudock/zoom-extent.png", | |
| 540 | - identifica : "/imagens/gisicons/eudock/identify.png", | |
| 541 | - identificaBalao : "/imagens/gisicons/eudock/tips.png", | |
| 542 | - mede : "/imagens/gisicons/eudock/length-measure.png", | |
| 543 | - area : "/imagens/gisicons/eudock/area-measure.png", | |
| 544 | - imprimir : "/imagens/gisicons/eudock/print.png", | |
| 545 | - reinicia : "/imagens/gisicons/eudock/redraw.png", | |
| 546 | - exten : "/imagens/gisicons/eudock/map-extent-info.png", | |
| 547 | - referencia : "/imagens/gisicons/eudock/map-reference.png", | |
| 548 | - inserexy : "/imagens/gisicons/eudock/point-create.png", | |
| 549 | - textofid : "/imagens/gisicons/eudock/text-add.png", | |
| 550 | - selecao : "/imagens/gisicons/eudock/select.png", | |
| 551 | - google : "/imagens/gisicons/eudock/google-map.png", | |
| 552 | - buscafotos : "/imagens/gisicons/eudock/fotos.png", | |
| 553 | - wiki : "/imagens/gisicons/eudock/wiki.png", | |
| 554 | - metar : "/imagens/gisicons/eudock/metar.png", | |
| 555 | - lentei : "/imagens/gisicons/eudock/lente.png", | |
| 556 | - confluence : "/imagens/gisicons/eudock/confluence.png", | |
| 557 | - inseregrafico : "/imagens/gisicons/eudock/grafico.png", | |
| 558 | - v3d : "/imagens/gisicons/eudock/v3d.png", | |
| 559 | - barraedicao : "/imagens/gisicons/eudock/editopen.png", | |
| 560 | - localizar : "/imagens/gisicons/eudock/search.png", | |
| 561 | - abreJanelaLegenda : "/imagens/gisicons/eudock/show-legend.png" | |
| 562 | - }, | |
| 563 | - /** | |
| 564 | - * Propriedade: TEMPLATEBOTAO | |
| 565 | - * | |
| 566 | - * Template HTML que será utilizado na construção automática dos botões da barra 2. | |
| 567 | - * | |
| 568 | - * Utilize a string $$ para indicar onde será incluído o código do botão. | |
| 569 | - * | |
| 570 | - * Default: "<div style='display:inline;background-color:rgb(250,250,250);'> | |
| 571 | - * <p style='font-size:2px;'> | |
| 572 | - * | |
| 573 | - * </p> | |
| 574 | - * <img src='"+i3GEO.configura.locaplic+"/imagens/branco.gif' id='$$'/></div>" | |
| 575 | - * | |
| 576 | - * Tipo: | |
| 577 | - * | |
| 578 | - * {string} | |
| 579 | - */ | |
| 580 | - TEMPLATEBOTAO : "", | |
| 581 | - /** | |
| 582 | - * Propriedade: BOTAOPADRAO | |
| 583 | - * | |
| 584 | - * Botão que será ativado ao inicializar os botões com ativaBotoes. | |
| 585 | - * | |
| 586 | - * Correpsonde ao item iddiv de LISTABOTOES | |
| 587 | - * | |
| 588 | - * Tipo: | |
| 589 | - * | |
| 590 | - * {String} | |
| 591 | - */ | |
| 592 | - BOTAOPADRAO : "pan", | |
| 593 | - /** | |
| 594 | - * Propriedade: COMPORTAMENTO | |
| 595 | - * | |
| 596 | - * Define o comportamento dos botões quando é pressionado | |
| 597 | - * | |
| 598 | - * Tipo: | |
| 599 | - * | |
| 600 | - * {String} | |
| 601 | - * | |
| 602 | - * Valores: | |
| 603 | - * | |
| 604 | - * "padrao" - comportamento padrão, com bordas da esquerda e inferiores ativadas | |
| 605 | - * | |
| 606 | - * "destacado" - destaca apenas o botão atualmente pressionado | |
| 607 | - * | |
| 608 | - * "vermelho" - destaca com fundo vermelho | |
| 609 | - * | |
| 610 | - * "laranja" - destaca com fundo laranja | |
| 611 | - * | |
| 612 | - * "cinza" - destaca com fundo cinza | |
| 613 | - * | |
| 614 | - */ | |
| 615 | - COMPORTAMENTO : "padrao", | |
| 616 | - /** | |
| 617 | - * Function: adicionaBotao | |
| 618 | - * | |
| 619 | - * Adiciona um novo botao nas definicoes da barra de botoes | |
| 620 | - * | |
| 621 | - * O Objeto deve ser como no exemplo abaixo | |
| 622 | - * | |
| 623 | - * i3GEO.barraDeBotoes.adicionaBotao( { iddiv:"meubotao", tipo:"", dica:"Meu Botão", titulo: "Meu Botão", icone: | |
| 624 | - * "/imagens/oxygen/22x22/user-online.png", funcaoonclick:function(){ alert("Meu novo botao com ID = meubotao"); } } ); | |
| 625 | - */ | |
| 626 | - adicionaBotao : function(obj) { | |
| 627 | - i3GEO.barraDeBotoes.LISTABOTOES.push(obj); | |
| 628 | - i3GEO.barraDeBotoes.ICONEBOTAO[obj.iddiv] = "/imagens/oxygen/22x22/user-online.png"; | |
| 629 | - i3GEO.barraDeBotoes.INCLUIBOTAO[obj.iddiv] = true; | |
| 630 | - }, | |
| 631 | - /** | |
| 632 | - * Function: ativaPadrao | |
| 633 | - * | |
| 634 | - * Ativa o botão definido como padrão, executando a função definida em onclick | |
| 635 | - * | |
| 636 | - * Utilizado para restaurar o status padrão da barra, principalmente por ferramentas que alteram ícones e outras | |
| 637 | - * propriedades do mapa | |
| 638 | - */ | |
| 639 | - ativaPadrao : function() { | |
| 640 | - if (i3GEO.barraDeBotoes.ATIVA === true) { | |
| 641 | - try { | |
| 642 | - var botao = i3GEO.barraDeBotoes.defBotao(i3GEO.barraDeBotoes.BOTAOPADRAO); | |
| 643 | - if (botao.funcaoonclick) { | |
| 644 | - botao.funcaoonclick.call(); | |
| 47 | + { | |
| 48 | + /** | |
| 49 | + * Variavel: BARRAS | |
| 50 | + * | |
| 51 | + * Array com os objetos YAHOO.i3GEO.janela.botoes criados | |
| 52 | + * | |
| 53 | + * Tipo: | |
| 54 | + * | |
| 55 | + * {array} | |
| 56 | + */ | |
| 57 | + BARRAS : [], | |
| 58 | + /** | |
| 59 | + * Variavel: BOTAOCLICADO | |
| 60 | + * | |
| 61 | + * Último icone que foi clicado | |
| 62 | + * | |
| 63 | + * Tipo: | |
| 64 | + * | |
| 65 | + * {String} | |
| 66 | + */ | |
| 67 | + BOTAOCLICADO : "", | |
| 68 | + /** | |
| 69 | + * Propriedade: ATIVA | |
| 70 | + * | |
| 71 | + * Indica se a barra de botões será ou não cosntruída automaticamente no processo de | |
| 72 | + * inicialização do mapa. | |
| 73 | + * | |
| 74 | + * Tipo: | |
| 75 | + * | |
| 76 | + * {boolean} | |
| 77 | + * | |
| 78 | + * Default: | |
| 79 | + * | |
| 80 | + * true | |
| 81 | + */ | |
| 82 | + ATIVA : true, | |
| 83 | + /** | |
| 84 | + * Propriedade: TIPO | |
| 85 | + * | |
| 86 | + * Tipo de barra. | |
| 87 | + * | |
| 88 | + * Por padrão, utiliza a biblioteca YUI para construir a barra, opcionalmente pode-se utilizar outro tipo. | |
| 89 | + * | |
| 90 | + * Se for utilizado o padrão YUI e os elementos para compor a barra não forem encontrados, a barra não | |
| 91 | + * será criada. | |
| 92 | + * | |
| 93 | + * O tipo emlinha insere os botões em um elemento html qualquer já existente na página. Nesse caso a barra | |
| 94 | + * não é iniciada automaticamente, sendo necessário usar a função | |
| 95 | + * | |
| 96 | + * i3GEO.barraDeBotoes.inicializaBarra("","",false,0,0,onde) | |
| 97 | + * | |
| 98 | + * Caso o parâmetro "onde" seja omitido ou o o elemento HTML com esse ID não for encontrado, será | |
| 99 | + * criado um elemento do tipo DIV no contexto do mapa. | |
| 100 | + * | |
| 101 | + * Se você quer usar a barra do tipo olho de peixe e seu mapa tiver tamanho fixo, utilize o tipo "olhodepeixe1" | |
| 102 | + * | |
| 103 | + * Tipo: | |
| 104 | + * | |
| 105 | + * {string} | |
| 106 | + * | |
| 107 | + * Default: | |
| 108 | + * | |
| 109 | + * {yui} | |
| 110 | + * | |
| 111 | + * Valores: | |
| 112 | + * | |
| 113 | + * {"yui","olhodepeixe","olhodepeixe1","emlinha"} | |
| 114 | + */ | |
| 115 | + TIPO : "yui", | |
| 116 | + /** | |
| 117 | + * Propriedade: OFFSET | |
| 118 | + * | |
| 119 | + * Ajuste do deslocamento vertical da barra (válido apenas para o tipo "olhodepeixe") | |
| 120 | + * | |
| 121 | + * Desloca a barra em uma determinada quantidade de pixels. Valores negativos fazem a barra subir. | |
| 122 | + * | |
| 123 | + * Tipo: | |
| 124 | + * | |
| 125 | + * {numeric} | |
| 126 | + * | |
| 127 | + * Default: | |
| 128 | + * | |
| 129 | + * {-205} | |
| 130 | + */ | |
| 131 | + OFFSET : -205, | |
| 132 | + /** | |
| 133 | + * Propriedade: POSICAO | |
| 134 | + * | |
| 135 | + * Define o posicionamento da barra de botões do tipo olhodepeixe | |
| 136 | + * | |
| 137 | + * Valores: | |
| 138 | + * | |
| 139 | + * {"top","bottom"} | |
| 140 | + * | |
| 141 | + * Tipo: | |
| 142 | + * | |
| 143 | + * {string} | |
| 144 | + * | |
| 145 | + * Default: | |
| 146 | + * | |
| 147 | + * {"bottom"} | |
| 148 | + */ | |
| 149 | + POSICAO : "bottom", | |
| 150 | + /** | |
| 151 | + * Propriedade: MAXBOTOES | |
| 152 | + * | |
| 153 | + * Número de botões iniciais (válido apenas para os tipos olho de peixe) | |
| 154 | + * | |
| 155 | + * Se for 0, todos os botões serão mostrados | |
| 156 | + * | |
| 157 | + * Tipo: | |
| 158 | + * | |
| 159 | + * {numeric} | |
| 160 | + * | |
| 161 | + * Default: | |
| 162 | + * | |
| 163 | + * {13} | |
| 164 | + */ | |
| 165 | + MAXBOTOES : 13, | |
| 166 | + /** | |
| 167 | + * Propriedade: AJUDA | |
| 168 | + * | |
| 169 | + * Mostra um texto de ajuda colado ao ícone da ferramenta | |
| 170 | + * | |
| 171 | + * Tipo: | |
| 172 | + * | |
| 173 | + * {boolean} | |
| 174 | + * | |
| 175 | + * Default: | |
| 176 | + * | |
| 177 | + * {true} | |
| 178 | + */ | |
| 179 | + AJUDA : true, | |
| 180 | + /** | |
| 181 | + * Propriedade: ORIENTACAO | |
| 182 | + * | |
| 183 | + * Orientação vertical ou horizontal da barra (não se aplica aos tipos olhos de peixe) | |
| 184 | + * | |
| 185 | + * Tipo: | |
| 186 | + * | |
| 187 | + * {string} | |
| 188 | + * | |
| 189 | + * Valores: | |
| 190 | + * | |
| 191 | + * {"horizontal","vertical"} | |
| 192 | + * | |
| 193 | + * Default: | |
| 194 | + * | |
| 195 | + * {"vertical"} | |
| 196 | + */ | |
| 197 | + ORIENTACAO : "vertical", | |
| 198 | + /** | |
| 199 | + * Propriedade: HORIZONTALW | |
| 200 | + * | |
| 201 | + * Largura da barra quando ORIENTACAO = "horizontal" (não se aplica aos tipos olhos de peixe) | |
| 202 | + * | |
| 203 | + * Tipo: | |
| 204 | + * | |
| 205 | + * {numeric} | |
| 206 | + * | |
| 207 | + * Default: | |
| 208 | + * | |
| 209 | + * {350} | |
| 210 | + */ | |
| 211 | + HORIZONTALW : 350, | |
| 212 | + /** | |
| 213 | + * Propriedade: TIPOAJUDA | |
| 214 | + * | |
| 215 | + * Tipo do balão de ajuda que é mostrado colado ao ícone da ferramenta | |
| 216 | + * | |
| 217 | + * Tipo: | |
| 218 | + * | |
| 219 | + * {string} | |
| 220 | + * | |
| 221 | + * Valores: | |
| 222 | + * | |
| 223 | + * {"horizontal","vertical","balao"} | |
| 224 | + * | |
| 225 | + * Default: | |
| 226 | + * | |
| 227 | + * {"horizontal"} | |
| 228 | + */ | |
| 229 | + TIPOAJUDA : "balao", | |
| 230 | + /** | |
| 231 | + * Propriedade: SOICONES | |
| 232 | + * | |
| 233 | + * Esconde as bordas das barras e o fundo, mostrando apenas os ícones (não se aplica aos tipos olhos de peixe) | |
| 234 | + * | |
| 235 | + * Default: | |
| 236 | + * | |
| 237 | + * {false} | |
| 238 | + * | |
| 239 | + * Tipo: | |
| 240 | + * | |
| 241 | + * {boolean} | |
| 242 | + */ | |
| 243 | + SOICONES : false, | |
| 244 | + /** | |
| 245 | + * Propriedade: AUTOALTURA | |
| 246 | + * | |
| 247 | + * Ajusta automaticamente a altura das barras conforme a altura do mapa. | |
| 248 | + * | |
| 249 | + * Esta opção não tem efeito se a barra contiver a barra de zoom (isso ocorre em função de um bug | |
| 250 | + * do YIU, que causa erro na barra nessas condições) | |
| 251 | + * | |
| 252 | + * Tipo: | |
| 253 | + * | |
| 254 | + * {boolean} | |
| 255 | + */ | |
| 256 | + AUTOALTURA : false, | |
| 257 | + /** | |
| 258 | + * Propriedade: TRANSICAOSUAVE | |
| 259 | + * | |
| 260 | + * Altera a transparência das barras quando o mouse sobrepõe a barra e quando sai da barra (não se aplica aos | |
| 261 | + * tipos olhos de peixe) | |
| 262 | + * | |
| 263 | + * Tipo: | |
| 264 | + * | |
| 265 | + * {boolean} | |
| 266 | + * | |
| 267 | + * Default: | |
| 268 | + * | |
| 269 | + * {true} | |
| 270 | + */ | |
| 271 | + TRANSICAOSUAVE : true, | |
| 272 | + /** | |
| 273 | + * Propriedade: OPACIDADE | |
| 274 | + * | |
| 275 | + * Valor da opacidade miníma utilizada quando TRANSICAOSUAVE for igual a true. (não se aplica aos tipos olhos de | |
| 276 | + * peixe) | |
| 277 | + * | |
| 278 | + * Varia de 0 a 100 | |
| 279 | + * | |
| 280 | + * Tipo: | |
| 281 | + * | |
| 282 | + * {numeric} | |
| 283 | + * | |
| 284 | + * Default: | |
| 285 | + * | |
| 286 | + * {65} | |
| 287 | + */ | |
| 288 | + OPACIDADE : 65, | |
| 289 | + /** | |
| 290 | + * Propriedade: PERMITEFECHAR | |
| 291 | + * | |
| 292 | + * Mostra o botão para fechar as barras ou não. | |
| 293 | + * | |
| 294 | + * Tipo: | |
| 295 | + * | |
| 296 | + * {boolean} | |
| 297 | + */ | |
| 298 | + PERMITEFECHAR : true, | |
| 299 | + /** | |
| 300 | + * Propriedade: PERMITEDESLOCAR | |
| 301 | + * | |
| 302 | + * Permite deslocar as barras ou não. | |
| 303 | + * | |
| 304 | + * Tipo: | |
| 305 | + * | |
| 306 | + * {boolean} | |
| 307 | + */ | |
| 308 | + PERMITEDESLOCAR : true, | |
| 309 | + /** | |
| 310 | + * ATIVAMENUCONTEXTO depreciado na versao 6.0 | |
| 311 | + */ | |
| 312 | + ATIVAMENUCONTEXTO : false, | |
| 313 | + /** | |
| 314 | + * Propriedade: AUTO | |
| 315 | + * | |
| 316 | + * Cria as barras de botões automaticamente, utilizando os botões padrão sem considerar a lista de | |
| 317 | + * botões definidas no HTML da interface. | |
| 318 | + * | |
| 319 | + * A lista de botões é definida em i3GEO.configura | |
| 320 | + * | |
| 321 | + * Tipo: | |
| 322 | + * | |
| 323 | + * {Boolean} | |
| 324 | + * | |
| 325 | + * Default: | |
| 326 | + * | |
| 327 | + * {false} | |
| 328 | + */ | |
| 329 | + AUTO : false, | |
| 330 | + /** | |
| 331 | + * Propriedade: LISTABOTOES | |
| 332 | + * | |
| 333 | + * Objeto com a lista de botões e suas propriedades, como por exemplo, a função a ser executada ao se clicar no | |
| 334 | + * botão. | |
| 335 | + * | |
| 336 | + * Essa lista não indica quais os botões que serão inseridos. Para definir os botões que serão | |
| 337 | + * inseridos, inclua no HTML da interface os botões desejados (veja em i3geo/exemplos). Se vc utilizar a opção | |
| 338 | + * i3GEO.barraDeBotoes.AUTO = true , os botões serão inseridos automaticamente. Nesse caso, utilize a | |
| 339 | + * opção i3GEO.barraDeBotoes.INCLUIRBOTOES para indicar os botões desejados. | |
| 340 | + * | |
| 341 | + * Por default utiliza os botoes definidos em i3GEO.configura.funcoesBotoes.botoes | |
| 342 | + * | |
| 343 | + * Tipo: | |
| 344 | + * | |
| 345 | + * {objeto} | |
| 346 | + */ | |
| 347 | + LISTABOTOES : i3GEO.configura.funcoesBotoes.botoes, | |
| 348 | + /** | |
| 349 | + * Propriedade: INCLUIBOTAO | |
| 350 | + * | |
| 351 | + * Objeto que indica quais os botões que serão inseridos na barra de botões 2. | |
| 352 | + * | |
| 353 | + * Essa opção só funciona se i3GEO.barraDeBotoes.AUTO = true | |
| 354 | + * | |
| 355 | + * Vc pode também alterar a ordem dos botoes ou adicionar novos | |
| 356 | + * | |
| 357 | + * Na barra de botões do tipo "yui", as chaves serão adicionadas como o atributo "id" em cada botão. Nesse | |
| 358 | + * caso, é possível definir o estilo CSS para cada botão (veja em i3geo/css/botoes2.css). | |
| 359 | + * | |
| 360 | + * A ativação de cada botão, ou seja, a função que é executada ao ser feito o clique, | |
| 361 | + * é definida em i3GEO.configura.funcoesBotoes | |
| 362 | + * | |
| 363 | + * Default: | |
| 364 | + * | |
| 365 | + * INCLUIBOTAO: { | |
| 366 | + * | |
| 367 | + * abreJanelaLegenda: false, | |
| 368 | + * | |
| 369 | + * zoomli: false, | |
| 370 | + * | |
| 371 | + * zoomiauto: false, | |
| 372 | + * | |
| 373 | + * zoomoauto: false | |
| 374 | + * | |
| 375 | + * pan: false, | |
| 376 | + * | |
| 377 | + * zoomtot:false, | |
| 378 | + * | |
| 379 | + * identifica: true, | |
| 380 | + * | |
| 381 | + * identificaBalao: true, | |
| 382 | + * | |
| 383 | + * mede: true, | |
| 384 | + * | |
| 385 | + * area: true, | |
| 386 | + * | |
| 387 | + * imprimir: true, | |
| 388 | + * | |
| 389 | + * reinicia: true, | |
| 390 | + * | |
| 391 | + * exten: true, | |
| 392 | + * | |
| 393 | + * referencia: true, | |
| 394 | + * | |
| 395 | + * inserexy: true, | |
| 396 | + * | |
| 397 | + * textofid: true, | |
| 398 | + * | |
| 399 | + * selecao: true, | |
| 400 | + * | |
| 401 | + * barraedicao: false, | |
| 402 | + * | |
| 403 | + * google: true, | |
| 404 | + * | |
| 405 | + * buscafotos: true, | |
| 406 | + * | |
| 407 | + * wiki: true, | |
| 408 | + * | |
| 409 | + * metar: true, | |
| 410 | + * | |
| 411 | + * lentei: true, | |
| 412 | + * | |
| 413 | + * confluence: true, | |
| 414 | + * | |
| 415 | + * inseregrafico: true, | |
| 416 | + * | |
| 417 | + * v3d: true, | |
| 418 | + * | |
| 419 | + * localizar: true, | |
| 420 | + * | |
| 421 | + * zoomproximo: true, | |
| 422 | + * | |
| 423 | + * zoomanterior: true } | |
| 424 | + * | |
| 425 | + * Tipo: | |
| 426 | + * | |
| 427 | + * {objeto} | |
| 428 | + */ | |
| 429 | + INCLUIBOTAO : { | |
| 430 | + abreJanelaLegenda : true, | |
| 431 | + localizar : true, | |
| 432 | + zoomanterior : true, | |
| 433 | + zoomli : true, | |
| 434 | + zoomproximo : true, | |
| 435 | + zoomiauto : false, | |
| 436 | + zoomoauto : false, | |
| 437 | + pan : true, | |
| 438 | + zoomtot : true, | |
| 439 | + identifica : true, | |
| 440 | + identificaBalao : true, | |
| 441 | + mede : true, | |
| 442 | + area : true, | |
| 443 | + selecao : true, | |
| 444 | + barraedicao : true, | |
| 445 | + imprimir : true, | |
| 446 | + google : true, | |
| 447 | + referencia : true, | |
| 448 | + exten : true, | |
| 449 | + inserexy : true, | |
| 450 | + textofid : true, | |
| 451 | + reinicia : true, | |
| 452 | + buscafotos : true, | |
| 453 | + wiki : true, | |
| 454 | + metar : true, | |
| 455 | + lentei : true, | |
| 456 | + confluence : true, | |
| 457 | + inseregrafico : true, | |
| 458 | + v3d : false | |
| 459 | + }, | |
| 460 | + /** | |
| 461 | + * Propriedade: ICONEBOTAO | |
| 462 | + * | |
| 463 | + * Ícones utilizados em cada um dos botões da barra. | |
| 464 | + * | |
| 465 | + * Esses ícones são utilizados apenas se i3GEO.barraDeBotoes.TIPO = "olhodepeixe" e "olhodepeixe1". Para cada elemento | |
| 466 | + * existente em i3GEO.barraDeBotoes.INCLUIBOTAO deve existir um elemento nesse objeto. A chave de cada elemento é a mesma do | |
| 467 | + * objeto INCLUIBOTAO. O endereço da imagem será complementado pelo i3geo, adicionando no início da string o | |
| 468 | + * valor da variável i3GEO.configura.locaplic | |
| 469 | + * | |
| 470 | + * Default: | |
| 471 | + * | |
| 472 | + * ICONEBOTAO: { | |
| 473 | + * | |
| 474 | + * zoomli: "/imagens/gisicons/eudock/zoom-region.png", | |
| 475 | + * | |
| 476 | + * zoomproximo: "/imagens/gisicons/eudock/zoom-next.png", | |
| 477 | + * | |
| 478 | + * zoomanterior: "/imagens/gisicons/eudock/zoom-last.png", | |
| 479 | + * | |
| 480 | + * pan: "/imagens/gisicons/eudock/pan.png", | |
| 481 | + * | |
| 482 | + * zoomtot: "/imagens/gisicons/eudock/zoom-extent.png", | |
| 483 | + * | |
| 484 | + * identifica: "/imagens/gisicons/eudock/identify.png", | |
| 485 | + * | |
| 486 | + * identificaBalao: "/imagens/gisicons/eudock/tips.png", | |
| 487 | + * | |
| 488 | + * mede: "/imagens/gisicons/eudock/length-measure.png", | |
| 489 | + * | |
| 490 | + * area: "/imagens/gisicons/eudock/area-measure.png", | |
| 491 | + * | |
| 492 | + * imprimir: "/imagens/gisicons/eudock/print.png", | |
| 493 | + * | |
| 494 | + * reinicia: "/imagens/gisicons/eudock/redraw.png", | |
| 495 | + * | |
| 496 | + * exten: "/imagens/gisicons/eudock/map-extent-info.png", | |
| 497 | + * | |
| 498 | + * referencia: "/imagens/gisicons/eudock/map-reference.png", | |
| 499 | + * | |
| 500 | + * inserexy: "/imagens/gisicons/eudock/point-create.png", | |
| 501 | + * | |
| 502 | + * textofid: "/imagens/gisicons/eudock/text-add.png", | |
| 503 | + * | |
| 504 | + * selecao: "/imagens/gisicons/eudock/select.png", | |
| 505 | + * | |
| 506 | + * google: "/imagens/gisicons/eudock/google-map.png", | |
| 507 | + * | |
| 508 | + * buscafotos: "/imagens/gisicons/eudock/fotos.png", | |
| 509 | + * | |
| 510 | + * wiki: "/imagens/gisicons/eudock/wiki.png", | |
| 511 | + * | |
| 512 | + * metar: "/imagens/gisicons/eudock/metar.png", | |
| 513 | + * | |
| 514 | + * lentei: "/imagens/gisicons/eudock/lente.png", | |
| 515 | + * | |
| 516 | + * confluence: "/imagens/gisicons/eudock/confluence.png", | |
| 517 | + * | |
| 518 | + * inseregrafico: "/imagens/gisicons/eudock/grafico.png", | |
| 519 | + * | |
| 520 | + * v3d: "/imagens/gisicons/eudock/v3d.png", | |
| 521 | + * | |
| 522 | + * barraedicao: "/imagens/gisicons/eudock/editopen.png", | |
| 523 | + * | |
| 524 | + * localizar: "/imagens/gisicons/eudock/search.png", | |
| 525 | + * | |
| 526 | + * abreJanelaLegenda: "/imagens/gisicons/eudock/legenda.png" } | |
| 527 | + * | |
| 528 | + * Type: | |
| 529 | + * | |
| 530 | + * {objeto} | |
| 531 | + */ | |
| 532 | + ICONEBOTAO : { | |
| 533 | + zoomli : "/imagens/gisicons/eudock/zoom-region.png", | |
| 534 | + zoomproximo : "/imagens/gisicons/eudock/zoom-next.png", | |
| 535 | + zoomanterior : "/imagens/gisicons/eudock/zoom-last.png", | |
| 536 | + zoomiauto : "/imagens/gisicons/eudock/zoom-in.png", | |
| 537 | + zoomoauto : "/imagens/gisicons/eudock/zoom-out.png", | |
| 538 | + pan : "/imagens/gisicons/eudock/pan.png", | |
| 539 | + zoomtot : "/imagens/gisicons/eudock/zoom-extent.png", | |
| 540 | + identifica : "/imagens/gisicons/eudock/identify.png", | |
| 541 | + identificaBalao : "/imagens/gisicons/eudock/tips.png", | |
| 542 | + mede : "/imagens/gisicons/eudock/length-measure.png", | |
| 543 | + area : "/imagens/gisicons/eudock/area-measure.png", | |
| 544 | + imprimir : "/imagens/gisicons/eudock/print.png", | |
| 545 | + reinicia : "/imagens/gisicons/eudock/redraw.png", | |
| 546 | + exten : "/imagens/gisicons/eudock/map-extent-info.png", | |
| 547 | + referencia : "/imagens/gisicons/eudock/map-reference.png", | |
| 548 | + inserexy : "/imagens/gisicons/eudock/point-create.png", | |
| 549 | + textofid : "/imagens/gisicons/eudock/text-add.png", | |
| 550 | + selecao : "/imagens/gisicons/eudock/select.png", | |
| 551 | + google : "/imagens/gisicons/eudock/google-map.png", | |
| 552 | + buscafotos : "/imagens/gisicons/eudock/fotos.png", | |
| 553 | + wiki : "/imagens/gisicons/eudock/wiki.png", | |
| 554 | + metar : "/imagens/gisicons/eudock/metar.png", | |
| 555 | + lentei : "/imagens/gisicons/eudock/lente.png", | |
| 556 | + confluence : "/imagens/gisicons/eudock/confluence.png", | |
| 557 | + inseregrafico : "/imagens/gisicons/eudock/grafico.png", | |
| 558 | + v3d : "/imagens/gisicons/eudock/v3d.png", | |
| 559 | + barraedicao : "/imagens/gisicons/eudock/editopen.png", | |
| 560 | + localizar : "/imagens/gisicons/eudock/search.png", | |
| 561 | + abreJanelaLegenda : "/imagens/gisicons/eudock/show-legend.png" | |
| 562 | + }, | |
| 563 | + /** | |
| 564 | + * Propriedade: TEMPLATEBOTAO | |
| 565 | + * | |
| 566 | + * Template HTML que será utilizado na construção automática dos botões da barra 2. | |
| 567 | + * | |
| 568 | + * Utilize a string $$ para indicar onde será incluído o código do botão. | |
| 569 | + * | |
| 570 | + * Default: "<div style='display:inline;background-color:rgb(250,250,250);'> | |
| 571 | + * <p style='font-size:2px;'> | |
| 572 | + * | |
| 573 | + * </p> | |
| 574 | + * <img src='"+i3GEO.configura.locaplic+"/imagens/branco.gif' id='$$'/></div>" | |
| 575 | + * | |
| 576 | + * Tipo: | |
| 577 | + * | |
| 578 | + * {string} | |
| 579 | + */ | |
| 580 | + TEMPLATEBOTAO : "", | |
| 581 | + /** | |
| 582 | + * Propriedade: BOTAOPADRAO | |
| 583 | + * | |
| 584 | + * Botão que será ativado ao inicializar os botões com ativaBotoes. | |
| 585 | + * | |
| 586 | + * Correpsonde ao item iddiv de LISTABOTOES | |
| 587 | + * | |
| 588 | + * Tipo: | |
| 589 | + * | |
| 590 | + * {String} | |
| 591 | + */ | |
| 592 | + BOTAOPADRAO : "pan", | |
| 593 | + /** | |
| 594 | + * Propriedade: COMPORTAMENTO | |
| 595 | + * | |
| 596 | + * Define o comportamento dos botões quando é pressionado | |
| 597 | + * | |
| 598 | + * Tipo: | |
| 599 | + * | |
| 600 | + * {String} | |
| 601 | + * | |
| 602 | + * Valores: | |
| 603 | + * | |
| 604 | + * "padrao" - comportamento padrão, com bordas da esquerda e inferiores ativadas | |
| 605 | + * | |
| 606 | + * "destacado" - destaca apenas o botão atualmente pressionado | |
| 607 | + * | |
| 608 | + * "vermelho" - destaca com fundo vermelho | |
| 609 | + * | |
| 610 | + * "laranja" - destaca com fundo laranja | |
| 611 | + * | |
| 612 | + * "cinza" - destaca com fundo cinza | |
| 613 | + * | |
| 614 | + */ | |
| 615 | + COMPORTAMENTO : "padrao", | |
| 616 | + /** | |
| 617 | + * Function: adicionaBotao | |
| 618 | + * | |
| 619 | + * Adiciona um novo botao nas definicoes da barra de botoes | |
| 620 | + * | |
| 621 | + * O Objeto deve ser como no exemplo abaixo | |
| 622 | + * | |
| 623 | + * i3GEO.barraDeBotoes.adicionaBotao( { iddiv:"meubotao", tipo:"", dica:"Meu Botão", titulo: "Meu Botão", icone: | |
| 624 | + * "/imagens/oxygen/22x22/user-online.png", funcaoonclick:function(){ alert("Meu novo botao com ID = meubotao"); } } ); | |
| 625 | + */ | |
| 626 | + adicionaBotao : function(obj) { | |
| 627 | + i3GEO.barraDeBotoes.LISTABOTOES.push(obj); | |
| 628 | + i3GEO.barraDeBotoes.ICONEBOTAO[obj.iddiv] = "/imagens/oxygen/22x22/user-online.png"; | |
| 629 | + i3GEO.barraDeBotoes.INCLUIBOTAO[obj.iddiv] = true; | |
| 630 | + }, | |
| 631 | + /** | |
| 632 | + * Function: ativaPadrao | |
| 633 | + * | |
| 634 | + * Ativa o botão definido como padrão, executando a função definida em onclick | |
| 635 | + * | |
| 636 | + * Utilizado para restaurar o status padrão da barra, principalmente por ferramentas que alteram ícones e outras | |
| 637 | + * propriedades do mapa | |
| 638 | + */ | |
| 639 | + ativaPadrao : function() { | |
| 640 | + if (i3GEO.barraDeBotoes.ATIVA === true) { | |
| 641 | + try { | |
| 642 | + var botao = i3GEO.barraDeBotoes.defBotao(i3GEO.barraDeBotoes.BOTAOPADRAO); | |
| 643 | + if (botao.funcaoonclick) { | |
| 644 | + botao.funcaoonclick.call(); | |
| 645 | + } | |
| 646 | + } catch (e) { | |
| 645 | 647 | } |
| 646 | - } catch (e) { | |
| 647 | 648 | } |
| 648 | - } | |
| 649 | - }, | |
| 650 | - /** | |
| 651 | - * Function: ativaIcone | |
| 652 | - * | |
| 653 | - * Altera as bordas de um ícone aplicando um efeito de ícone realçado. | |
| 654 | - * | |
| 655 | - * Todos os demais ícones definidos em LISTABOTOES e que tiverem o tipo = "dinamico" serão processados para alterar as | |
| 656 | - * bordas dando o efeito de não ativo. | |
| 657 | - * | |
| 658 | - * Parametro: | |
| 659 | - * | |
| 660 | - * {String} - id do icone que será ativado. Esse id é o mesmo definido em LISTABOTOES | |
| 661 | - */ | |
| 662 | - ativaIcone : function(icone) { | |
| 663 | - if (typeof (console) !== 'undefined') | |
| 664 | - console.info("i3GEO.barraDeBotoes.ativaIcone()"); | |
| 649 | + }, | |
| 650 | + /** | |
| 651 | + * Function: ativaIcone | |
| 652 | + * | |
| 653 | + * Altera as bordas de um ícone aplicando um efeito de ícone realçado. | |
| 654 | + * | |
| 655 | + * Todos os demais ícones definidos em LISTABOTOES e que tiverem o tipo = "dinamico" serão processados para alterar as | |
| 656 | + * bordas dando o efeito de não ativo. | |
| 657 | + * | |
| 658 | + * Parametro: | |
| 659 | + * | |
| 660 | + * {String} - id do icone que será ativado. Esse id é o mesmo definido em LISTABOTOES | |
| 661 | + */ | |
| 662 | + ativaIcone : function(icone) { | |
| 663 | + if (typeof (console) !== 'undefined') | |
| 664 | + console.info("i3GEO.barraDeBotoes.ativaIcone()"); | |
| 665 | 665 | |
| 666 | - if (i3GEO.barraDeBotoes.ATIVA === false) { | |
| 667 | - return; | |
| 668 | - } | |
| 669 | - var estilo, temp, ist, cor, ko, estiloatual = "white"; | |
| 670 | - if ($i(icone)) { | |
| 671 | - estiloatual = $i(icone).style.backgroundColor; | |
| 672 | - } | |
| 673 | - i3GEO.barraDeBotoes.BOTAOCLICADO = icone; | |
| 674 | - ko = i3GEO.barraDeBotoes.LISTABOTOES.length - 1; | |
| 675 | - if (i3GEO.barraDeBotoes.COMPORTAMENTO === "padrao") { | |
| 676 | - if (ko >= 0) { | |
| 677 | - do { | |
| 678 | - temp = $i(i3GEO.barraDeBotoes.LISTABOTOES[ko].iddiv); | |
| 679 | - if (i3GEO.barraDeBotoes.LISTABOTOES[ko].tipo === "dinamico" && temp) { | |
| 680 | - ist = temp.style; | |
| 681 | - ist.borderWidth = "1px"; | |
| 682 | - ist.borderColor = 'white'; | |
| 683 | - if (i3GEO.barraDeBotoes.SOICONES === true) { | |
| 684 | - ist.borderLeftColor = 'rgb(50,50,50)'; | |
| 685 | - ist.borderBottomColor = 'rgb(50,50,50)'; | |
| 686 | - } | |
| 687 | - } | |
| 688 | - } while (ko--); | |
| 666 | + if (i3GEO.barraDeBotoes.ATIVA === false) { | |
| 667 | + return; | |
| 689 | 668 | } |
| 690 | - // ativa o icone | |
| 669 | + var estilo, temp, ist, cor, ko, estiloatual = "white"; | |
| 691 | 670 | if ($i(icone)) { |
| 692 | - estilo = $i(icone).style; | |
| 693 | - if (i3GEO.barraDeBotoes.SOICONES === false) { | |
| 694 | - estilo.borderColor = 'white'; | |
| 695 | - estilo.borderWidth = "1px"; | |
| 696 | - } | |
| 671 | + estiloatual = $i(icone).style.backgroundColor; | |
| 697 | 672 | } |
| 698 | - } | |
| 699 | - if (i3GEO.barraDeBotoes.COMPORTAMENTO === "destacado") { | |
| 700 | - if (ko >= 0) { | |
| 701 | - do { | |
| 702 | - temp = $i(i3GEO.barraDeBotoes.LISTABOTOES[ko].iddiv); | |
| 703 | - if (temp) { | |
| 704 | - ist = temp.style; | |
| 705 | - ist.borderWidth = "1px"; | |
| 706 | - ist.borderColor = 'white'; | |
| 673 | + i3GEO.barraDeBotoes.BOTAOCLICADO = icone; | |
| 674 | + ko = i3GEO.barraDeBotoes.LISTABOTOES.length - 1; | |
| 675 | + if (i3GEO.barraDeBotoes.COMPORTAMENTO === "padrao") { | |
| 676 | + if (ko >= 0) { | |
| 677 | + do { | |
| 678 | + temp = $i(i3GEO.barraDeBotoes.LISTABOTOES[ko].iddiv); | |
| 679 | + if (i3GEO.barraDeBotoes.LISTABOTOES[ko].tipo === "dinamico" && temp) { | |
| 680 | + ist = temp.style; | |
| 681 | + ist.borderWidth = "1px"; | |
| 682 | + ist.borderColor = 'white'; | |
| 683 | + if (i3GEO.barraDeBotoes.SOICONES === true) { | |
| 684 | + ist.borderLeftColor = 'rgb(50,50,50)'; | |
| 685 | + ist.borderBottomColor = 'rgb(50,50,50)'; | |
| 686 | + } | |
| 687 | + } | |
| 688 | + } while (ko--); | |
| 689 | + } | |
| 690 | + // ativa o icone | |
| 691 | + if ($i(icone)) { | |
| 692 | + estilo = $i(icone).style; | |
| 693 | + if (i3GEO.barraDeBotoes.SOICONES === false) { | |
| 694 | + estilo.borderColor = 'white'; | |
| 695 | + estilo.borderWidth = "1px"; | |
| 707 | 696 | } |
| 708 | - } while (ko--); | |
| 709 | - } | |
| 710 | - // ativa o icone | |
| 711 | - if ($i(icone)) { | |
| 712 | - estilo = $i(icone).style; | |
| 713 | - if (i3GEO.barraDeBotoes.SOICONES === false) { | |
| 714 | - estilo.borderColor = 'black'; | |
| 715 | - estilo.borderWidth = "1px"; | |
| 716 | 697 | } |
| 717 | 698 | } |
| 718 | - } | |
| 719 | - if (i3GEO.util.in_array(i3GEO.barraDeBotoes.COMPORTAMENTO, [ | |
| 720 | - "laranja", | |
| 721 | - "vermelho", | |
| 722 | - "cinza" | |
| 723 | - ])) { | |
| 724 | - if (ko >= 0) { | |
| 725 | - do { | |
| 726 | - temp = $i(i3GEO.barraDeBotoes.LISTABOTOES[ko].iddiv); | |
| 727 | - if (temp) { | |
| 728 | - ist = temp.style; | |
| 729 | - if (i3GEO.barraDeBotoes.SOICONES === false) { | |
| 699 | + if (i3GEO.barraDeBotoes.COMPORTAMENTO === "destacado") { | |
| 700 | + if (ko >= 0) { | |
| 701 | + do { | |
| 702 | + temp = $i(i3GEO.barraDeBotoes.LISTABOTOES[ko].iddiv); | |
| 703 | + if (temp) { | |
| 704 | + ist = temp.style; | |
| 730 | 705 | ist.borderWidth = "1px"; |
| 731 | 706 | ist.borderColor = 'white'; |
| 732 | - ist.backgroundColor = 'white'; | |
| 733 | - } else { | |
| 734 | - ist.backgroundColor = ''; | |
| 735 | 707 | } |
| 708 | + } while (ko--); | |
| 709 | + } | |
| 710 | + // ativa o icone | |
| 711 | + if ($i(icone)) { | |
| 712 | + estilo = $i(icone).style; | |
| 713 | + if (i3GEO.barraDeBotoes.SOICONES === false) { | |
| 714 | + estilo.borderColor = 'black'; | |
| 715 | + estilo.borderWidth = "1px"; | |
| 736 | 716 | } |
| 737 | - } while (ko--); | |
| 738 | - } | |
| 739 | - switch (i3GEO.barraDeBotoes.COMPORTAMENTO) { | |
| 740 | - case "laranja": | |
| 741 | - cor = "orange"; | |
| 742 | - break; | |
| 743 | - case "vermelho": | |
| 744 | - cor = "red"; | |
| 745 | - break; | |
| 746 | - case "cinza": | |
| 747 | - cor = "gray"; | |
| 748 | - break; | |
| 749 | - default: | |
| 750 | - cor = "yellow"; | |
| 717 | + } | |
| 751 | 718 | } |
| 752 | - ; | |
| 753 | - // ativa o icone | |
| 754 | - if ($i(icone)) { | |
| 755 | - estilo = $i(icone).style; | |
| 756 | - if (i3GEO.barraDeBotoes.SOICONES === false) { | |
| 757 | - estilo.borderColor = 'black'; | |
| 758 | - estilo.borderWidth = "1px"; | |
| 719 | + if (i3GEO.util.in_array(i3GEO.barraDeBotoes.COMPORTAMENTO, [ | |
| 720 | + "laranja", | |
| 721 | + "vermelho", | |
| 722 | + "cinza" | |
| 723 | + ])) { | |
| 724 | + if (ko >= 0) { | |
| 725 | + do { | |
| 726 | + temp = $i(i3GEO.barraDeBotoes.LISTABOTOES[ko].iddiv); | |
| 727 | + if (temp) { | |
| 728 | + ist = temp.style; | |
| 729 | + if (i3GEO.barraDeBotoes.SOICONES === false) { | |
| 730 | + ist.borderWidth = "1px"; | |
| 731 | + ist.borderColor = 'white'; | |
| 732 | + ist.backgroundColor = 'white'; | |
| 733 | + } else { | |
| 734 | + ist.backgroundColor = ''; | |
| 735 | + } | |
| 736 | + } | |
| 737 | + } while (ko--); | |
| 759 | 738 | } |
| 760 | - // else | |
| 761 | - // {estilo.border = "0px solid white";} | |
| 762 | - if (estiloatual == cor) { | |
| 763 | - estilo.backgroundColor = 'white'; | |
| 764 | - } else { | |
| 765 | - estilo.backgroundColor = cor; | |
| 739 | + switch (i3GEO.barraDeBotoes.COMPORTAMENTO) { | |
| 740 | + case "laranja": | |
| 741 | + cor = "orange"; | |
| 742 | + break; | |
| 743 | + case "vermelho": | |
| 744 | + cor = "red"; | |
| 745 | + break; | |
| 746 | + case "cinza": | |
| 747 | + cor = "gray"; | |
| 748 | + break; | |
| 749 | + default: | |
| 750 | + cor = "yellow"; | |
| 766 | 751 | } |
| 767 | - } | |
| 768 | - } | |
| 769 | - }, | |
| 770 | - /** | |
| 771 | - * Function: ativaBotoes | |
| 772 | - * | |
| 773 | - * Ativa os botoes definidos em LISTABOTOES | |
| 774 | - * | |
| 775 | - * Os botoes são construídos e as funções definidas são embutidas no evento onclick | |
| 776 | - * | |
| 777 | - * Parametro: | |
| 778 | - * | |
| 779 | - * {String} - botao que será mostrado como ativo (opcional). Se não for definido, será utilizado o | |
| 780 | - * botão especificado em BOTAOPADRAO. O nome do botao deve estar em LISTABOTOES na propriedade iddiv | |
| 781 | - */ | |
| 782 | - ativaBotoes : function(padrao) { | |
| 783 | - if (typeof (console) !== 'undefined') | |
| 784 | - console.info("i3GEO.barraDeBotoes.ativaBotoes()"); | |
| 785 | - | |
| 786 | - var l, b, temp; | |
| 787 | - if (arguments.length === 0) { | |
| 788 | - padrao = this.BOTAOPADRAO; | |
| 789 | - } | |
| 790 | - this.BOTAOCLICADO = padrao; | |
| 791 | - l = this.LISTABOTOES; | |
| 792 | - b = l.length - 1; | |
| 793 | - if (b >= 0) { | |
| 794 | - do { | |
| 795 | - temp = $i(l[b].iddiv); | |
| 796 | - if (temp) { | |
| 797 | - if (l[b].conteudo) { | |
| 798 | - temp.innerHTML = l[b].conteudo; | |
| 799 | - } | |
| 800 | - if (l[b].dica && i3GEO.barraDeBotoes.TIPO != "emlinha") { | |
| 801 | - $i(l[b].iddiv).onmouseover = function(e) { | |
| 802 | - i3GEO.barraDeBotoes.mostraJanela(this, l[b].dica, e); | |
| 803 | - }; | |
| 804 | - $i(l[b].iddiv).onmouseout = function(e) { | |
| 805 | - i3GEO.barraDeBotoes.mostraJanela(this, "", e); | |
| 806 | - }; | |
| 752 | + ; | |
| 753 | + // ativa o icone | |
| 754 | + if ($i(icone)) { | |
| 755 | + estilo = $i(icone).style; | |
| 756 | + if (i3GEO.barraDeBotoes.SOICONES === false) { | |
| 757 | + estilo.borderColor = 'black'; | |
| 758 | + estilo.borderWidth = "1px"; | |
| 807 | 759 | } |
| 808 | - if (l[b].titulo && i3GEO.barraDeBotoes.TIPO === "emlinha") { | |
| 809 | - new YAHOO.widget.Tooltip(l[b].iddiv + "_tip", { | |
| 810 | - context : l[b].iddiv, | |
| 811 | - text : l[b].titulo | |
| 812 | - }); | |
| 760 | + // else | |
| 761 | + // {estilo.border = "0px solid white";} | |
| 762 | + if (estiloatual == cor) { | |
| 763 | + estilo.backgroundColor = 'white'; | |
| 764 | + } else { | |
| 765 | + estilo.backgroundColor = cor; | |
| 813 | 766 | } |
| 814 | - if (l[b].funcaoonclick) { | |
| 815 | - temp.onclick = l[b].funcaoonclick; | |
| 816 | - if (l[b].iddiv == padrao) { | |
| 817 | - l[b].funcaoonclick(); | |
| 767 | + } | |
| 768 | + } | |
| 769 | + }, | |
| 770 | + /** | |
| 771 | + * Function: ativaBotoes | |
| 772 | + * | |
| 773 | + * Ativa os botoes definidos em LISTABOTOES | |
| 774 | + * | |
| 775 | + * Os botoes são construídos e as funções definidas são embutidas no evento onclick | |
| 776 | + * | |
| 777 | + * Parametro: | |
| 778 | + * | |
| 779 | + * {String} - botao que será mostrado como ativo (opcional). Se não for definido, será utilizado o botão | |
| 780 | + * especificado em BOTAOPADRAO. O nome do botao deve estar em LISTABOTOES na propriedade iddiv | |
| 781 | + */ | |
| 782 | + ativaBotoes : function(padrao) { | |
| 783 | + if (typeof (console) !== 'undefined') | |
| 784 | + console.info("i3GEO.barraDeBotoes.ativaBotoes()"); | |
| 785 | + | |
| 786 | + var l, b, temp; | |
| 787 | + if (arguments.length === 0) { | |
| 788 | + padrao = this.BOTAOPADRAO; | |
| 789 | + } | |
| 790 | + this.BOTAOCLICADO = padrao; | |
| 791 | + l = this.LISTABOTOES; | |
| 792 | + b = l.length - 1; | |
| 793 | + if (b >= 0) { | |
| 794 | + do { | |
| 795 | + temp = $i(l[b].iddiv); | |
| 796 | + if (temp) { | |
| 797 | + if (l[b].conteudo) { | |
| 798 | + temp.innerHTML = l[b].conteudo; | |
| 799 | + } | |
| 800 | + if (l[b].dica && i3GEO.barraDeBotoes.TIPO != "emlinha") { | |
| 801 | + $i(l[b].iddiv).onmouseover = function(e) { | |
| 802 | + i3GEO.barraDeBotoes.mostraJanela(this, l[b].dica, e); | |
| 803 | + }; | |
| 804 | + $i(l[b].iddiv).onmouseout = function(e) { | |
| 805 | + i3GEO.barraDeBotoes.mostraJanela(this, "", e); | |
| 806 | + }; | |
| 807 | + } | |
| 808 | + if (l[b].titulo && i3GEO.barraDeBotoes.TIPO === "emlinha") { | |
| 809 | + new YAHOO.widget.Tooltip(l[b].iddiv + "_tip", { | |
| 810 | + context : l[b].iddiv, | |
| 811 | + text : l[b].titulo | |
| 812 | + }); | |
| 813 | + } | |
| 814 | + if (l[b].funcaoonclick) { | |
| 815 | + temp.onclick = l[b].funcaoonclick; | |
| 816 | + if (l[b].iddiv == padrao) { | |
| 817 | + l[b].funcaoonclick(); | |
| 818 | + } | |
| 819 | + } | |
| 820 | + if (l[b].constroiconteudo) { | |
| 821 | + eval(l[b].constroiconteudo); | |
| 818 | 822 | } |
| 819 | 823 | } |
| 820 | - if (l[b].constroiconteudo) { | |
| 821 | - eval(l[b].constroiconteudo); | |
| 824 | + YAHOO.util.Event.addListener($i(l[b].iddiv), "click", YAHOO.util.Event.preventDefault); | |
| 825 | + YAHOO.util.Event.addListener($i(l[b].iddiv), "click", YAHOO.util.Event.stopPropagation); | |
| 826 | + YAHOO.util.Event.addFocusListener($i(l[b].iddiv), YAHOO.util.Event.preventDefault); | |
| 827 | + } while (b--); | |
| 828 | + } | |
| 829 | + if (padrao === "") { | |
| 830 | + this.ativaIcone(""); | |
| 831 | + } | |
| 832 | + }, | |
| 833 | + /** | |
| 834 | + * Function: execBotao | |
| 835 | + * | |
| 836 | + * Com base no código de um botão (iddiv), obtém a função armazenada em | |
| 837 | + * i3GEO.barraDeBotoes.LISTABOTOES e executa. | |
| 838 | + * | |
| 839 | + * Parametros: | |
| 840 | + * | |
| 841 | + * {string} - identificador do botão, conforme definido no elemento iddiv de i3GEO.barraDeBotoes.LISTABOTOES | |
| 842 | + * | |
| 843 | + * {numeric} - (opcional) posição em pixels da tela onde foi feito o clique do mouse | |
| 844 | + * | |
| 845 | + * {numeric} - (opcional) posição em pixels da tela onde foi feito o clique do mouse | |
| 846 | + */ | |
| 847 | + execBotao : function(id, x, y, posX, posY) { | |
| 848 | + if (i3GEO.barraDeBotoes.ATIVA === false) { | |
| 849 | + return; | |
| 850 | + } | |
| 851 | + var temp, botao = i3GEO.barraDeBotoes.defBotao(id); | |
| 852 | + i3GEO.barraDeBotoes.BOTAOCLICADO = id; | |
| 853 | + if (botao === false) { | |
| 854 | + return; | |
| 855 | + } | |
| 856 | + try { | |
| 857 | + if (botao.tipo === "dinamico" && x) { | |
| 858 | + i3GEO.util.criaPin("i3geoMarcaIcone", i3GEO.configura.locaplic + "/imagens/gisicons/eudock/sobe1.png", "10px", "10px"); | |
| 859 | + temp = $i("i3geoMarcaIcone"); | |
| 860 | + if (temp) { | |
| 861 | + temp.style.display = "block"; | |
| 862 | + temp.style.top = posY + 43 + "px"; | |
| 863 | + temp.style.left = posX + 18 + "px"; | |
| 822 | 864 | } |
| 823 | 865 | } |
| 824 | - YAHOO.util.Event.addListener($i(l[b].iddiv), "click", YAHOO.util.Event.preventDefault); | |
| 825 | - YAHOO.util.Event.addListener($i(l[b].iddiv), "click", YAHOO.util.Event.stopPropagation); | |
| 826 | - YAHOO.util.Event.addFocusListener($i(l[b].iddiv), YAHOO.util.Event.preventDefault); | |
| 827 | - } while (b--); | |
| 828 | - } | |
| 829 | - if (padrao === "") { | |
| 830 | - this.ativaIcone(""); | |
| 831 | - } | |
| 832 | - }, | |
| 833 | - /** | |
| 834 | - * Function: execBotao | |
| 835 | - * | |
| 836 | - * Com base no código de um botão (iddiv), obtém a função armazenada em | |
| 837 | - * i3GEO.barraDeBotoes.LISTABOTOES e executa. | |
| 838 | - * | |
| 839 | - * Parametros: | |
| 840 | - * | |
| 841 | - * {string} - identificador do botão, conforme definido no elemento iddiv de i3GEO.barraDeBotoes.LISTABOTOES | |
| 842 | - * | |
| 843 | - * {numeric} - (opcional) posição em pixels da tela onde foi feito o clique do mouse | |
| 844 | - * | |
| 845 | - * {numeric} - (opcional) posição em pixels da tela onde foi feito o clique do mouse | |
| 846 | - */ | |
| 847 | - execBotao : function(id, x, y, posX, posY) { | |
| 848 | - if (i3GEO.barraDeBotoes.ATIVA === false) { | |
| 849 | - return; | |
| 850 | - } | |
| 851 | - var temp, botao = i3GEO.barraDeBotoes.defBotao(id); | |
| 852 | - i3GEO.barraDeBotoes.BOTAOCLICADO = id; | |
| 853 | - if (botao === false) { | |
| 854 | - return; | |
| 855 | - } | |
| 856 | - try { | |
| 857 | - if (botao.tipo === "dinamico" && x) { | |
| 858 | - i3GEO.util.criaPin("i3geoMarcaIcone", i3GEO.configura.locaplic + "/imagens/gisicons/eudock/sobe1.png", "10px", "10px"); | |
| 859 | - temp = $i("i3geoMarcaIcone"); | |
| 860 | - if (temp) { | |
| 861 | - temp.style.display = "block"; | |
| 862 | - temp.style.top = posY + 43 + "px"; | |
| 863 | - temp.style.left = posX + 18 + "px"; | |
| 866 | + if (botao.funcaoonclick) { | |
| 867 | + botao.funcaoonclick.call(); | |
| 864 | 868 | } |
| 869 | + } catch (e) { | |
| 870 | + if (typeof (console) !== 'undefined') | |
| 871 | + console.error("Erro no botao " + id + " " + e); | |
| 865 | 872 | } |
| 866 | - if (botao.funcaoonclick) { | |
| 867 | - botao.funcaoonclick.call(); | |
| 873 | + }, | |
| 874 | + /** | |
| 875 | + * Function: defBotao | |
| 876 | + * | |
| 877 | + * Obtém as definições de um botão conforme o seu código (iddiv) | |
| 878 | + * | |
| 879 | + * Retorno: | |
| 880 | + * | |
| 881 | + * {objeto} - ver i3GEO.barraDeBotoes.LISTABOTOES | |
| 882 | + */ | |
| 883 | + defBotao : function(iddiv) { | |
| 884 | + var l = i3GEO.barraDeBotoes.LISTABOTOES, b = l.length - 1; | |
| 885 | + if (b >= 0) { | |
| 886 | + do { | |
| 887 | + // temp = l[b].iddiv; | |
| 888 | + if (l[b].iddiv === iddiv) { | |
| 889 | + return l[b]; | |
| 890 | + } | |
| 891 | + } while (b--); | |
| 868 | 892 | } |
| 869 | - } catch (e) { | |
| 870 | - if (typeof (console) !== 'undefined') | |
| 871 | - console.error("Erro no botao " + id + " " + e); | |
| 872 | - } | |
| 873 | - }, | |
| 874 | - /** | |
| 875 | - * Function: defBotao | |
| 876 | - * | |
| 877 | - * Obtém as definições de um botão conforme o seu código (iddiv) | |
| 878 | - * | |
| 879 | - * Retorno: | |
| 880 | - * | |
| 881 | - * {objeto} - ver i3GEO.barraDeBotoes.LISTABOTOES | |
| 882 | - */ | |
| 883 | - defBotao : function(iddiv) { | |
| 884 | - var l = i3GEO.barraDeBotoes.LISTABOTOES, b = l.length - 1; | |
| 885 | - if (b >= 0) { | |
| 886 | - do { | |
| 887 | - // temp = l[b].iddiv; | |
| 888 | - if (l[b].iddiv === iddiv) { | |
| 889 | - return l[b]; | |
| 890 | - } | |
| 891 | - } while (b--); | |
| 892 | - } | |
| 893 | - return false; | |
| 894 | - }, | |
| 895 | - /** | |
| 896 | - * Function: inicializaBarraOP | |
| 897 | - * | |
| 898 | - * Inicializa a barra de botões quando for do tipo "olhodepeixe" ou "olhodepeixe1" | |
| 899 | - * | |
| 900 | - * O objeto euEnv armazena todas as características da barra | |
| 901 | - * | |
| 902 | - * "olhodepeixe1" substitui a antiga "olhodepeixe" e nao precisa de ajustes de posicionamento | |
| 903 | - * | |
| 904 | - */ | |
| 905 | - inicializaBarraOP : function(onde) { | |
| 906 | - if (i3GEO.barraDeBotoes.ATIVA === false || !$i(i3GEO.Interface.IDCORPO)) { | |
| 907 | - return; | |
| 908 | - } | |
| 909 | - // isso veio do js do eudock | |
| 910 | - if (document.onmousemove) | |
| 911 | - euEnv.onmousemoveBK = document.onmousemove; | |
| 912 | - document.onmousemove = on_MouseMove; | |
| 893 | + return false; | |
| 894 | + }, | |
| 895 | + /** | |
| 896 | + * Function: inicializaBarraOP | |
| 897 | + * | |
| 898 | + * Inicializa a barra de botões quando for do tipo "olhodepeixe" ou "olhodepeixe1" | |
| 899 | + * | |
| 900 | + * O objeto euEnv armazena todas as características da barra | |
| 901 | + * | |
| 902 | + * "olhodepeixe1" substitui a antiga "olhodepeixe" e nao precisa de ajustes de posicionamento | |
| 903 | + * | |
| 904 | + */ | |
| 905 | + inicializaBarraOP : function(onde) { | |
| 906 | + if (i3GEO.barraDeBotoes.ATIVA === false || !$i(i3GEO.Interface.IDCORPO)) { | |
| 907 | + return; | |
| 908 | + } | |
| 909 | + // isso veio do js do eudock | |
| 910 | + if (document.onmousemove) | |
| 911 | + euEnv.onmousemoveBK = document.onmousemove; | |
| 912 | + document.onmousemove = on_MouseMove; | |
| 913 | 913 | |
| 914 | - if (document.onmousedown) | |
| 915 | - euEnv.onmousedownBK = document.onmousedown; | |
| 916 | - document.onmousedown = on_MouseDown; | |
| 914 | + if (document.onmousedown) | |
| 915 | + euEnv.onmousedownBK = document.onmousedown; | |
| 916 | + document.onmousedown = on_MouseDown; | |
| 917 | 917 | |
| 918 | - if (document.onmouseup) | |
| 919 | - euEnv.onmouseupBK = document.onmouseup; | |
| 920 | - document.onmouseup = on_MouseUp; | |
| 918 | + if (document.onmouseup) | |
| 919 | + euEnv.onmouseupBK = document.onmouseup; | |
| 920 | + document.onmouseup = on_MouseUp; | |
| 921 | 921 | |
| 922 | - if (document.onclick) | |
| 923 | - euEnv.onclickBK = document.onclick; | |
| 924 | - document.onclick = on_MouseClick; | |
| 925 | - euDimensioni(); | |
| 926 | - offsEut(); | |
| 927 | - euThread(); | |
| 928 | - // | |
| 929 | - euEnv.imageBasePath = i3GEO.configura.locaplic + "/pacotes/eudock/"; | |
| 930 | - var botao, dica, titulo, i, dock = new euDock(onde), temp = "dockBg-r.png", tempAjuda = "dockBg-l.png", chaves = | |
| 931 | - i3GEO.util.listaChaves(i3GEO.barraDeBotoes.INCLUIBOTAO), n = chaves.length, preload; | |
| 932 | - preload = new Image(); | |
| 933 | - preload.src = i3GEO.configura.locaplic + "/imagens/gisicons/eudock/sobe1.png"; | |
| 934 | - if (i3GEO.barraDeBotoes.POSICAO === "top") { | |
| 935 | - dock.setObjectAlign(i3GEO.Interface.IDCORPO, euUP, (i3GEO.parametros.h) * 1 + i3GEO.barraDeBotoes.OFFSET, euDOWN); | |
| 936 | - } else { | |
| 937 | - if (onde) { | |
| 938 | - dock.setObjectAlign(i3GEO.Interface.IDCORPO, euDOWN, i3GEO.barraDeBotoes.OFFSET, euUP); | |
| 922 | + if (document.onclick) | |
| 923 | + euEnv.onclickBK = document.onclick; | |
| 924 | + document.onclick = on_MouseClick; | |
| 925 | + euDimensioni(); | |
| 926 | + offsEut(); | |
| 927 | + euThread(); | |
| 928 | + // | |
| 929 | + euEnv.imageBasePath = i3GEO.configura.locaplic + "/pacotes/eudock/"; | |
| 930 | + var botao, dica, titulo, i, dock = new euDock(onde), temp = "dockBg-r.png", tempAjuda = "dockBg-l.png", chaves = | |
| 931 | + i3GEO.util.listaChaves(i3GEO.barraDeBotoes.INCLUIBOTAO), n = chaves.length, preload; | |
| 932 | + preload = new Image(); | |
| 933 | + preload.src = i3GEO.configura.locaplic + "/imagens/gisicons/eudock/sobe1.png"; | |
| 934 | + if (i3GEO.barraDeBotoes.POSICAO === "top") { | |
| 935 | + dock.setObjectAlign(i3GEO.Interface.IDCORPO, euUP, (i3GEO.parametros.h) * 1 + i3GEO.barraDeBotoes.OFFSET, euDOWN); | |
| 939 | 936 | } else { |
| 940 | - dock.setObjectAlign(i3GEO.Interface.IDCORPO, euDOWN, (parseInt(document.body.style.height, 10)) * -1 | |
| 941 | - + i3GEO.barraDeBotoes.OFFSET, euUP); | |
| 942 | - } | |
| 943 | - } | |
| 944 | - if (i3GEO.barraDeBotoes.MAXBOTOES >= chaves.length) { | |
| 945 | - temp = "vazio.png"; | |
| 946 | - } | |
| 947 | - if (i3GEO.barraDeBotoes.AJUDA === false) { | |
| 948 | - tempAjuda = "vazio.png"; | |
| 949 | - } | |
| 950 | - dock.setBar({ | |
| 951 | - left : { | |
| 952 | - euImage : { | |
| 953 | - image : i3GEO.configura.locaplic + "/pacotes/eudock/barImages/" + tempAjuda | |
| 954 | - } | |
| 955 | - }, | |
| 956 | - horizontal : { | |
| 957 | - euImage : { | |
| 958 | - image : i3GEO.configura.locaplic + "/pacotes/eudock/barImages/dockBg-c-o.png" | |
| 959 | - } | |
| 960 | - }, | |
| 961 | - right : { | |
| 962 | - euImage : { | |
| 963 | - image : i3GEO.configura.locaplic + "/pacotes/eudock/barImages/" + temp | |
| 937 | + if (onde) { | |
| 938 | + dock.setObjectAlign(i3GEO.Interface.IDCORPO, euDOWN, i3GEO.barraDeBotoes.OFFSET, euUP); | |
| 939 | + } else { | |
| 940 | + dock.setObjectAlign(i3GEO.Interface.IDCORPO, euDOWN, (parseInt(document.body.style.height, 10)) * -1 | |
| 941 | + + i3GEO.barraDeBotoes.OFFSET, euUP); | |
| 964 | 942 | } |
| 965 | 943 | } |
| 966 | - }); | |
| 967 | - i3GEO.barraDeBotoes.AJUDA = false; | |
| 968 | - dock.setIconsOffset(7); | |
| 969 | - if (i3GEO.barraDeBotoes.MAXBOTOES > 0) { | |
| 970 | - n = i3GEO.barraDeBotoes.MAXBOTOES; | |
| 971 | - } | |
| 972 | - for (i = 0; i < n; i += 1) { | |
| 973 | - if (i3GEO.barraDeBotoes.INCLUIBOTAO[chaves[i]] && i3GEO.barraDeBotoes.INCLUIBOTAO[chaves[i]] === true) { | |
| 974 | - botao = i3GEO.barraDeBotoes.defBotao(chaves[i]); | |
| 975 | - if (botao === false) { | |
| 976 | - dica = ""; | |
| 977 | - titulo = ""; | |
| 978 | - } else { | |
| 979 | - if (botao.dica) { | |
| 980 | - dica = botao.dica; | |
| 981 | - } else { | |
| 982 | - dica = ""; | |
| 944 | + if (i3GEO.barraDeBotoes.MAXBOTOES >= chaves.length) { | |
| 945 | + temp = "vazio.png"; | |
| 946 | + } | |
| 947 | + if (i3GEO.barraDeBotoes.AJUDA === false) { | |
| 948 | + tempAjuda = "vazio.png"; | |
| 949 | + } | |
| 950 | + dock.setBar({ | |
| 951 | + left : { | |
| 952 | + euImage : { | |
| 953 | + image : i3GEO.configura.locaplic + "/pacotes/eudock/barImages/" + tempAjuda | |
| 983 | 954 | } |
| 984 | - if (botao.titulo != undefined) { | |
| 985 | - titulo = botao.titulo; | |
| 986 | - } else { | |
| 987 | - titulo = ""; | |
| 955 | + }, | |
| 956 | + horizontal : { | |
| 957 | + euImage : { | |
| 958 | + image : i3GEO.configura.locaplic + "/pacotes/eudock/barImages/dockBg-c-o.png" | |
| 988 | 959 | } |
| 989 | - } | |
| 990 | - dock.addIcon(new Array({ | |
| 960 | + }, | |
| 961 | + right : { | |
| 991 | 962 | euImage : { |
| 992 | - image : i3GEO.configura.locaplic + i3GEO.barraDeBotoes.ICONEBOTAO[chaves[i]] | |
| 963 | + image : i3GEO.configura.locaplic + "/pacotes/eudock/barImages/" + temp | |
| 993 | 964 | } |
| 994 | - }), { | |
| 995 | - mouseInsideClick : function(x, y, id, posX, posY) { | |
| 996 | - i3GEO.barraDeBotoes.execBotao(euEnv.euDockArray[id].idBotao, x, y, posX, posY); | |
| 997 | - }, | |
| 998 | - idBotao : chaves[i], | |
| 999 | - dica : dica, | |
| 1000 | - titulo : titulo | |
| 1001 | - }); | |
| 1002 | - } | |
| 1003 | - } | |
| 1004 | - $i(euEnv.euDockArray.euDock_0.bar.elementsArray.left.id).onclick = function() { | |
| 1005 | - i3GEO.ajuda.ATIVAJANELA = true; | |
| 1006 | - i3GEO.ajuda.abreJanela(); | |
| 1007 | - }; | |
| 1008 | - $i(euEnv.euDockArray.euDock_0.bar.elementsArray.right.id).onclick = | |
| 1009 | - function() { | |
| 1010 | - var dica, titulo, chaves = i3GEO.util.listaChaves(i3GEO.barraDeBotoes.INCLUIBOTAO), n = chaves.length, nb = | |
| 1011 | - euEnv.euDockArray.euDock_0.iconsArray.length, i; | |
| 1012 | - if ($i("i3geoMarcaIcone")) { | |
| 1013 | - $i("i3geoMarcaIcone").style.display = "none"; | |
| 1014 | - } | |
| 1015 | - // a barra já foi expandida | |
| 1016 | - if (nb !== i3GEO.barraDeBotoes.MAXBOTOES) { | |
| 1017 | - i3GEO.barraDeBotoes.recria(); | |
| 965 | + } | |
| 966 | + }); | |
| 967 | + i3GEO.barraDeBotoes.AJUDA = false; | |
| 968 | + dock.setIconsOffset(7); | |
| 969 | + if (i3GEO.barraDeBotoes.MAXBOTOES > 0) { | |
| 970 | + n = i3GEO.barraDeBotoes.MAXBOTOES; | |
| 1018 | 971 | } |
| 1019 | - if (i3GEO.barraDeBotoes.MAXBOTOES > 0 && n > nb) { | |
| 1020 | - for (i = nb; i < n; i += 1) { | |
| 1021 | - if (i3GEO.barraDeBotoes.INCLUIBOTAO[chaves[i]] && i3GEO.barraDeBotoes.INCLUIBOTAO[chaves[i]] === true) { | |
| 1022 | - botao = i3GEO.barraDeBotoes.defBotao(chaves[i]); | |
| 1023 | - if (botao === false) { | |
| 972 | + for (i = 0; i < n; i += 1) { | |
| 973 | + if (i3GEO.barraDeBotoes.INCLUIBOTAO[chaves[i]] && i3GEO.barraDeBotoes.INCLUIBOTAO[chaves[i]] === true) { | |
| 974 | + botao = i3GEO.barraDeBotoes.defBotao(chaves[i]); | |
| 975 | + if (botao === false) { | |
| 976 | + dica = ""; | |
| 977 | + titulo = ""; | |
| 978 | + } else { | |
| 979 | + if (botao.dica) { | |
| 980 | + dica = botao.dica; | |
| 981 | + } else { | |
| 1024 | 982 | dica = ""; |
| 1025 | - titulo = ""; | |
| 983 | + } | |
| 984 | + if (botao.titulo != undefined) { | |
| 985 | + titulo = botao.titulo; | |
| 1026 | 986 | } else { |
| 1027 | - if (botao.dica) { | |
| 1028 | - dica = botao.dica; | |
| 1029 | - } else { | |
| 1030 | - dica = ""; | |
| 1031 | - } | |
| 1032 | - if (botao.titulo != undefined) { | |
| 1033 | - titulo = botao.titulo; | |
| 1034 | - } else { | |
| 1035 | - titulo = ""; | |
| 1036 | - } | |
| 987 | + titulo = ""; | |
| 1037 | 988 | } |
| 1038 | - dock.addIcon(new Array({ | |
| 1039 | - euImage : { | |
| 1040 | - image : i3GEO.configura.locaplic + i3GEO.barraDeBotoes.ICONEBOTAO[chaves[i]] | |
| 1041 | - } | |
| 1042 | - }), { | |
| 1043 | - mouseInsideClick : function(x, y, id, posX) { | |
| 1044 | - i3GEO.barraDeBotoes.execBotao(euEnv.euDockArray[id].idBotao, x, y, posX); | |
| 1045 | - }, | |
| 1046 | - idBotao : chaves[i], | |
| 1047 | - dica : dica, | |
| 1048 | - titulo : titulo | |
| 1049 | - }); | |
| 1050 | 989 | } |
| 990 | + dock.addIcon(new Array({ | |
| 991 | + euImage : { | |
| 992 | + image : i3GEO.configura.locaplic + i3GEO.barraDeBotoes.ICONEBOTAO[chaves[i]] | |
| 993 | + } | |
| 994 | + }), { | |
| 995 | + mouseInsideClick : function(x, y, id, posX, posY) { | |
| 996 | + i3GEO.barraDeBotoes.execBotao(euEnv.euDockArray[id].idBotao, x, y, posX, posY); | |
| 997 | + }, | |
| 998 | + idBotao : chaves[i], | |
| 999 | + dica : dica, | |
| 1000 | + titulo : titulo | |
| 1001 | + }); | |
| 1051 | 1002 | } |
| 1052 | 1003 | } |
| 1053 | - }; | |
| 1054 | - // div que mostra o título do botão | |
| 1055 | - if (!$i("euDockMensagem")) { | |
| 1056 | - temp = document.createElement("div"); | |
| 1057 | - temp.style.textAlign = "center"; | |
| 1058 | - if (i3GEO.barraDeBotoes.POSICAO === "top") { | |
| 1059 | - temp.style.top = "25px"; | |
| 1060 | - } | |
| 1061 | - temp.innerHTML = ""; | |
| 1062 | - temp.id = "euDockMensagem"; | |
| 1063 | - euEnv.euDockArray.euDock_0.div.appendChild(temp); | |
| 1064 | - } | |
| 1065 | - }, | |
| 1066 | - /** | |
| 1067 | - * Function: inicializaBarra | |
| 1068 | - * | |
| 1069 | - * Inicializa a barra de botões | |
| 1070 | - * | |
| 1071 | - * A barra de zoom é inserida automaticamente na barra de botoes 1 se esta existir | |
| 1072 | - * | |
| 1073 | - * Caso i3GEO.barraDeBotoes.TIPO === "olhodepeixe" os parâmetros são ignorados. | |
| 1074 | - * | |
| 1075 | - * Exemplo: | |
| 1076 | - * | |
| 1077 | - * if ($i("barraDeBotoes1")) | |
| 1078 | - * | |
| 1079 | - * i3GEO.barraDeBotoes.inicializaBarra("barraDeBotoes1","i3geo_barra1",true,x1,y1); | |
| 1080 | - * | |
| 1081 | - * if ($i("barraDeBotoes2")) | |
| 1082 | - * | |
| 1083 | - * i3GEO.barraDeBotoes.inicializaBarra("barraDeBotoes2","i3geo_barra2",false,x2,y2); | |
| 1084 | - * | |
| 1085 | - * Os objetos criados são armazenados no array BARRAS, dessa forma, para acessar uma barra utilize por exemplo: | |
| 1086 | - * | |
| 1087 | - * i3GEO.barraDeBotoes.BARRAS[1].show(); | |
| 1088 | - * | |
| 1089 | - * Parametros: | |
| 1090 | - * | |
| 1091 | - * {String} - id do elemento existente no HTML e que contém as definições dos botões | |
| 1092 | - * | |
| 1093 | - * {String} - id do elemento que será criado para adicionar os botoões | |
| 1094 | - * | |
| 1095 | - * {boolean} - indica se a barra de zoom será incluída | |
| 1096 | - * | |
| 1097 | - * {Numeric} - posição x (pixels) da barra em relação ao mapa | |
| 1098 | - * | |
| 1099 | - * {Numeric} - posição y (pixels) da barra em relação ao mapa | |
| 1100 | - * | |
| 1101 | - * {String} - (opcional) id do elemento HTML onde os botões serão inseridos | |
| 1102 | - */ | |
| 1103 | - inicializaBarra : function(idconteudo, idconteudonovo, barraZoom, x, y, onde) { | |
| 1104 | - if (i3GEO.barraDeBotoes.ATIVA === false) { | |
| 1105 | - return; | |
| 1106 | - } | |
| 1107 | - var ticone, tipo, mostra, i, temp, e, wj, recuo, alturadisponivel, n, chaves, elementos = "", numerobotoes = 0, nelementos = 0, Dom = | |
| 1108 | - YAHOO.util.Dom, branco = i3GEO.configura.locaplic + '/imagens/branco.gif', novoel; | |
| 1109 | - if (i3GEO.configura.map3d === "") { | |
| 1110 | - i3GEO.barraDeBotoes.INCLUIBOTAO.v3d = false; | |
| 1111 | - } | |
| 1112 | - if (i3GEO.barraDeBotoes.TIPO === "olhodepeixe" || i3GEO.barraDeBotoes.TIPO === "olhodepeixe1") { | |
| 1113 | - if (i3GEO.barraDeBotoes.TIPO === "olhodepeixe1" && $i(i3GEO.Interface.IDMAPA)) { | |
| 1114 | - i3GEO.barraDeBotoes.inicializaBarraOP($i(i3GEO.Interface.IDMAPA)); | |
| 1115 | - } else { | |
| 1116 | - i3GEO.barraDeBotoes.inicializaBarraOP(); | |
| 1117 | - } | |
| 1118 | - } else { | |
| 1119 | - if (this.TEMPLATEBOTAO === "" && i3GEO.Interface.TABLET === false) { | |
| 1120 | - this.TEMPLATEBOTAO = | |
| 1121 | - "<div style='display:inline;background-color:rgb(250,250,250);'><img style='border:0px solid white;' src='" | |
| 1122 | - + i3GEO.configura.locaplic + "/imagens/branco.gif' id='$$'/></div>"; | |
| 1004 | + $i(euEnv.euDockArray.euDock_0.bar.elementsArray.left.id).onclick = function() { | |
| 1005 | + i3GEO.ajuda.ATIVAJANELA = true; | |
| 1006 | + i3GEO.ajuda.abreJanela(); | |
| 1007 | + }; | |
| 1008 | + $i(euEnv.euDockArray.euDock_0.bar.elementsArray.right.id).onclick = | |
| 1009 | + function() { | |
| 1010 | + var dica, titulo, chaves = i3GEO.util.listaChaves(i3GEO.barraDeBotoes.INCLUIBOTAO), n = chaves.length, nb = | |
| 1011 | + euEnv.euDockArray.euDock_0.iconsArray.length, i; | |
| 1012 | + if ($i("i3geoMarcaIcone")) { | |
| 1013 | + $i("i3geoMarcaIcone").style.display = "none"; | |
| 1014 | + } | |
| 1015 | + // a barra já foi expandida | |
| 1016 | + if (nb !== i3GEO.barraDeBotoes.MAXBOTOES) { | |
| 1017 | + i3GEO.barraDeBotoes.recria(); | |
| 1018 | + } | |
| 1019 | + if (i3GEO.barraDeBotoes.MAXBOTOES > 0 && n > nb) { | |
| 1020 | + for (i = nb; i < n; i += 1) { | |
| 1021 | + if (i3GEO.barraDeBotoes.INCLUIBOTAO[chaves[i]] && i3GEO.barraDeBotoes.INCLUIBOTAO[chaves[i]] === true) { | |
| 1022 | + botao = i3GEO.barraDeBotoes.defBotao(chaves[i]); | |
| 1023 | + if (botao === false) { | |
| 1024 | + dica = ""; | |
| 1025 | + titulo = ""; | |
| 1026 | + } else { | |
| 1027 | + if (botao.dica) { | |
| 1028 | + dica = botao.dica; | |
| 1029 | + } else { | |
| 1030 | + dica = ""; | |
| 1031 | + } | |
| 1032 | + if (botao.titulo != undefined) { | |
| 1033 | + titulo = botao.titulo; | |
| 1034 | + } else { | |
| 1035 | + titulo = ""; | |
| 1036 | + } | |
| 1037 | + } | |
| 1038 | + dock.addIcon(new Array({ | |
| 1039 | + euImage : { | |
| 1040 | + image : i3GEO.configura.locaplic + i3GEO.barraDeBotoes.ICONEBOTAO[chaves[i]] | |
| 1041 | + } | |
| 1042 | + }), { | |
| 1043 | + mouseInsideClick : function(x, y, id, posX) { | |
| 1044 | + i3GEO.barraDeBotoes.execBotao(euEnv.euDockArray[id].idBotao, x, y, posX); | |
| 1045 | + }, | |
| 1046 | + idBotao : chaves[i], | |
| 1047 | + dica : dica, | |
| 1048 | + titulo : titulo | |
| 1049 | + }); | |
| 1050 | + } | |
| 1051 | + } | |
| 1052 | + } | |
| 1053 | + }; | |
| 1054 | + // div que mostra o título do botão | |
| 1055 | + if (!$i("euDockMensagem")) { | |
| 1056 | + temp = document.createElement("div"); | |
| 1057 | + temp.style.textAlign = "center"; | |
| 1058 | + if (i3GEO.barraDeBotoes.POSICAO === "top") { | |
| 1059 | + temp.style.top = "25px"; | |
| 1060 | + } | |
| 1061 | + temp.innerHTML = ""; | |
| 1062 | + temp.id = "euDockMensagem"; | |
| 1063 | + euEnv.euDockArray.euDock_0.div.appendChild(temp); | |
| 1123 | 1064 | } |
| 1124 | - if (this.TEMPLATEBOTAO === "" && i3GEO.Interface.TABLET === true) { | |
| 1125 | - this.TEMPLATEBOTAO = | |
| 1126 | - "<div style='display:inline;background-color:rgb(250,250,250);'><img style='margin:4px;border:0px solid white;' src='" | |
| 1127 | - + i3GEO.configura.locaplic + "/imagens/branco.gif' id='$$'/></div>"; | |
| 1065 | + }, | |
| 1066 | + /** | |
| 1067 | + * Function: inicializaBarra | |
| 1068 | + * | |
| 1069 | + * Inicializa a barra de botões | |
| 1070 | + * | |
| 1071 | + * A barra de zoom é inserida automaticamente na barra de botoes 1 se esta existir | |
| 1072 | + * | |
| 1073 | + * Caso i3GEO.barraDeBotoes.TIPO === "olhodepeixe" os parâmetros são ignorados. | |
| 1074 | + * | |
| 1075 | + * Exemplo: | |
| 1076 | + * | |
| 1077 | + * if ($i("barraDeBotoes1")) | |
| 1078 | + * | |
| 1079 | + * i3GEO.barraDeBotoes.inicializaBarra("barraDeBotoes1","i3geo_barra1",true,x1,y1); | |
| 1080 | + * | |
| 1081 | + * if ($i("barraDeBotoes2")) | |
| 1082 | + * | |
| 1083 | + * i3GEO.barraDeBotoes.inicializaBarra("barraDeBotoes2","i3geo_barra2",false,x2,y2); | |
| 1084 | + * | |
| 1085 | + * Os objetos criados são armazenados no array BARRAS, dessa forma, para acessar uma barra utilize por exemplo: | |
| 1086 | + * | |
| 1087 | + * i3GEO.barraDeBotoes.BARRAS[1].show(); | |
| 1088 | + * | |
| 1089 | + * Parametros: | |
| 1090 | + * | |
| 1091 | + * {String} - id do elemento existente no HTML e que contém as definições dos botões | |
| 1092 | + * | |
| 1093 | + * {String} - id do elemento que será criado para adicionar os botoões | |
| 1094 | + * | |
| 1095 | + * {boolean} - indica se a barra de zoom será incluída | |
| 1096 | + * | |
| 1097 | + * {Numeric} - posição x (pixels) da barra em relação ao mapa | |
| 1098 | + * | |
| 1099 | + * {Numeric} - posição y (pixels) da barra em relação ao mapa | |
| 1100 | + * | |
| 1101 | + * {String} - (opcional) id do elemento HTML onde os botões serão inseridos | |
| 1102 | + */ | |
| 1103 | + inicializaBarra : function(idconteudo, idconteudonovo, barraZoom, x, y, onde) { | |
| 1104 | + if (i3GEO.barraDeBotoes.ATIVA === false) { | |
| 1105 | + return; | |
| 1128 | 1106 | } |
| 1129 | - | |
| 1130 | - if (navm) { | |
| 1131 | - i3GEO.barraDeBotoes.TRANSICAOSUAVE = false; | |
| 1107 | + var ticone, tipo, mostra, i, temp, e, wj, recuo, alturadisponivel, n, chaves, elementos = "", numerobotoes = 0, nelementos = 0, Dom = | |
| 1108 | + YAHOO.util.Dom, branco = i3GEO.configura.locaplic + '/imagens/branco.gif', novoel; | |
| 1109 | + if (i3GEO.configura.map3d === "") { | |
| 1110 | + i3GEO.barraDeBotoes.INCLUIBOTAO.v3d = false; | |
| 1132 | 1111 | } |
| 1133 | - if (i3GEO.barraDeBotoes.TIPO === "emlinha") { | |
| 1134 | - temp = "<div id='" + onde + "_mascara'></div>"; | |
| 1135 | - chaves = i3GEO.util.listaChaves(i3GEO.barraDeBotoes.INCLUIBOTAO); | |
| 1136 | - n = chaves.length; | |
| 1137 | - for (i = 0; i < n; i += 1) { | |
| 1138 | - if (i3GEO.barraDeBotoes.INCLUIBOTAO[chaves[i]] === true) { | |
| 1139 | - temp += | |
| 1140 | - "<img id='" + chaves[i] + "_iconeId' onclick='i3GEO.barraDeBotoes.execBotao(\"" + chaves[i] + "\")' src='" | |
| 1141 | - + i3GEO.configura.locaplic + "/" + i3GEO.barraDeBotoes.ICONEBOTAO[chaves[i]] + "' />"; | |
| 1142 | - } | |
| 1143 | - } | |
| 1144 | - // | |
| 1145 | - // se o id indicado para incluir a barra nao existir, o div sera criado | |
| 1146 | - // | |
| 1147 | - if (!$i(onde)) { | |
| 1148 | - novoel = document.createElement("div"); | |
| 1149 | - novoel.id = onde; | |
| 1150 | - novoel.innerHTML = temp; | |
| 1151 | - $i(i3GEO.Interface.IDMAPA).appendChild(novoel); | |
| 1112 | + if (i3GEO.barraDeBotoes.TIPO === "olhodepeixe" || i3GEO.barraDeBotoes.TIPO === "olhodepeixe1") { | |
| 1113 | + if (i3GEO.barraDeBotoes.TIPO === "olhodepeixe1" && $i(i3GEO.Interface.IDMAPA)) { | |
| 1114 | + i3GEO.barraDeBotoes.inicializaBarraOP($i(i3GEO.Interface.IDMAPA)); | |
| 1152 | 1115 | } else { |
| 1153 | - $i(onde).innerHTML = temp; | |
| 1116 | + i3GEO.barraDeBotoes.inicializaBarraOP(); | |
| 1154 | 1117 | } |
| 1155 | - for (i = 0; i < n; i += 1) { | |
| 1156 | - temp = i3GEO.barraDeBotoes.defBotao(chaves[i]).titulo; | |
| 1157 | - if (temp != "") { | |
| 1158 | - new YAHOO.widget.Tooltip(chaves[i] + "_tip", { | |
| 1159 | - context : chaves[i] + "_iconeId", | |
| 1160 | - text : temp | |
| 1161 | - }); | |
| 1162 | - } | |
| 1118 | + } else { | |
| 1119 | + if (this.TEMPLATEBOTAO === "" && i3GEO.Interface.TABLET === false) { | |
| 1120 | + this.TEMPLATEBOTAO = | |
| 1121 | + "<div style='display:inline;background-color:rgb(250,250,250);'><img style='border:0px solid white;' src='" | |
| 1122 | + + i3GEO.configura.locaplic + "/imagens/branco.gif' id='$$'/></div>"; | |
| 1163 | 1123 | } |
| 1164 | - // i3GEO.barraDeBotoes.ativaBotoes(); | |
| 1165 | - } | |
| 1166 | - if (this.AUTO === true) { | |
| 1167 | - if (idconteudo === "barraDeBotoes1") { | |
| 1168 | - novoel = document.createElement("div"); | |
| 1169 | - novoel.id = "barraDeBotoes1"; | |
| 1170 | - temp = | |
| 1171 | - '<table style="width:100%"><tr><td style="background-color:rgb(250,250,250);"><div ID="historicozoom" ></div></td></tr><tr><td style=height:5px ></td></tr></table>' | |
| 1172 | - + "<div style='display:inline;background-color:rgb(250,250,250);'>" | |
| 1173 | - + '<img title="zoom" alt="zoom" src="' | |
| 1174 | - + branco | |
| 1175 | - + '" id="zoomli"/>' | |
| 1176 | - + "</div>" | |
| 1177 | - + "<div style='display:inline;background-color:rgb(250,250,250);'>" | |
| 1178 | - + '<img title="desloca" alt="desloca" src="' | |
| 1179 | - + branco | |
| 1180 | - + '" id="pan"/>' | |
| 1181 | - + "</div>" | |
| 1182 | - + "<div style='display:inline;background-color:rgb(250,250,250);'>" | |
| 1183 | - + '<img title="geral" alt="geral" src="' + branco + '" id="zoomtot"/>' + "</div>"; | |
| 1184 | - novoel.innerHTML = temp; | |
| 1185 | - document.body.appendChild(novoel); | |
| 1124 | + if (this.TEMPLATEBOTAO === "" && i3GEO.Interface.TABLET === true) { | |
| 1125 | + this.TEMPLATEBOTAO = | |
| 1126 | + "<div style='display:inline;background-color:rgb(250,250,250);'><img style='margin:4px;border:0px solid white;' src='" | |
| 1127 | + + i3GEO.configura.locaplic + "/imagens/branco.gif' id='$$'/></div>"; | |
| 1186 | 1128 | } |
| 1187 | - if (idconteudo === "barraDeBotoes2") { | |
| 1188 | - temp = ""; | |
| 1129 | + | |
| 1130 | + if (navm) { | |
| 1131 | + i3GEO.barraDeBotoes.TRANSICAOSUAVE = false; | |
| 1132 | + } | |
| 1133 | + if (i3GEO.barraDeBotoes.TIPO === "emlinha") { | |
| 1134 | + temp = "<div id='" + onde + "_mascara'></div>"; | |
| 1189 | 1135 | chaves = i3GEO.util.listaChaves(i3GEO.barraDeBotoes.INCLUIBOTAO); |
| 1190 | 1136 | n = chaves.length; |
| 1191 | 1137 | for (i = 0; i < n; i += 1) { |
| 1192 | 1138 | if (i3GEO.barraDeBotoes.INCLUIBOTAO[chaves[i]] === true) { |
| 1193 | - temp += i3GEO.barraDeBotoes.TEMPLATEBOTAO.replace("$$", chaves[i]); | |
| 1139 | + temp += | |
| 1140 | + "<img id='" + chaves[i] + "_iconeId' onclick='i3GEO.barraDeBotoes.execBotao(\"" + chaves[i] + "\")' src='" | |
| 1141 | + + i3GEO.configura.locaplic + "/" + i3GEO.barraDeBotoes.ICONEBOTAO[chaves[i]] + "' />"; | |
| 1194 | 1142 | } |
| 1195 | 1143 | } |
| 1196 | - // return; | |
| 1197 | - if (typeof (onde) === 'undefined') { | |
| 1144 | + // | |
| 1145 | + // se o id indicado para incluir a barra nao existir, o div sera criado | |
| 1146 | + // | |
| 1147 | + if (!$i(onde)) { | |
| 1198 | 1148 | novoel = document.createElement("div"); |
| 1199 | - novoel.id = "barraDeBotoes2"; | |
| 1200 | - novoel.innerHTML = | |
| 1201 | - "<table style='width:100%'>" | |
| 1202 | - + "<tr><td style='background-color:rgb(250,250,250);'><img title='' alt='sobe' src='" | |
| 1203 | - + branco | |
| 1204 | - + "' id='sobeferramentas'/></td></tr>" | |
| 1205 | - + "</table>" | |
| 1206 | - + temp | |
| 1207 | - + "<table style='width:100%;'><tr><td style='background-color:rgb(250,250,250);'><img title='desce' alt='' src='" | |
| 1208 | - + branco + "' id='desceferramentas'/></td></tr></table>"; | |
| 1209 | - document.body.appendChild(novoel); | |
| 1149 | + novoel.id = onde; | |
| 1150 | + novoel.innerHTML = temp; | |
| 1151 | + $i(i3GEO.Interface.IDMAPA).appendChild(novoel); | |
| 1210 | 1152 | } else { |
| 1211 | 1153 | $i(onde).innerHTML = temp; |
| 1212 | - return; | |
| 1213 | 1154 | } |
| 1155 | + for (i = 0; i < n; i += 1) { | |
| 1156 | + temp = i3GEO.barraDeBotoes.defBotao(chaves[i]).titulo; | |
| 1157 | + if (temp != "") { | |
| 1158 | + new YAHOO.widget.Tooltip(chaves[i] + "_tip", { | |
| 1159 | + context : chaves[i] + "_iconeId", | |
| 1160 | + text : temp | |
| 1161 | + }); | |
| 1162 | + } | |
| 1163 | + } | |
| 1164 | + // i3GEO.barraDeBotoes.ativaBotoes(); | |
| 1214 | 1165 | } |
| 1215 | - } else { | |
| 1216 | - if (idconteudo === "barraDeBotoes2" && onde !== undefined) { | |
| 1217 | - $i(onde).innerHTML = $i(idconteudo); | |
| 1218 | - } | |
| 1219 | - } | |
| 1220 | - wj = "36px"; | |
| 1221 | - recuo = "0px"; | |
| 1222 | - if (idconteudonovo != "") { | |
| 1223 | - novoel = document.createElement("div"); | |
| 1224 | - novoel.id = idconteudonovo; | |
| 1225 | - novoel.style.display = "block"; | |
| 1226 | - if (this.SOICONES === false) { | |
| 1227 | - novoel.style.border = "1px solid gray"; | |
| 1228 | - novoel.style.background = "white"; | |
| 1166 | + if (this.AUTO === true) { | |
| 1167 | + if (idconteudo === "barraDeBotoes1") { | |
| 1168 | + novoel = document.createElement("div"); | |
| 1169 | + novoel.id = "barraDeBotoes1"; | |
| 1170 | + temp = | |
| 1171 | + '<table style="width:100%"><tr><td style="background-color:rgb(250,250,250);"><div ID="historicozoom" ></div></td></tr><tr><td style=height:5px ></td></tr></table>' | |
| 1172 | + + "<div style='display:inline;background-color:rgb(250,250,250);'>" | |
| 1173 | + + '<img title="zoom" alt="zoom" src="' | |
| 1174 | + + branco | |
| 1175 | + + '" id="zoomli"/>' | |
| 1176 | + + "</div>" | |
| 1177 | + + "<div style='display:inline;background-color:rgb(250,250,250);'>" | |
| 1178 | + + '<img title="desloca" alt="desloca" src="' | |
| 1179 | + + branco | |
| 1180 | + + '" id="pan"/>' | |
| 1181 | + + "</div>" | |
| 1182 | + + "<div style='display:inline;background-color:rgb(250,250,250);'>" | |
| 1183 | + + '<img title="geral" alt="geral" src="' + branco + '" id="zoomtot"/>' + "</div>"; | |
| 1184 | + novoel.innerHTML = temp; | |
| 1185 | + document.body.appendChild(novoel); | |
| 1186 | + } | |
| 1187 | + if (idconteudo === "barraDeBotoes2") { | |
| 1188 | + temp = ""; | |
| 1189 | + chaves = i3GEO.util.listaChaves(i3GEO.barraDeBotoes.INCLUIBOTAO); | |
| 1190 | + n = chaves.length; | |
| 1191 | + for (i = 0; i < n; i += 1) { | |
| 1192 | + if (i3GEO.barraDeBotoes.INCLUIBOTAO[chaves[i]] === true) { | |
| 1193 | + temp += i3GEO.barraDeBotoes.TEMPLATEBOTAO.replace("$$", chaves[i]); | |
| 1194 | + } | |
| 1195 | + } | |
| 1196 | + // return; | |
| 1197 | + if (typeof (onde) === 'undefined') { | |
| 1198 | + novoel = document.createElement("div"); | |
| 1199 | + novoel.id = "barraDeBotoes2"; | |
| 1200 | + novoel.innerHTML = | |
| 1201 | + "<table style='width:100%'>" | |
| 1202 | + + "<tr><td style='background-color:rgb(250,250,250);'><img title='' alt='sobe' src='" | |
| 1203 | + + branco | |
| 1204 | + + "' id='sobeferramentas'/></td></tr>" | |
| 1205 | + + "</table>" | |
| 1206 | + + temp | |
| 1207 | + + "<table style='width:100%;'><tr><td style='background-color:rgb(250,250,250);'><img title='desce' alt='' src='" | |
| 1208 | + + branco + "' id='desceferramentas'/></td></tr></table>"; | |
| 1209 | + document.body.appendChild(novoel); | |
| 1210 | + } else { | |
| 1211 | + $i(onde).innerHTML = temp; | |
| 1212 | + return; | |
| 1213 | + } | |
| 1214 | + } | |
| 1229 | 1215 | } else { |
| 1230 | - novoel.style.border = "0px solid white"; | |
| 1231 | - } | |
| 1232 | - if (i3GEO.barraDeBotoes.TRANSICAOSUAVE) { | |
| 1233 | - Dom.setStyle(novoel, "opacity", this.OPACIDADE / 100); | |
| 1234 | - } | |
| 1235 | - temp = ""; | |
| 1236 | - if (barraZoom === true) { | |
| 1237 | - temp += i3GEO.navega.barraDeZoom.cria(); | |
| 1238 | - } | |
| 1239 | - temp += '<div id="' + idconteudonovo + '_" style="left:' + recuo + ';top:0px;" ></div>'; | |
| 1240 | - novoel.innerHTML = temp; | |
| 1241 | - novoel.onmouseover = function() { | |
| 1242 | - YAHOO.util.Dom.setStyle("i3geo_rosa", "display", "none"); | |
| 1243 | - if (i3GEO.barraDeBotoes.TRANSICAOSUAVE) { | |
| 1244 | - YAHOO.util.Dom.setStyle(novoel, "opacity", 1); | |
| 1216 | + if (idconteudo === "barraDeBotoes2" && onde !== undefined) { | |
| 1217 | + $i(onde).innerHTML = $i(idconteudo); | |
| 1245 | 1218 | } |
| 1246 | - if (i3GEO.Interface.TABLET === true) { | |
| 1247 | - // i3GEO.barraDeBotoes.BARRAS[0].cfg.setProperty("height", ""); | |
| 1248 | - // $i(i3GEO.barraDeBotoes.BARRAS[0].id+"_").style.top = "0px"; | |
| 1219 | + } | |
| 1220 | + wj = "36px"; | |
| 1221 | + recuo = "0px"; | |
| 1222 | + if (idconteudonovo != "") { | |
| 1223 | + novoel = document.createElement("div"); | |
| 1224 | + novoel.id = idconteudonovo; | |
| 1225 | + novoel.style.display = "block"; | |
| 1226 | + if (this.SOICONES === false) { | |
| 1227 | + novoel.style.border = "1px solid gray"; | |
| 1228 | + novoel.style.background = "white"; | |
| 1229 | + } else { | |
| 1230 | + novoel.style.border = "0px solid white"; | |
| 1249 | 1231 | } |
| 1250 | - }; | |
| 1251 | - novoel.onmouseout = function() { | |
| 1252 | 1232 | if (i3GEO.barraDeBotoes.TRANSICAOSUAVE) { |
| 1253 | - YAHOO.util.Dom.setStyle(novoel, "opacity", i3GEO.barraDeBotoes.OPACIDADE / 100); | |
| 1233 | + Dom.setStyle(novoel, "opacity", this.OPACIDADE / 100); | |
| 1254 | 1234 | } |
| 1255 | - if (i3GEO.Interface.TABLET === true) { | |
| 1256 | - // i3GEO.barraDeBotoes.BARRAS[0].cfg.setProperty("height", "10px"); | |
| 1257 | - // $i(i3GEO.barraDeBotoes.BARRAS[0].id+"_").style.top = "-200px"; | |
| 1235 | + temp = ""; | |
| 1236 | + if (barraZoom === true) { | |
| 1237 | + temp += i3GEO.navega.barraDeZoom.cria(); | |
| 1258 | 1238 | } |
| 1259 | - }; | |
| 1260 | - document.body.appendChild(novoel); | |
| 1261 | - } | |
| 1262 | - // copia os botoes do HTML para a janela | |
| 1263 | - ticone = 28; | |
| 1264 | - alturadisponivel = i3GEO.parametros.h - i3GEO.Interface.BARRABOTOESTOP - ticone - 38 - 38; | |
| 1265 | - if (this.AUTOALTURA === true) { | |
| 1266 | - alturadisponivel += 28; | |
| 1267 | - } | |
| 1268 | - numerobotoes = parseInt(alturadisponivel / ticone, 10); | |
| 1269 | - if (idconteudo != "" && $i(idconteudo)) { | |
| 1270 | - $i(idconteudonovo + "_").innerHTML = $i(idconteudo).innerHTML; | |
| 1271 | - $i(idconteudo).innerHTML = ""; | |
| 1272 | - elementos = $i(idconteudonovo + "_").getElementsByTagName("img"); | |
| 1273 | - nelementos = elementos.length; | |
| 1274 | - if (i3GEO.barraDeBotoes.ORIENTACAO === "horizontal") { | |
| 1275 | - numerobotoes = 100; | |
| 1239 | + temp += '<div id="' + idconteudonovo + '_" style="left:' + recuo + ';top:0px;" ></div>'; | |
| 1240 | + novoel.innerHTML = temp; | |
| 1241 | + novoel.onmouseover = function() { | |
| 1242 | + YAHOO.util.Dom.setStyle("i3geo_rosa", "display", "none"); | |
| 1243 | + if (i3GEO.barraDeBotoes.TRANSICAOSUAVE) { | |
| 1244 | + YAHOO.util.Dom.setStyle(novoel, "opacity", 1); | |
| 1245 | + } | |
| 1246 | + if (i3GEO.Interface.TABLET === true) { | |
| 1247 | + // i3GEO.barraDeBotoes.BARRAS[0].cfg.setProperty("height", ""); | |
| 1248 | + // $i(i3GEO.barraDeBotoes.BARRAS[0].id+"_").style.top = "0px"; | |
| 1249 | + } | |
| 1250 | + }; | |
| 1251 | + novoel.onmouseout = function() { | |
| 1252 | + if (i3GEO.barraDeBotoes.TRANSICAOSUAVE) { | |
| 1253 | + YAHOO.util.Dom.setStyle(novoel, "opacity", i3GEO.barraDeBotoes.OPACIDADE / 100); | |
| 1254 | + } | |
| 1255 | + if (i3GEO.Interface.TABLET === true) { | |
| 1256 | + // i3GEO.barraDeBotoes.BARRAS[0].cfg.setProperty("height", "10px"); | |
| 1257 | + // $i(i3GEO.barraDeBotoes.BARRAS[0].id+"_").style.top = "-200px"; | |
| 1258 | + } | |
| 1259 | + }; | |
| 1260 | + document.body.appendChild(novoel); | |
| 1276 | 1261 | } |
| 1277 | - // faz o cálculo do número de botões que devem ficar visíveis em função do | |
| 1278 | - // tamanho da barra | |
| 1279 | - if (this.AUTOALTURA === true || (numerobotoes < nelementos)) { | |
| 1280 | - if (elementos[0].id === "sobeferramentas") { | |
| 1281 | - try { | |
| 1282 | - elementos = $i(idconteudonovo + "_").getElementsByTagName("div"); | |
| 1283 | - nelementos = elementos.length; | |
| 1284 | - i = 0; | |
| 1285 | - do { | |
| 1286 | - elementos[i].style.display = "none"; | |
| 1287 | - i = i + 1; | |
| 1288 | - } while (i < nelementos); | |
| 1289 | - i = 0; | |
| 1290 | - do { | |
| 1291 | - if (elementos[i] != undefined) { | |
| 1292 | - elementos[i].style.display = "inline"; | |
| 1293 | - } | |
| 1294 | - i = i + 1; | |
| 1295 | - } while (i < numerobotoes - 1); | |
| 1296 | - } catch (men) { | |
| 1297 | - if (typeof (console) !== 'undefined') | |
| 1298 | - console.error(men); | |
| 1262 | + // copia os botoes do HTML para a janela | |
| 1263 | + ticone = 28; | |
| 1264 | + alturadisponivel = i3GEO.parametros.h - i3GEO.Interface.BARRABOTOESTOP - ticone - 38 - 38; | |
| 1265 | + if (this.AUTOALTURA === true) { | |
| 1266 | + alturadisponivel += 28; | |
| 1267 | + } | |
| 1268 | + numerobotoes = parseInt(alturadisponivel / ticone, 10); | |
| 1269 | + if (idconteudo != "" && $i(idconteudo)) { | |
| 1270 | + $i(idconteudonovo + "_").innerHTML = $i(idconteudo).innerHTML; | |
| 1271 | + $i(idconteudo).innerHTML = ""; | |
| 1272 | + elementos = $i(idconteudonovo + "_").getElementsByTagName("img"); | |
| 1273 | + nelementos = elementos.length; | |
| 1274 | + if (i3GEO.barraDeBotoes.ORIENTACAO === "horizontal") { | |
| 1275 | + numerobotoes = 100; | |
| 1276 | + } | |
| 1277 | + // faz o cálculo do número de botões que devem ficar visíveis em função do | |
| 1278 | + // tamanho da barra | |
| 1279 | + if (this.AUTOALTURA === true || (numerobotoes < nelementos)) { | |
| 1280 | + if (elementos[0].id === "sobeferramentas") { | |
| 1281 | + try { | |
| 1282 | + elementos = $i(idconteudonovo + "_").getElementsByTagName("div"); | |
| 1283 | + nelementos = elementos.length; | |
| 1284 | + i = 0; | |
| 1285 | + do { | |
| 1286 | + elementos[i].style.display = "none"; | |
| 1287 | + i = i + 1; | |
| 1288 | + } while (i < nelementos); | |
| 1289 | + i = 0; | |
| 1290 | + do { | |
| 1291 | + if (elementos[i] != undefined) { | |
| 1292 | + elementos[i].style.display = "inline"; | |
| 1293 | + } | |
| 1294 | + i = i + 1; | |
| 1295 | + } while (i < numerobotoes - 1); | |
| 1296 | + } catch (men) { | |
| 1297 | + if (typeof (console) !== 'undefined') | |
| 1298 | + console.error(men); | |
| 1299 | + } | |
| 1299 | 1300 | } |
| 1300 | 1301 | } |
| 1302 | + if (elementos.length <= numerobotoes) { | |
| 1303 | + Dom.setStyle([ | |
| 1304 | + "sobeferramentas", | |
| 1305 | + "desceferramentas" | |
| 1306 | + ], "display", "none"); | |
| 1307 | + } | |
| 1301 | 1308 | } |
| 1302 | - if (elementos.length <= numerobotoes) { | |
| 1303 | - Dom.setStyle([ | |
| 1304 | - "sobeferramentas", | |
| 1305 | - "desceferramentas" | |
| 1306 | - ], "display", "none"); | |
| 1307 | - } | |
| 1308 | - } | |
| 1309 | - if (i3GEO.barraDeBotoes.TIPO != "emlinha") { | |
| 1310 | - YAHOO.namespace("i3GEO.janela.botoes"); | |
| 1311 | - if (i3GEO.barraDeBotoes.ORIENTACAO === "horizontal") { | |
| 1312 | - YAHOO.i3GEO.janela.botoes = new YAHOO.widget.Panel(idconteudonovo, { | |
| 1313 | - zIndex : 20000, | |
| 1314 | - height : 40, | |
| 1315 | - width : i3GEO.barraDeBotoes.HORIZONTALW, | |
| 1316 | - fixedcenter : false, | |
| 1317 | - constraintoviewport : false, | |
| 1318 | - underlay : "none", | |
| 1319 | - close : i3GEO.barraDeBotoes.PERMITEFECHAR, | |
| 1320 | - visible : true, | |
| 1321 | - draggable : i3GEO.barraDeBotoes.PERMITEDESLOCAR, | |
| 1322 | - modal : false, | |
| 1323 | - iframe : false | |
| 1324 | - }); | |
| 1325 | - } else { | |
| 1326 | - if (this.AUTOALTURA === false || barraZoom === true || (elementos.length > numerobotoes)) { | |
| 1309 | + if (i3GEO.barraDeBotoes.TIPO != "emlinha") { | |
| 1310 | + YAHOO.namespace("i3GEO.janela.botoes"); | |
| 1311 | + if (i3GEO.barraDeBotoes.ORIENTACAO === "horizontal") { | |
| 1327 | 1312 | YAHOO.i3GEO.janela.botoes = new YAHOO.widget.Panel(idconteudonovo, { |
| 1328 | 1313 | zIndex : 20000, |
| 1329 | - width : wj, | |
| 1314 | + height : 40, | |
| 1315 | + width : i3GEO.barraDeBotoes.HORIZONTALW, | |
| 1330 | 1316 | fixedcenter : false, |
| 1331 | 1317 | constraintoviewport : false, |
| 1332 | 1318 | underlay : "none", |
| ... | ... | @@ -1337,518 +1323,534 @@ i3GEO.barraDeBotoes = |
| 1337 | 1323 | iframe : false |
| 1338 | 1324 | }); |
| 1339 | 1325 | } else { |
| 1340 | - YAHOO.i3GEO.janela.botoes = new YAHOO.widget.Panel(idconteudonovo, { | |
| 1341 | - zIndex : 20000, | |
| 1342 | - height : i3GEO.parametros.h - 4, | |
| 1343 | - width : wj, | |
| 1344 | - fixedcenter : false, | |
| 1345 | - constraintoviewport : false, | |
| 1346 | - underlay : "none", | |
| 1347 | - close : i3GEO.barraDeBotoes.PERMITEFECHAR, | |
| 1348 | - visible : true, | |
| 1349 | - draggable : i3GEO.barraDeBotoes.PERMITEDESLOCAR, | |
| 1350 | - modal : false, | |
| 1351 | - iframe : false | |
| 1352 | - }); | |
| 1353 | - } | |
| 1354 | - } | |
| 1355 | - if (this.SOICONES === true) { | |
| 1356 | - Dom.setStyle([ | |
| 1357 | - "i3geo_barra2", | |
| 1358 | - "i3geo_barra1" | |
| 1359 | - ], "borderWidth", "0 0 0 0"); | |
| 1360 | - } | |
| 1361 | - YAHOO.i3GEO.janela.botoes.render(); | |
| 1362 | - YAHOO.i3GEO.janela.botoes.moveTo(x, y); | |
| 1363 | - if ($i("sobeferramentas")) { | |
| 1364 | - $i("sobeferramentas").onclick = function() { | |
| 1365 | - elementos = $i(idconteudonovo + "_").getElementsByTagName("div"); | |
| 1366 | - nelementos = elementos.length; | |
| 1367 | - if (elementos[0].style.display === "inline" && elementos[0].id === "") { | |
| 1368 | - return; | |
| 1369 | - } | |
| 1370 | - if (nelementos > 0) { | |
| 1371 | - mostra = elementos[0]; | |
| 1372 | - i = 0; | |
| 1373 | - do { | |
| 1374 | - if (elementos[i].style) { | |
| 1375 | - if (elementos[i].style.display === "inline" && elementos[i].id === "") { | |
| 1376 | - break; | |
| 1377 | - } | |
| 1378 | - if (elementos[i].style.display === "none" && elementos[i].id === "") { | |
| 1379 | - mostra = elementos[i]; | |
| 1380 | - } | |
| 1381 | - } | |
| 1382 | - i = i + 1; | |
| 1383 | - } while (i < nelementos); | |
| 1384 | - mostra.style.display = "inline"; | |
| 1385 | - // esconde o último botao | |
| 1386 | - i = nelementos + 1; | |
| 1387 | - mostra = elementos[i]; | |
| 1388 | - do { | |
| 1389 | - if (elementos[i]) { | |
| 1390 | - if (elementos[i].style) { | |
| 1391 | - if (elementos[i].style.display === "inline") { | |
| 1392 | - mostra = elementos[i]; | |
| 1393 | - break; | |
| 1394 | - } | |
| 1395 | - } | |
| 1396 | - } | |
| 1397 | - i = i - 1; | |
| 1398 | - } while (i >= 0); | |
| 1399 | - mostra.style.display = "none"; | |
| 1326 | + if (this.AUTOALTURA === false || barraZoom === true || (elementos.length > numerobotoes)) { | |
| 1327 | + YAHOO.i3GEO.janela.botoes = new YAHOO.widget.Panel(idconteudonovo, { | |
| 1328 | + zIndex : 20000, | |
| 1329 | + width : wj, | |
| 1330 | + fixedcenter : false, | |
| 1331 | + constraintoviewport : false, | |
| 1332 | + underlay : "none", | |
| 1333 | + close : i3GEO.barraDeBotoes.PERMITEFECHAR, | |
| 1334 | + visible : true, | |
| 1335 | + draggable : i3GEO.barraDeBotoes.PERMITEDESLOCAR, | |
| 1336 | + modal : false, | |
| 1337 | + iframe : false | |
| 1338 | + }); | |
| 1339 | + } else { | |
| 1340 | + YAHOO.i3GEO.janela.botoes = new YAHOO.widget.Panel(idconteudonovo, { | |
| 1341 | + zIndex : 20000, | |
| 1342 | + height : i3GEO.parametros.h - 4, | |
| 1343 | + width : wj, | |
| 1344 | + fixedcenter : false, | |
| 1345 | + constraintoviewport : false, | |
| 1346 | + underlay : "none", | |
| 1347 | + close : i3GEO.barraDeBotoes.PERMITEFECHAR, | |
| 1348 | + visible : true, | |
| 1349 | + draggable : i3GEO.barraDeBotoes.PERMITEDESLOCAR, | |
| 1350 | + modal : false, | |
| 1351 | + iframe : false | |
| 1352 | + }); | |
| 1400 | 1353 | } |
| 1401 | - }; | |
| 1402 | - } | |
| 1403 | - if ($i("desceferramentas")) { | |
| 1404 | - $i("desceferramentas").onclick = | |
| 1405 | - function() { | |
| 1406 | - tipo = "inline"; | |
| 1407 | - if ($i(idconteudonovo + "_")) { | |
| 1354 | + } | |
| 1355 | + if (this.SOICONES === true) { | |
| 1356 | + Dom.setStyle([ | |
| 1357 | + "i3geo_barra2", | |
| 1358 | + "i3geo_barra1" | |
| 1359 | + ], "borderWidth", "0 0 0 0"); | |
| 1360 | + } | |
| 1361 | + YAHOO.i3GEO.janela.botoes.render(); | |
| 1362 | + YAHOO.i3GEO.janela.botoes.moveTo(x, y); | |
| 1363 | + if ($i("sobeferramentas")) { | |
| 1364 | + $i("sobeferramentas").onclick = function() { | |
| 1408 | 1365 | elementos = $i(idconteudonovo + "_").getElementsByTagName("div"); |
| 1409 | - if (elementos[elementos.length - 1].style.display === tipo) { | |
| 1366 | + nelementos = elementos.length; | |
| 1367 | + if (elementos[0].style.display === "inline" && elementos[0].id === "") { | |
| 1410 | 1368 | return; |
| 1411 | 1369 | } |
| 1412 | - nelementos = elementos.length; | |
| 1413 | 1370 | if (nelementos > 0) { |
| 1414 | - // esconde o primeiro botao | |
| 1371 | + mostra = elementos[0]; | |
| 1415 | 1372 | i = 0; |
| 1416 | 1373 | do { |
| 1417 | - e = elementos[i]; | |
| 1418 | - if (e.style) { | |
| 1419 | - if ((e.style.display === "block") || (e.style.display === "inline") | |
| 1420 | - || (e.style.display === "")) { | |
| 1421 | - if (e.id === "") { | |
| 1422 | - e.style.display = "none"; | |
| 1423 | - break; | |
| 1424 | - } | |
| 1374 | + if (elementos[i].style) { | |
| 1375 | + if (elementos[i].style.display === "inline" && elementos[i].id === "") { | |
| 1376 | + break; | |
| 1377 | + } | |
| 1378 | + if (elementos[i].style.display === "none" && elementos[i].id === "") { | |
| 1379 | + mostra = elementos[i]; | |
| 1425 | 1380 | } |
| 1426 | 1381 | } |
| 1427 | 1382 | i = i + 1; |
| 1428 | 1383 | } while (i < nelementos); |
| 1429 | - // mostra o último botao | |
| 1430 | - i = nelementos - 1; | |
| 1431 | - var mostra = elementos[i]; | |
| 1384 | + mostra.style.display = "inline"; | |
| 1385 | + // esconde o último botao | |
| 1386 | + i = nelementos + 1; | |
| 1387 | + mostra = elementos[i]; | |
| 1432 | 1388 | do { |
| 1433 | - e = elementos[i]; | |
| 1434 | - if (e.style) { | |
| 1435 | - if (e.style.display === tipo) { | |
| 1436 | - break; | |
| 1437 | - } | |
| 1438 | - if (e.style.display === "none") { | |
| 1439 | - mostra = e; | |
| 1389 | + if (elementos[i]) { | |
| 1390 | + if (elementos[i].style) { | |
| 1391 | + if (elementos[i].style.display === "inline") { | |
| 1392 | + mostra = elementos[i]; | |
| 1393 | + break; | |
| 1394 | + } | |
| 1440 | 1395 | } |
| 1441 | 1396 | } |
| 1442 | 1397 | i = i - 1; |
| 1443 | 1398 | } while (i >= 0); |
| 1444 | - mostra.style.display = tipo; | |
| 1399 | + mostra.style.display = "none"; | |
| 1445 | 1400 | } |
| 1446 | - } | |
| 1447 | - }; | |
| 1448 | - } | |
| 1449 | - this.BARRAS.push(YAHOO.i3GEO.janela.botoes); | |
| 1450 | - YAHOO.i3GEO.janela.botoes.show(); | |
| 1451 | - if (i3GEO.Interface.TABLET === true) { | |
| 1452 | - YAHOO.i3GEO.janela.botoes.moveTo((i3GEO.parametros.w / 2) - (i3GEO.barraDeBotoes.HORIZONTALW / 2), ""); | |
| 1401 | + }; | |
| 1402 | + } | |
| 1403 | + if ($i("desceferramentas")) { | |
| 1404 | + $i("desceferramentas").onclick = | |
| 1405 | + function() { | |
| 1406 | + tipo = "inline"; | |
| 1407 | + if ($i(idconteudonovo + "_")) { | |
| 1408 | + elementos = $i(idconteudonovo + "_").getElementsByTagName("div"); | |
| 1409 | + if (elementos[elementos.length - 1].style.display === tipo) { | |
| 1410 | + return; | |
| 1411 | + } | |
| 1412 | + nelementos = elementos.length; | |
| 1413 | + if (nelementos > 0) { | |
| 1414 | + // esconde o primeiro botao | |
| 1415 | + i = 0; | |
| 1416 | + do { | |
| 1417 | + e = elementos[i]; | |
| 1418 | + if (e.style) { | |
| 1419 | + if ((e.style.display === "block") || (e.style.display === "inline") | |
| 1420 | + || (e.style.display === "")) { | |
| 1421 | + if (e.id === "") { | |
| 1422 | + e.style.display = "none"; | |
| 1423 | + break; | |
| 1424 | + } | |
| 1425 | + } | |
| 1426 | + } | |
| 1427 | + i = i + 1; | |
| 1428 | + } while (i < nelementos); | |
| 1429 | + // mostra o último botao | |
| 1430 | + i = nelementos - 1; | |
| 1431 | + var mostra = elementos[i]; | |
| 1432 | + do { | |
| 1433 | + e = elementos[i]; | |
| 1434 | + if (e.style) { | |
| 1435 | + if (e.style.display === tipo) { | |
| 1436 | + break; | |
| 1437 | + } | |
| 1438 | + if (e.style.display === "none") { | |
| 1439 | + mostra = e; | |
| 1440 | + } | |
| 1441 | + } | |
| 1442 | + i = i - 1; | |
| 1443 | + } while (i >= 0); | |
| 1444 | + mostra.style.display = tipo; | |
| 1445 | + } | |
| 1446 | + } | |
| 1447 | + }; | |
| 1448 | + } | |
| 1449 | + this.BARRAS.push(YAHOO.i3GEO.janela.botoes); | |
| 1450 | + YAHOO.i3GEO.janela.botoes.show(); | |
| 1451 | + if (i3GEO.Interface.TABLET === true) { | |
| 1452 | + YAHOO.i3GEO.janela.botoes.moveTo((i3GEO.parametros.w / 2) - (i3GEO.barraDeBotoes.HORIZONTALW / 2), ""); | |
| 1453 | + } | |
| 1454 | + Dom.replaceClass(idconteudonovo + "_h", "hd2"); | |
| 1453 | 1455 | } |
| 1454 | - Dom.replaceClass(idconteudonovo + "_h", "hd2"); | |
| 1455 | 1456 | } |
| 1456 | - } | |
| 1457 | - }, | |
| 1458 | - /** | |
| 1459 | - * Function: reativa | |
| 1460 | - * | |
| 1461 | - * Reativa as barras de ferramentas já criadas | |
| 1462 | - * | |
| 1463 | - * Essa opção apenas aplica o método "show" aos objetos armazenados em i3GEO.barraDeBotoes.BARRAS | |
| 1464 | - * | |
| 1465 | - * Se a barra não existir previamente, nada irá contecer | |
| 1466 | - * | |
| 1467 | - * Parametro: | |
| 1468 | - * | |
| 1469 | - * {Integer} - índice do array BARRAS que guarda os objetos YAHOO com as barras Se não for definido, todas as | |
| 1470 | - * barras serão reativadas | |
| 1471 | - */ | |
| 1472 | - reativa : function(indice) { | |
| 1473 | - if (i3GEO.barraDeBotoes.ATIVA === false) { | |
| 1474 | - return; | |
| 1475 | - } | |
| 1476 | - if (typeof (console) !== 'undefined') | |
| 1477 | - console.info("i3GEO.barraDeBotoes.reativa()"); | |
| 1457 | + }, | |
| 1458 | + /** | |
| 1459 | + * Function: reativa | |
| 1460 | + * | |
| 1461 | + * Reativa as barras de ferramentas já criadas | |
| 1462 | + * | |
| 1463 | + * Essa opção apenas aplica o método "show" aos objetos armazenados em i3GEO.barraDeBotoes.BARRAS | |
| 1464 | + * | |
| 1465 | + * Se a barra não existir previamente, nada irá contecer | |
| 1466 | + * | |
| 1467 | + * Parametro: | |
| 1468 | + * | |
| 1469 | + * {Integer} - índice do array BARRAS que guarda os objetos YAHOO com as barras Se não for definido, todas as barras | |
| 1470 | + * serão reativadas | |
| 1471 | + */ | |
| 1472 | + reativa : function(indice) { | |
| 1473 | + if (i3GEO.barraDeBotoes.ATIVA === false) { | |
| 1474 | + return; | |
| 1475 | + } | |
| 1476 | + if (typeof (console) !== 'undefined') | |
| 1477 | + console.info("i3GEO.barraDeBotoes.reativa()"); | |
| 1478 | 1478 | |
| 1479 | - var abre = function() { | |
| 1480 | - var i, n = i3GEO.barraDeBotoes.BARRAS.length; | |
| 1481 | - for (i = 0; i < n; i += 1) { | |
| 1482 | - if (i3GEO.barraDeBotoes.BARRAS[i]) { | |
| 1483 | - i3GEO.barraDeBotoes.BARRAS[i].show(); | |
| 1479 | + var abre = function() { | |
| 1480 | + var i, n = i3GEO.barraDeBotoes.BARRAS.length; | |
| 1481 | + for (i = 0; i < n; i += 1) { | |
| 1482 | + if (i3GEO.barraDeBotoes.BARRAS[i]) { | |
| 1483 | + i3GEO.barraDeBotoes.BARRAS[i].show(); | |
| 1484 | + } | |
| 1484 | 1485 | } |
| 1485 | - } | |
| 1486 | - }; | |
| 1487 | - try { | |
| 1488 | - if (arguments.length === 1) { | |
| 1489 | - i3GEO.barraDeBotoes.BARRAS[indice].show(); | |
| 1490 | - } else { | |
| 1486 | + }; | |
| 1487 | + try { | |
| 1488 | + if (arguments.length === 1) { | |
| 1489 | + i3GEO.barraDeBotoes.BARRAS[indice].show(); | |
| 1490 | + } else { | |
| 1491 | + abre.call(); | |
| 1492 | + } | |
| 1493 | + } catch (e) { | |
| 1491 | 1494 | abre.call(); |
| 1492 | 1495 | } |
| 1493 | - } catch (e) { | |
| 1494 | - abre.call(); | |
| 1495 | - } | |
| 1496 | - }, | |
| 1497 | - /** | |
| 1498 | - * Function: recria | |
| 1499 | - * | |
| 1500 | - * Recria uma barra de ferramentas já aberta aplicando os parâmetros de configuração definidos | |
| 1501 | - * (variáveis) | |
| 1502 | - * | |
| 1503 | - * Parametro: | |
| 1504 | - * | |
| 1505 | - * {String} - id da barra | |
| 1506 | - */ | |
| 1507 | - recria : function(id) { | |
| 1508 | - if (i3GEO.barraDeBotoes.ATIVA === false) { | |
| 1509 | - return; | |
| 1510 | - } | |
| 1511 | - if (typeof (console) !== 'undefined') | |
| 1512 | - console.info("i3GEO.barraDeBotoes.recria()"); | |
| 1513 | - | |
| 1514 | - if (i3GEO.barraDeBotoes.TIPO === "olhodepeixe" || i3GEO.barraDeBotoes.TIPO === "olhodepeixe1") { | |
| 1515 | - euEnv.euDockArray = []; | |
| 1516 | - euEnv.Kost.num = 0; | |
| 1517 | - if ($i("euDock_0_bar")) { | |
| 1518 | - // document.body.removeChild($i("euDock_0_bar").parentNode); | |
| 1519 | - $i("euDock_0_bar").parentNode.parentNode.removeChild($i("euDock_0_bar").parentNode); | |
| 1520 | - } | |
| 1521 | - i3GEO.barraDeBotoes.inicializaBarra(); | |
| 1522 | - if ($i("i3geoMarcaIcone")) { | |
| 1523 | - $i("i3geoMarcaIcone").style.display = "none"; | |
| 1496 | + }, | |
| 1497 | + /** | |
| 1498 | + * Function: recria | |
| 1499 | + * | |
| 1500 | + * Recria uma barra de ferramentas já aberta aplicando os parâmetros de configuração definidos | |
| 1501 | + * (variáveis) | |
| 1502 | + * | |
| 1503 | + * Parametro: | |
| 1504 | + * | |
| 1505 | + * {String} - id da barra | |
| 1506 | + */ | |
| 1507 | + recria : function(id) { | |
| 1508 | + if (i3GEO.barraDeBotoes.ATIVA === false) { | |
| 1509 | + return; | |
| 1524 | 1510 | } |
| 1525 | - return; | |
| 1526 | - } | |
| 1527 | - var i, n, temp, novoel, barraZoom, x, y, BARRAS = i3GEO.barraDeBotoes.BARRAS, iu = i3GEO.util; | |
| 1528 | - i3GEO.barraDeBotoes.BARRAS = []; | |
| 1529 | - n = BARRAS.length; | |
| 1530 | - for (i = 0; i < n; i += 1) { | |
| 1531 | - if (BARRAS[i] && BARRAS[i].id === id) { | |
| 1532 | - // remove o menu de contexto | |
| 1533 | - iu.removeChild("contexto_" + id); | |
| 1534 | - if (!$i("barraTemporaria" + i)) { | |
| 1535 | - novoel = document.createElement("div"); | |
| 1536 | - novoel.id = "barraTemporaria" + i; | |
| 1537 | - document.body.appendChild(novoel); | |
| 1538 | - } | |
| 1539 | - novoel = $i("barraTemporaria" + i); | |
| 1540 | - novoel.innerHTML = $i(BARRAS[i].id + "_").innerHTML; | |
| 1511 | + if (typeof (console) !== 'undefined') | |
| 1512 | + console.info("i3GEO.barraDeBotoes.recria()"); | |
| 1541 | 1513 | |
| 1542 | - // verifica se tem o slide de zoom | |
| 1543 | - barraZoom = false; | |
| 1544 | - temp = $i("vertMaisZoom"); | |
| 1545 | - if (temp) { | |
| 1546 | - temp = navm ? temp.parentNode : temp.parentNode.parentNode; | |
| 1547 | - if (temp.id === id) { | |
| 1548 | - barraZoom = true; | |
| 1549 | - } | |
| 1514 | + if (i3GEO.barraDeBotoes.TIPO === "olhodepeixe" || i3GEO.barraDeBotoes.TIPO === "olhodepeixe1") { | |
| 1515 | + euEnv.euDockArray = []; | |
| 1516 | + euEnv.Kost.num = 0; | |
| 1517 | + if ($i("euDock_0_bar")) { | |
| 1518 | + // document.body.removeChild($i("euDock_0_bar").parentNode); | |
| 1519 | + $i("euDock_0_bar").parentNode.parentNode.removeChild($i("euDock_0_bar").parentNode); | |
| 1550 | 1520 | } |
| 1551 | - x = parseInt($i(BARRAS[i].id + "_c").style.left, 10); | |
| 1552 | - y = parseInt($i(BARRAS[i].id + "_c").style.top, 10); | |
| 1553 | - if (i3GEO.barraDeBotoes.PERMITEFECHAR === true) { | |
| 1554 | - y = y - 10; | |
| 1521 | + i3GEO.barraDeBotoes.inicializaBarra(); | |
| 1522 | + if ($i("i3geoMarcaIcone")) { | |
| 1523 | + $i("i3geoMarcaIcone").style.display = "none"; | |
| 1555 | 1524 | } |
| 1556 | - BARRAS[i].destroy(); | |
| 1557 | - i3GEO.barraDeBotoes.inicializaBarra(novoel.id, BARRAS[i].id, barraZoom, x, y); | |
| 1525 | + return; | |
| 1558 | 1526 | } |
| 1559 | - } | |
| 1560 | - i3GEO.barraDeBotoes.ativaBotoes(); | |
| 1561 | - }, | |
| 1562 | - /** | |
| 1563 | - * Function: fecha | |
| 1564 | - * | |
| 1565 | - * Fecha uma barra de ferramentas | |
| 1566 | - * | |
| 1567 | - * Parametro: | |
| 1568 | - * | |
| 1569 | - * {String} - id que identifica a barra. Corresponde ao parametro idconteudonovo da função de | |
| 1570 | - * inicialização das barras | |
| 1571 | - */ | |
| 1572 | - fecha : function(id) { | |
| 1573 | - if (typeof (console) !== 'undefined') | |
| 1574 | - console.info("i3GEO.barraDeBotoes.fecha()"); | |
| 1527 | + var i, n, temp, novoel, barraZoom, x, y, BARRAS = i3GEO.barraDeBotoes.BARRAS, iu = i3GEO.util; | |
| 1528 | + i3GEO.barraDeBotoes.BARRAS = []; | |
| 1529 | + n = BARRAS.length; | |
| 1530 | + for (i = 0; i < n; i += 1) { | |
| 1531 | + if (BARRAS[i] && BARRAS[i].id === id) { | |
| 1532 | + // remove o menu de contexto | |
| 1533 | + iu.removeChild("contexto_" + id); | |
| 1534 | + if (!$i("barraTemporaria" + i)) { | |
| 1535 | + novoel = document.createElement("div"); | |
| 1536 | + novoel.id = "barraTemporaria" + i; | |
| 1537 | + document.body.appendChild(novoel); | |
| 1538 | + } | |
| 1539 | + novoel = $i("barraTemporaria" + i); | |
| 1540 | + novoel.innerHTML = $i(BARRAS[i].id + "_").innerHTML; | |
| 1575 | 1541 | |
| 1576 | - var i, n = this.BARRAS.length; | |
| 1577 | - for (i = 0; i < n; i += 1) { | |
| 1578 | - if (this.BARRAS[i] && this.BARRAS[i].id === id) { | |
| 1579 | - $i(id + "_c").style.visibility = "hidden"; | |
| 1580 | - } | |
| 1581 | - } | |
| 1582 | - }, | |
| 1583 | - mostraJanela : function(objeto, mensagem, evt) { | |
| 1584 | - if (mensagem === "") { | |
| 1585 | - try { | |
| 1586 | - clearTimeout(i3GEO.barraDeBotoes.timeMostraAjudaBotoes); | |
| 1587 | - } catch (e) { | |
| 1588 | - } | |
| 1589 | - try { | |
| 1590 | - clearTimeout(i3GEO.barraDeBotoes.timeAjudaBotoes); | |
| 1591 | - } catch (e) { | |
| 1592 | - } | |
| 1593 | - return; | |
| 1594 | - } | |
| 1595 | - var divmensagem = $i("divMensagemBarraDeBotoes"), balloonAjuda, pos = YAHOO.util.Dom.getXY(objeto); | |
| 1596 | - if (this.AJUDA === false || $i("janelaMenTexto")) { | |
| 1597 | - i3GEO.ajuda.mostraJanela(mensagem); | |
| 1598 | - i3GEO.barraDeBotoes.escondeJanelaAjuda(); | |
| 1599 | - return; | |
| 1600 | - } | |
| 1601 | - if (i3GEO.Interface.ATUAL === "googleearth") { | |
| 1602 | - objeto.title = mensagem; | |
| 1603 | - return; | |
| 1604 | - } | |
| 1605 | - if (!divmensagem && this.TIPOAJUDA !== "balao") { | |
| 1606 | - divmensagem = document.createElement("div"); | |
| 1607 | - divmensagem.id = "divMensagemBarraDeBotoes"; | |
| 1608 | - divmensagem.style.border = "0px solid rgb(120 120 120)"; | |
| 1609 | - divmensagem.style.position = "absolute"; | |
| 1610 | - divmensagem.style.zIndex = 20000; | |
| 1611 | - if ($i("i3geo")) { | |
| 1612 | - $i("i3geo").appendChild(divmensagem); | |
| 1613 | - } else { | |
| 1614 | - document.body.appendChild(divmensagem); | |
| 1615 | - } | |
| 1616 | - if (this.TIPOAJUDA === "horizontal") { | |
| 1617 | - divmensagem.innerHTML = | |
| 1618 | - "<table style='z-index:20000' ><tr><td id='imgMensagemBarraDeBotoes' style='background:none;padding-top:2px;padding-right:3px;vertical-align:top'><img src='" | |
| 1619 | - + i3GEO.configura.locaplic + "/imagens/left.png" | |
| 1620 | - + "' ></td><td style='text-align:left;border-left:1px solid rgb(210,210,210)'><span style='text-align:right;cursor:pointer;color:blue;' onclick='javascript:i3GEO.util.insereCookie(\"botoesAjuda\",\"nao\");i3GEO.barraDeBotoes.AJUDA = false;'>fecha</span><br><div style='vertical-align:middle;text-align:left;width:250px;border: 0px solid black;border-left:1px;' id='divMensagemBarraDeBotoesCorpo'></div></td></tr></table>"; | |
| 1621 | - } | |
| 1622 | - if (this.TIPOAJUDA === "vertical") { | |
| 1623 | - divmensagem.innerHTML = | |
| 1624 | - "<table style='z-index:20000' ><tr><td id='imgMensagemBarraDeBotoes' style='background:none;padding-top:2px;padding-right:3px;vertical-align:top'><img src='" | |
| 1625 | - + i3GEO.configura.locaplic + "/imagens/top.png" | |
| 1626 | - + "' ></td><td style='text-align:left;border-left:1px solid rgb(210,210,210)'><span style='text-align:right;cursor:pointer;color:blue;' onclick='javascript:i3GEO.util.insereCookie(\"botoesAjuda\",\"nao\");i3GEO.barraDeBotoes.AJUDA = false;'>fecha</span><br><div style='vertical-align:middle;text-align:left;width:250px;border: 0px solid black;border-left:1px;' id='divMensagemBarraDeBotoesCorpo'></div></td></tr></table>"; | |
| 1627 | - } | |
| 1628 | - } | |
| 1629 | - if (mensagem !== "") { | |
| 1630 | - if (this.TIPOAJUDA !== "balao") { | |
| 1631 | - YAHOO.util.Dom.setStyle("divMensagemBarraDeBotoes", "display", "none"); | |
| 1632 | - if (this.TIPOAJUDA === "horizontal") { | |
| 1633 | - divmensagem.style.left = parseInt(YAHOO.util.Dom.getStyle(objeto, "width"), 10) + pos[0] + 10 + "px"; | |
| 1634 | - divmensagem.style.top = pos[1] - 2 + (parseInt(YAHOO.util.Dom.getStyle(objeto, "height"), 10) / 2) + "px"; | |
| 1542 | + // verifica se tem o slide de zoom | |
| 1543 | + barraZoom = false; | |
| 1544 | + temp = $i("vertMaisZoom"); | |
| 1545 | + if (temp) { | |
| 1546 | + temp = navm ? temp.parentNode : temp.parentNode.parentNode; | |
| 1547 | + if (temp.id === id) { | |
| 1548 | + barraZoom = true; | |
| 1549 | + } | |
| 1550 | + } | |
| 1551 | + x = parseInt($i(BARRAS[i].id + "_c").style.left, 10); | |
| 1552 | + y = parseInt($i(BARRAS[i].id + "_c").style.top, 10); | |
| 1553 | + if (i3GEO.barraDeBotoes.PERMITEFECHAR === true) { | |
| 1554 | + y = y - 10; | |
| 1555 | + } | |
| 1556 | + BARRAS[i].destroy(); | |
| 1557 | + i3GEO.barraDeBotoes.inicializaBarra(novoel.id, BARRAS[i].id, barraZoom, x, y); | |
| 1635 | 1558 | } |
| 1636 | - if (this.TIPOAJUDA === "vertical") { | |
| 1637 | - divmensagem.style.left = (parseInt(YAHOO.util.Dom.getStyle(objeto, "width"), 10) / 2) + pos[0] - 5 + "px"; | |
| 1638 | - divmensagem.style.top = pos[1] + 5 + parseInt(YAHOO.util.Dom.getStyle(objeto, "height"), 10) + "px"; | |
| 1559 | + } | |
| 1560 | + i3GEO.barraDeBotoes.ativaBotoes(); | |
| 1561 | + }, | |
| 1562 | + /** | |
| 1563 | + * Function: fecha | |
| 1564 | + * | |
| 1565 | + * Fecha uma barra de ferramentas | |
| 1566 | + * | |
| 1567 | + * Parametro: | |
| 1568 | + * | |
| 1569 | + * {String} - id que identifica a barra. Corresponde ao parametro idconteudonovo da função de | |
| 1570 | + * inicialização das barras | |
| 1571 | + */ | |
| 1572 | + fecha : function(id) { | |
| 1573 | + if (typeof (console) !== 'undefined') | |
| 1574 | + console.info("i3GEO.barraDeBotoes.fecha()"); | |
| 1575 | + | |
| 1576 | + var i, n = this.BARRAS.length; | |
| 1577 | + for (i = 0; i < n; i += 1) { | |
| 1578 | + if (this.BARRAS[i] && this.BARRAS[i].id === id) { | |
| 1579 | + $i(id + "_c").style.visibility = "hidden"; | |
| 1639 | 1580 | } |
| 1581 | + } | |
| 1582 | + }, | |
| 1583 | + mostraJanela : function(objeto, mensagem, evt) { | |
| 1584 | + if (mensagem === "") { | |
| 1640 | 1585 | try { |
| 1641 | - clearTimeout(i3GEO.barraDeBotoes.timeAjudaBotoes); | |
| 1586 | + clearTimeout(i3GEO.barraDeBotoes.timeMostraAjudaBotoes); | |
| 1642 | 1587 | } catch (e) { |
| 1643 | 1588 | } |
| 1644 | - i3GEO.barraDeBotoes.timeMostraAjudaBotoes = | |
| 1645 | - setTimeout("i3GEO.barraDeBotoes.mostraJanelaAjuda('" + mensagem + "');", 5000); | |
| 1646 | - } else { | |
| 1647 | - hideAllTooltips(); | |
| 1648 | - balloonAjuda = new Balloon(); | |
| 1649 | - BalloonConfig(balloonAjuda, 'GBubble'); | |
| 1650 | - balloonAjuda.delayTime = 0; | |
| 1651 | - balloonAjuda.stem = false; | |
| 1652 | - balloonAjuda.stemHeight = 0; | |
| 1653 | - balloonAjuda.vOffset = -24; | |
| 1654 | - balloonAjuda.images = i3GEO.configura.locaplic + '/pacotes/balloon-tooltips/htdocs/images/GBubblec'; | |
| 1655 | - mensagem = | |
| 1656 | - "<table style='z-index:20000' ><tr><td style='text-align:left;'><span style='text-align:right;cursor:pointer;color:blue;' onclick='javascript:i3GEO.util.insereCookie(\"botoesAjuda\",\"nao\");i3GEO.barraDeBotoes.AJUDA = false;'>fecha</span><br><div style='vertical-align:middle;text-align:left;width:250px;border: 0px solid black;border-left:1px;' id='divMensagemBarraDeBotoesCorpo'>" | |
| 1657 | - + mensagem + "</div></td></tr></table>"; | |
| 1658 | 1589 | try { |
| 1659 | 1590 | clearTimeout(i3GEO.barraDeBotoes.timeAjudaBotoes); |
| 1660 | 1591 | } catch (e) { |
| 1661 | 1592 | } |
| 1662 | - i3GEO.barraDeBotoes.timeMostraAjudaBotoes = setTimeout(function() { | |
| 1663 | - balloonAjuda.cleanup(); | |
| 1664 | - balloonIsVisible = false; | |
| 1665 | - // alert(mensagem); | |
| 1666 | - if (i3GEO.barraDeBotoes.TIPO === "olhodepeixe" || i3GEO.barraDeBotoes.TIPO === "olhodepeixe1") { | |
| 1667 | - balloonAjuda.showTooltip(objeto, mensagem, null, null, null, pos[0], pos[1] - 40); | |
| 1668 | - } else { | |
| 1669 | - balloonAjuda.showTooltip(objeto, mensagem, null, null, null, pos[0] + 12, pos[1]); | |
| 1593 | + return; | |
| 1594 | + } | |
| 1595 | + var divmensagem = $i("divMensagemBarraDeBotoes"), balloonAjuda, pos = YAHOO.util.Dom.getXY(objeto); | |
| 1596 | + if (this.AJUDA === false || $i("janelaMenTexto")) { | |
| 1597 | + i3GEO.ajuda.mostraJanela(mensagem); | |
| 1598 | + i3GEO.barraDeBotoes.escondeJanelaAjuda(); | |
| 1599 | + return; | |
| 1600 | + } | |
| 1601 | + if (i3GEO.Interface.ATUAL === "googleearth") { | |
| 1602 | + objeto.title = mensagem; | |
| 1603 | + return; | |
| 1604 | + } | |
| 1605 | + if (!divmensagem && this.TIPOAJUDA !== "balao") { | |
| 1606 | + divmensagem = document.createElement("div"); | |
| 1607 | + divmensagem.id = "divMensagemBarraDeBotoes"; | |
| 1608 | + divmensagem.style.border = "0px solid rgb(120 120 120)"; | |
| 1609 | + divmensagem.style.position = "absolute"; | |
| 1610 | + divmensagem.style.zIndex = 20000; | |
| 1611 | + if ($i("i3geo")) { | |
| 1612 | + $i("i3geo").appendChild(divmensagem); | |
| 1613 | + } else { | |
| 1614 | + document.body.appendChild(divmensagem); | |
| 1615 | + } | |
| 1616 | + if (this.TIPOAJUDA === "horizontal") { | |
| 1617 | + divmensagem.innerHTML = | |
| 1618 | + "<table style='z-index:20000' ><tr><td id='imgMensagemBarraDeBotoes' style='background:none;padding-top:2px;padding-right:3px;vertical-align:top'><img src='" | |
| 1619 | + + i3GEO.configura.locaplic | |
| 1620 | + + "/imagens/left.png" | |
| 1621 | + + "' ></td><td style='text-align:left;border-left:1px solid rgb(210,210,210)'><span style='text-align:right;cursor:pointer;color:blue;' onclick='javascript:i3GEO.util.insereCookie(\"botoesAjuda\",\"nao\");i3GEO.barraDeBotoes.AJUDA = false;'>fecha</span><br><div style='vertical-align:middle;text-align:left;width:250px;border: 0px solid black;border-left:1px;' id='divMensagemBarraDeBotoesCorpo'></div></td></tr></table>"; | |
| 1622 | + } | |
| 1623 | + if (this.TIPOAJUDA === "vertical") { | |
| 1624 | + divmensagem.innerHTML = | |
| 1625 | + "<table style='z-index:20000' ><tr><td id='imgMensagemBarraDeBotoes' style='background:none;padding-top:2px;padding-right:3px;vertical-align:top'><img src='" | |
| 1626 | + + i3GEO.configura.locaplic | |
| 1627 | + + "/imagens/top.png" | |
| 1628 | + + "' ></td><td style='text-align:left;border-left:1px solid rgb(210,210,210)'><span style='text-align:right;cursor:pointer;color:blue;' onclick='javascript:i3GEO.util.insereCookie(\"botoesAjuda\",\"nao\");i3GEO.barraDeBotoes.AJUDA = false;'>fecha</span><br><div style='vertical-align:middle;text-align:left;width:250px;border: 0px solid black;border-left:1px;' id='divMensagemBarraDeBotoesCorpo'></div></td></tr></table>"; | |
| 1629 | + } | |
| 1630 | + } | |
| 1631 | + if (mensagem !== "") { | |
| 1632 | + if (this.TIPOAJUDA !== "balao") { | |
| 1633 | + YAHOO.util.Dom.setStyle("divMensagemBarraDeBotoes", "display", "none"); | |
| 1634 | + if (this.TIPOAJUDA === "horizontal") { | |
| 1635 | + divmensagem.style.left = parseInt(YAHOO.util.Dom.getStyle(objeto, "width"), 10) + pos[0] + 10 + "px"; | |
| 1636 | + divmensagem.style.top = pos[1] - 2 + (parseInt(YAHOO.util.Dom.getStyle(objeto, "height"), 10) / 2) + "px"; | |
| 1637 | + } | |
| 1638 | + if (this.TIPOAJUDA === "vertical") { | |
| 1639 | + divmensagem.style.left = (parseInt(YAHOO.util.Dom.getStyle(objeto, "width"), 10) / 2) + pos[0] - 5 + "px"; | |
| 1640 | + divmensagem.style.top = pos[1] + 5 + parseInt(YAHOO.util.Dom.getStyle(objeto, "height"), 10) + "px"; | |
| 1641 | + } | |
| 1642 | + try { | |
| 1643 | + clearTimeout(i3GEO.barraDeBotoes.timeAjudaBotoes); | |
| 1644 | + } catch (e) { | |
| 1670 | 1645 | } |
| 1646 | + i3GEO.barraDeBotoes.timeMostraAjudaBotoes = | |
| 1647 | + setTimeout("i3GEO.barraDeBotoes.mostraJanelaAjuda('" + mensagem + "');", 5000); | |
| 1648 | + } else { | |
| 1649 | + hideAllTooltips(); | |
| 1650 | + balloonAjuda = new Balloon(); | |
| 1651 | + BalloonConfig(balloonAjuda, 'GBubble'); | |
| 1652 | + balloonAjuda.delayTime = 0; | |
| 1653 | + balloonAjuda.stem = false; | |
| 1654 | + balloonAjuda.stemHeight = 0; | |
| 1655 | + balloonAjuda.vOffset = -24; | |
| 1656 | + balloonAjuda.images = i3GEO.configura.locaplic + '/pacotes/balloon-tooltips/htdocs/images/GBubblec'; | |
| 1657 | + mensagem = | |
| 1658 | + "<table style='z-index:20000' ><tr><td style='text-align:left;'><span style='text-align:right;cursor:pointer;color:blue;' onclick='javascript:i3GEO.util.insereCookie(\"botoesAjuda\",\"nao\");i3GEO.barraDeBotoes.AJUDA = false;'>fecha</span><br><div style='vertical-align:middle;text-align:left;width:250px;border: 0px solid black;border-left:1px;' id='divMensagemBarraDeBotoesCorpo'>" | |
| 1659 | + + mensagem + "</div></td></tr></table>"; | |
| 1671 | 1660 | try { |
| 1672 | - clearTimeout(timeMostraAjudaBotoes); | |
| 1661 | + clearTimeout(i3GEO.barraDeBotoes.timeAjudaBotoes); | |
| 1673 | 1662 | } catch (e) { |
| 1674 | 1663 | } |
| 1675 | - i3GEO.barraDeBotoes.timeAjudaBotoes = setTimeout(function() { | |
| 1664 | + i3GEO.barraDeBotoes.timeMostraAjudaBotoes = setTimeout(function() { | |
| 1676 | 1665 | balloonAjuda.cleanup(); |
| 1666 | + balloonIsVisible = false; | |
| 1667 | + // alert(mensagem); | |
| 1668 | + if (i3GEO.barraDeBotoes.TIPO === "olhodepeixe" || i3GEO.barraDeBotoes.TIPO === "olhodepeixe1") { | |
| 1669 | + balloonAjuda.showTooltip(objeto, mensagem, null, null, null, pos[0], pos[1] - 40); | |
| 1670 | + } else { | |
| 1671 | + balloonAjuda.showTooltip(objeto, mensagem, null, null, null, pos[0] + 12, pos[1]); | |
| 1672 | + } | |
| 1673 | + try { | |
| 1674 | + clearTimeout(timeMostraAjudaBotoes); | |
| 1675 | + } catch (e) { | |
| 1676 | + } | |
| 1677 | + i3GEO.barraDeBotoes.timeAjudaBotoes = setTimeout(function() { | |
| 1678 | + balloonAjuda.cleanup(); | |
| 1679 | + }, 4000); | |
| 1677 | 1680 | }, 4000); |
| 1678 | - }, 4000); | |
| 1681 | + } | |
| 1679 | 1682 | } |
| 1680 | - } | |
| 1681 | - }, | |
| 1682 | - mostraJanelaAjuda : function(mensagem) { | |
| 1683 | - $i("divMensagemBarraDeBotoesCorpo").innerHTML = mensagem; | |
| 1684 | - YAHOO.util.Dom.setStyle("divMensagemBarraDeBotoes", "display", "block"); | |
| 1685 | - try { | |
| 1686 | - clearTimeout(i3GEO.barraDeBotoes.timeMostraAjudaBotoes); | |
| 1687 | - } catch (e) { | |
| 1688 | - } | |
| 1689 | - i3GEO.barraDeBotoes.timeAjudaBotoes = setTimeout(function() { | |
| 1690 | - i3GEO.barraDeBotoes.escondeJanelaAjuda(); | |
| 1691 | - }, 3000); | |
| 1692 | - }, | |
| 1693 | - escondeJanelaAjuda : function() { | |
| 1694 | - try { | |
| 1695 | - if (i3GEO.barraDeBotoes.timeAjudaBotoes) { | |
| 1696 | - clearTimeout(i3GEO.barraDeBotoes.timeAjudaBotoes); | |
| 1683 | + }, | |
| 1684 | + mostraJanelaAjuda : function(mensagem) { | |
| 1685 | + $i("divMensagemBarraDeBotoesCorpo").innerHTML = mensagem; | |
| 1686 | + YAHOO.util.Dom.setStyle("divMensagemBarraDeBotoes", "display", "block"); | |
| 1687 | + try { | |
| 1688 | + clearTimeout(i3GEO.barraDeBotoes.timeMostraAjudaBotoes); | |
| 1689 | + } catch (e) { | |
| 1697 | 1690 | } |
| 1698 | - } catch (e) { | |
| 1699 | - } | |
| 1700 | - if ($i("divMensagemBarraDeBotoes")) { | |
| 1701 | - YAHOO.util.Dom.setStyle("divMensagemBarraDeBotoes", "display", "none"); | |
| 1702 | - } | |
| 1703 | - }, | |
| 1704 | - /** | |
| 1705 | - * Section: i3GEO.barraDeBotoes.editor | |
| 1706 | - * | |
| 1707 | - * Editor vetorial | |
| 1708 | - */ | |
| 1709 | - editor : { | |
| 1691 | + i3GEO.barraDeBotoes.timeAjudaBotoes = setTimeout(function() { | |
| 1692 | + i3GEO.barraDeBotoes.escondeJanelaAjuda(); | |
| 1693 | + }, 3000); | |
| 1694 | + }, | |
| 1695 | + escondeJanelaAjuda : function() { | |
| 1696 | + try { | |
| 1697 | + if (i3GEO.barraDeBotoes.timeAjudaBotoes) { | |
| 1698 | + clearTimeout(i3GEO.barraDeBotoes.timeAjudaBotoes); | |
| 1699 | + } | |
| 1700 | + } catch (e) { | |
| 1701 | + } | |
| 1702 | + if ($i("divMensagemBarraDeBotoes")) { | |
| 1703 | + YAHOO.util.Dom.setStyle("divMensagemBarraDeBotoes", "display", "none"); | |
| 1704 | + } | |
| 1705 | + }, | |
| 1710 | 1706 | /** |
| 1711 | - * Function: inicia | |
| 1712 | - * | |
| 1713 | - * Abre as opções do editor conforme a interface em uso | |
| 1707 | + * Section: i3GEO.barraDeBotoes.editor | |
| 1708 | + * | |
| 1709 | + * Editor vetorial | |
| 1714 | 1710 | */ |
| 1715 | - inicia : function() { | |
| 1716 | - i3GEO.eventos.cliquePerm.desativa(); | |
| 1717 | - i3GEO.barraDeBotoes.editor[i3GEO.Interface.ATUAL].inicia("janelaEditorVetorial"); | |
| 1718 | - }, | |
| 1719 | - // carrega as opcoes de edicao se a interface for do googlemaps | |
| 1720 | - googlemaps : { | |
| 1721 | - inicia : function(idjanela) { | |
| 1722 | - var temp = | |
| 1723 | - function() { | |
| 1724 | - var cabecalho, minimiza, fecha, janela = YAHOO.i3GEO.janela.manager.find("i3GEOjanelaEditor"); | |
| 1725 | - if (janela) { | |
| 1726 | - janela.destroy(); | |
| 1711 | + editor : { | |
| 1712 | + /** | |
| 1713 | + * Function: inicia | |
| 1714 | + * | |
| 1715 | + * Abre as opções do editor conforme a interface em uso | |
| 1716 | + */ | |
| 1717 | + inicia : function() { | |
| 1718 | + i3GEO.eventos.cliquePerm.desativa(); | |
| 1719 | + i3GEO.barraDeBotoes.editor[i3GEO.Interface.ATUAL].inicia("janelaEditorVetorial"); | |
| 1720 | + }, | |
| 1721 | + // carrega as opcoes de edicao se a interface for do googlemaps | |
| 1722 | + googlemaps : { | |
| 1723 | + inicia : function(idjanela) { | |
| 1724 | + var temp = | |
| 1725 | + function() { | |
| 1726 | + var cabecalho, minimiza, fecha, janela = YAHOO.i3GEO.janela.manager.find("i3GEOjanelaEditor"); | |
| 1727 | + if (janela) { | |
| 1728 | + janela.destroy(); | |
| 1729 | + } | |
| 1730 | + cabecalho = function() { | |
| 1731 | + }; | |
| 1732 | + minimiza = function() { | |
| 1733 | + i3GEO.janela.minimiza("i3GEOjanelaEditor"); | |
| 1734 | + }; | |
| 1735 | + janela = | |
| 1736 | + i3GEO.janela.cria( | |
| 1737 | + "300px", | |
| 1738 | + "100px", | |
| 1739 | + "", | |
| 1740 | + "", | |
| 1741 | + "", | |
| 1742 | + "Editor", | |
| 1743 | + "i3GEOjanelaEditor", | |
| 1744 | + false, | |
| 1745 | + "hd", | |
| 1746 | + cabecalho, | |
| 1747 | + minimiza); | |
| 1748 | + $i("i3GEOjanelaEditor_corpo").style.backgroundColor = "white"; | |
| 1749 | + i3GEO.editorGM.inicia("i3GEOjanelaEditor_corpo"); | |
| 1750 | + fecha = function() { | |
| 1751 | + var temp = window.confirm("Remove a edicao?"); | |
| 1752 | + if (i3GEO.eventos) { | |
| 1753 | + i3GEO.eventos.cliquePerm.ativa(); | |
| 1754 | + } | |
| 1755 | + if (temp === true) { | |
| 1756 | + i3GEO.desenho.googlemaps.destroyFeatures(i3GEO.desenho.googlemaps.shapes); | |
| 1757 | + } | |
| 1758 | + }; | |
| 1759 | + YAHOO.util.Event.addListener(janela[0].close, "click", fecha); | |
| 1760 | + }; | |
| 1761 | + // @TODO incluir o js compactado ao inves do original | |
| 1762 | + if (!i3GEO.editorGM) { | |
| 1763 | + i3GEO.util.scriptTag( | |
| 1764 | + i3GEO.configura.locaplic + "/classesjs/compactados/classe_editorgm_compacto.js", | |
| 1765 | + temp, | |
| 1766 | + "editorgm.js", | |
| 1767 | + true); | |
| 1768 | + } else { | |
| 1769 | + temp.call(); | |
| 1727 | 1770 | } |
| 1771 | + } | |
| 1772 | + }, | |
| 1773 | + openlayers : { | |
| 1774 | + inicia : function(idjanela) { | |
| 1775 | + if (!i3GEO.editorOL) { | |
| 1776 | + i3GEO.util.scriptTag( | |
| 1777 | + i3GEO.configura.locaplic + "/classesjs/compactados/classe_editorol_compacto.js", | |
| 1778 | + "i3GEO.barraDeBotoes.editor.openlayers.ativaPainel('" + idjanela + "')", | |
| 1779 | + "editorol.js", | |
| 1780 | + true); | |
| 1781 | + } else { | |
| 1782 | + if (!i3GEO.desenho.layergrafico) { | |
| 1783 | + i3GEO.desenho.openlayers.criaLayerGrafico(); | |
| 1784 | + i3GEO.editorOL.mapa.addLayers([ | |
| 1785 | + i3GEO.desenho.layergrafico | |
| 1786 | + ]); | |
| 1787 | + } | |
| 1788 | + if (!i3GEO.editorOL.backup) { | |
| 1789 | + i3GEO.editorOL.backup = new OpenLayers.Layer.Vector("Backup", { | |
| 1790 | + displayInLayerSwitcher : false, | |
| 1791 | + visibility : false | |
| 1792 | + }); | |
| 1793 | + } | |
| 1794 | + i3GEO.editorOL.criaBotoes(i3GEO.editorOL.botoes); | |
| 1795 | + } | |
| 1796 | + }, | |
| 1797 | + criaJanela : function() { | |
| 1798 | + if ($i("i3GEOjanelaEditor")) { | |
| 1799 | + return "i3GEOjanelaEditor"; | |
| 1800 | + } | |
| 1801 | + var janela, divid, titulo, cabecalho, minimiza; | |
| 1728 | 1802 | cabecalho = function() { |
| 1729 | 1803 | }; |
| 1730 | 1804 | minimiza = function() { |
| 1731 | 1805 | i3GEO.janela.minimiza("i3GEOjanelaEditor"); |
| 1732 | 1806 | }; |
| 1733 | - janela = | |
| 1734 | - i3GEO.janela.cria( | |
| 1735 | - "300px", | |
| 1736 | - "100px", | |
| 1737 | - "", | |
| 1738 | - "", | |
| 1739 | - "", | |
| 1740 | - "Editor", | |
| 1741 | - "i3GEOjanelaEditor", | |
| 1742 | - false, | |
| 1743 | - "hd", | |
| 1744 | - cabecalho, | |
| 1745 | - minimiza); | |
| 1807 | + // cria a janela flutuante | |
| 1808 | + titulo = $trad("u29"); | |
| 1809 | + janela = i3GEO.janela.cria("300px", "200px", "", "", "", titulo, "i3GEOjanelaEditor", false, "hd", cabecalho, minimiza); | |
| 1810 | + divid = janela[2].id; | |
| 1746 | 1811 | $i("i3GEOjanelaEditor_corpo").style.backgroundColor = "white"; |
| 1747 | - i3GEO.editorGM.inicia("i3GEOjanelaEditor_corpo"); | |
| 1748 | - fecha = function() { | |
| 1749 | - var temp = window.confirm("Remove a edicao?"); | |
| 1750 | - if (i3GEO.eventos) { | |
| 1751 | - i3GEO.eventos.cliquePerm.ativa(); | |
| 1752 | - } | |
| 1753 | - if (temp === true) { | |
| 1754 | - i3GEO.desenho.googlemaps.destroyFeatures(i3GEO.desenho.googlemaps.shapes); | |
| 1755 | - } | |
| 1812 | + $i("i3GEOjanelaEditor_corpo").style.textAlign = "left"; | |
| 1813 | + return divid; | |
| 1814 | + }, | |
| 1815 | + ativaPainel : function(idjanela) { | |
| 1816 | + OpenLayers.ImgPath = i3GEO.configura.locaplic + "/pacotes/openlayers/img/"; | |
| 1817 | + i3GEO.editorOL.fundo = "";// i3GEO.editorOL é criado pelo script carregado | |
| 1818 | + i3GEO.editorOL.mapa = i3geoOL; | |
| 1819 | + i3GEO.editorOL.maxext = ""; | |
| 1820 | + i3GEO.editorOL.controles = []; | |
| 1821 | + i3GEO.editorOL.botoes = { | |
| 1822 | + 'pan' : false, | |
| 1823 | + 'zoombox' : false, | |
| 1824 | + 'zoomtot' : false, | |
| 1825 | + 'legenda' : false, | |
| 1826 | + 'distancia' : false, | |
| 1827 | + 'area' : false, | |
| 1828 | + 'identifica' : true, | |
| 1829 | + 'linha' : true, | |
| 1830 | + 'ponto' : true, | |
| 1831 | + 'poligono' : true, | |
| 1832 | + 'texto' : true, | |
| 1833 | + 'corta' : true, | |
| 1834 | + 'edita' : true, | |
| 1835 | + 'listag' : true, | |
| 1836 | + 'selecao' : true, | |
| 1837 | + 'apaga' : true, | |
| 1838 | + 'procura' : false, | |
| 1839 | + 'propriedades' : true, | |
| 1840 | + 'salva' : true, | |
| 1841 | + 'ajuda' : true, | |
| 1842 | + 'fecha' : true, | |
| 1843 | + 'tools' : true, | |
| 1844 | + 'undo' : true, | |
| 1845 | + 'frente' : true | |
| 1756 | 1846 | }; |
| 1757 | - YAHOO.util.Event.addListener(janela[0].close, "click", fecha); | |
| 1758 | - }; | |
| 1759 | - // @TODO incluir o js compactado ao inves do original | |
| 1760 | - if (!i3GEO.editorGM) { | |
| 1761 | - i3GEO.util.scriptTag( | |
| 1762 | - i3GEO.configura.locaplic + "/classesjs/compactados/classe_editorgm_compacto.js", | |
| 1763 | - temp, | |
| 1764 | - "editorgm.js", | |
| 1765 | - true); | |
| 1766 | - } else { | |
| 1767 | - temp.call(); | |
| 1768 | - } | |
| 1769 | - } | |
| 1770 | - }, | |
| 1771 | - openlayers : { | |
| 1772 | - inicia : function(idjanela) { | |
| 1773 | - if (!i3GEO.editorOL) { | |
| 1774 | - i3GEO.util.scriptTag( | |
| 1775 | - i3GEO.configura.locaplic + "/classesjs/compactados/classe_editorol_compacto.js", | |
| 1776 | - "i3GEO.barraDeBotoes.editor.openlayers.ativaPainel('" + idjanela + "')", | |
| 1777 | - "editorol.js", | |
| 1778 | - true); | |
| 1779 | - } else { | |
| 1780 | 1847 | if (!i3GEO.desenho.layergrafico) { |
| 1781 | 1848 | i3GEO.desenho.openlayers.criaLayerGrafico(); |
| 1782 | - i3GEO.editorOL.mapa.addLayers([ | |
| 1783 | - i3GEO.desenho.layergrafico | |
| 1784 | - ]); | |
| 1785 | 1849 | } |
| 1786 | - if (!i3GEO.editorOL.backup) { | |
| 1787 | - i3GEO.editorOL.backup = new OpenLayers.Layer.Vector("Backup", { | |
| 1788 | - displayInLayerSwitcher : false, | |
| 1789 | - visibility : false | |
| 1790 | - }); | |
| 1850 | + if (idjanela) { | |
| 1851 | + i3GEO.editorOL.criaBotoes(i3GEO.editorOL.botoes); | |
| 1791 | 1852 | } |
| 1792 | - i3GEO.editorOL.criaBotoes(i3GEO.editorOL.botoes); | |
| 1793 | - } | |
| 1794 | - }, | |
| 1795 | - criaJanela : function() { | |
| 1796 | - if ($i("i3GEOjanelaEditor")) { | |
| 1797 | - return "i3GEOjanelaEditor"; | |
| 1798 | - } | |
| 1799 | - var janela, divid, titulo, cabecalho, minimiza; | |
| 1800 | - cabecalho = function() { | |
| 1801 | - }; | |
| 1802 | - minimiza = function() { | |
| 1803 | - i3GEO.janela.minimiza("i3GEOjanelaEditor"); | |
| 1804 | - }; | |
| 1805 | - // cria a janela flutuante | |
| 1806 | - titulo = $trad("u29"); | |
| 1807 | - janela = i3GEO.janela.cria("300px", "200px", "", "", "", titulo, "i3GEOjanelaEditor", false, "hd", cabecalho, minimiza); | |
| 1808 | - divid = janela[2].id; | |
| 1809 | - $i("i3GEOjanelaEditor_corpo").style.backgroundColor = "white"; | |
| 1810 | - $i("i3GEOjanelaEditor_corpo").style.textAlign = "left"; | |
| 1811 | - return divid; | |
| 1812 | - }, | |
| 1813 | - ativaPainel : function(idjanela) { | |
| 1814 | - OpenLayers.ImgPath = i3GEO.configura.locaplic + "/pacotes/openlayers/img/"; | |
| 1815 | - i3GEO.editorOL.fundo = "";// i3GEO.editorOL é criado pelo script carregado | |
| 1816 | - i3GEO.editorOL.mapa = i3geoOL; | |
| 1817 | - i3GEO.editorOL.maxext = ""; | |
| 1818 | - i3GEO.editorOL.controles = []; | |
| 1819 | - i3GEO.editorOL.botoes = { | |
| 1820 | - 'pan' : false, | |
| 1821 | - 'zoombox' : false, | |
| 1822 | - 'zoomtot' : false, | |
| 1823 | - 'legenda' : false, | |
| 1824 | - 'distancia' : false, | |
| 1825 | - 'area' : false, | |
| 1826 | - 'identifica' : true, | |
| 1827 | - 'linha' : true, | |
| 1828 | - 'ponto' : true, | |
| 1829 | - 'poligono' : true, | |
| 1830 | - 'texto' : true, | |
| 1831 | - 'corta' : true, | |
| 1832 | - 'edita' : true, | |
| 1833 | - 'listag' : true, | |
| 1834 | - 'selecao' : true, | |
| 1835 | - 'apaga' : true, | |
| 1836 | - 'procura' : false, | |
| 1837 | - 'propriedades' : true, | |
| 1838 | - 'salva' : true, | |
| 1839 | - 'ajuda' : true, | |
| 1840 | - 'fecha' : true, | |
| 1841 | - 'tools' : true, | |
| 1842 | - 'undo' : true, | |
| 1843 | - 'frente' : true | |
| 1844 | - }; | |
| 1845 | - if (!i3GEO.desenho.layergrafico) { | |
| 1846 | - i3GEO.desenho.openlayers.criaLayerGrafico(); | |
| 1847 | - } | |
| 1848 | - if (idjanela) { | |
| 1849 | - i3GEO.editorOL.criaBotoes(i3GEO.editorOL.botoes); | |
| 1850 | 1853 | } |
| 1851 | 1854 | } |
| 1852 | 1855 | } |
| 1853 | - } | |
| 1854 | -}; | |
| 1855 | 1856 | \ No newline at end of file |
| 1857 | + }; | |
| 1856 | 1858 | \ No newline at end of file | ... | ... |
classesjs/classe_guias.js
| ... | ... | @@ -1009,7 +1009,6 @@ i3GEO.guias = |
| 1009 | 1009 | * {string} - namespace da janela utilizado para definir os elementos DIV onde o conteúdo é renderizado |
| 1010 | 1010 | * |
| 1011 | 1011 | */ |
| 1012 | - //TODO incluir nas ferramentas | |
| 1013 | 1012 | ajustaGuiaFerramenta : function(idjanela,namespace){ |
| 1014 | 1013 | var c = $i(idjanela + "_corpo"), |
| 1015 | 1014 | h, | ... | ... |
exemplos/abas.htm
| ... | ... | @@ -11,7 +11,7 @@ |
| 11 | 11 | <center> |
| 12 | 12 | <table id='mst' summary="" style='display:none' width=100% cellspacing='0'> |
| 13 | 13 | <tr style="border:0px"> |
| 14 | - <td colspan=2 style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 14 | + <td colspan=2 style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 15 | 15 | </tr> |
| 16 | 16 | <tr> |
| 17 | 17 | <td> |
| ... | ... | @@ -85,7 +85,7 @@ |
| 85 | 85 | </table> |
| 86 | 86 | </td> |
| 87 | 87 | </tr> |
| 88 | -<tr style="border:0px"><td colspan=3 style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 88 | +<tr style="border:0px"><td colspan=3 style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 89 | 89 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id=bannerMensagem ></td></tr> |
| 90 | 90 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr> |
| 91 | 91 | </table> | ... | ... |
exemplos/aplic2.htm
| ... | ... | @@ -10,7 +10,7 @@ |
| 10 | 10 | <body id="i3geo" style="background-color:white"> |
| 11 | 11 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 12 | 12 | <tr style="border:0px"> |
| 13 | - <td id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 13 | + <td id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 14 | 14 | </tr> |
| 15 | 15 | <tr> |
| 16 | 16 | <td id="contemMenu" style="text-align:right;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> |
| ... | ... | @@ -60,7 +60,7 @@ |
| 60 | 60 | </td> |
| 61 | 61 | </tr> |
| 62 | 62 | <tr style="border:0px"> |
| 63 | - <td id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td> | |
| 63 | + <td id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td> | |
| 64 | 64 | </tr> |
| 65 | 65 | </table> |
| 66 | 66 | <center> | ... | ... |
exemplos/botoes1.htm
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR |
| 16 | 16 | --> |
| 17 | 17 | <tr style="border:0px"> |
| 18 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 18 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 19 | 19 | </tr> |
| 20 | 20 | <tr> |
| 21 | 21 | <td> |
| ... | ... | @@ -121,7 +121,7 @@ |
| 121 | 121 | </table> |
| 122 | 122 | </td> |
| 123 | 123 | </tr> |
| 124 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 124 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 125 | 125 | <!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> |
| 126 | 126 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 127 | 127 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr> | ... | ... |
exemplos/botoes2.htm
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR |
| 16 | 16 | --> |
| 17 | 17 | <tr style="border:0px"> |
| 18 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 18 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 19 | 19 | </tr> |
| 20 | 20 | <tr> |
| 21 | 21 | <td> |
| ... | ... | @@ -121,7 +121,7 @@ |
| 121 | 121 | </table> |
| 122 | 122 | </td> |
| 123 | 123 | </tr> |
| 124 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 124 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 125 | 125 | <!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> |
| 126 | 126 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 127 | 127 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr> | ... | ... |
exemplos/botoes3.htm
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR |
| 16 | 16 | --> |
| 17 | 17 | <tr style="border:0px"> |
| 18 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 18 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 19 | 19 | </tr> |
| 20 | 20 | <tr> |
| 21 | 21 | <td> |
| ... | ... | @@ -121,7 +121,7 @@ |
| 121 | 121 | </table> |
| 122 | 122 | </td> |
| 123 | 123 | </tr> |
| 124 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 124 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 125 | 125 | <!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> |
| 126 | 126 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 127 | 127 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr> | ... | ... |
exemplos/botoes4.htm
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR |
| 16 | 16 | --> |
| 17 | 17 | <tr style="border:0px"> |
| 18 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 18 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 19 | 19 | </tr> |
| 20 | 20 | <tr> |
| 21 | 21 | <td> |
| ... | ... | @@ -121,7 +121,7 @@ |
| 121 | 121 | </table> |
| 122 | 122 | </td> |
| 123 | 123 | </tr> |
| 124 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 124 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 125 | 125 | <!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> |
| 126 | 126 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 127 | 127 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr> | ... | ... |
exemplos/botoes5.htm
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | <body id="i3geo"> |
| 9 | 9 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 10 | 10 | <tr style="border:0px"> |
| 11 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 11 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 12 | 12 | </tr> |
| 13 | 13 | <tr> |
| 14 | 14 | <td> |
| ... | ... | @@ -72,7 +72,7 @@ |
| 72 | 72 | </table> |
| 73 | 73 | </td> |
| 74 | 74 | </tr> |
| 75 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 75 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 76 | 76 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 77 | 77 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br </td></tr> |
| 78 | 78 | ... | ... |
exemplos/botoes6.htm
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | <div id="i3GEONomeLogin" style="position:absolute;left:10px;top:12px;font-size:11px;z-index:50000"></div> |
| 13 | 13 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 14 | 14 | <tr style="border:0px"> |
| 15 | - <td id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 15 | + <td id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 16 | 16 | </tr> |
| 17 | 17 | <tr> |
| 18 | 18 | <td id="contemMenu" style="text-align:right;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> |
| ... | ... | @@ -62,7 +62,7 @@ |
| 62 | 62 | </td> |
| 63 | 63 | </tr> |
| 64 | 64 | <tr style="border:0px"> |
| 65 | - <td id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td> | |
| 65 | + <td id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td> | |
| 66 | 66 | </tr> |
| 67 | 67 | </table> |
| 68 | 68 | <table id="i3GEOlogoMarca" style='margin: 0px auto;box-shadow:0 1px 13px gray;border-radius:5px;'> | ... | ... |
exemplos/botoeshtm.htm
| ... | ... | @@ -14,7 +14,7 @@ arquivos n&atilde;o compactados, bastando substituir por i3geonaocompacto --> |
| 14 | 14 | <body id=i3geo > |
| 15 | 15 | <center> |
| 16 | 16 | <table id='mst' style=display:none width=100% cellspacing='0'> |
| 17 | -<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | |
| 17 | +<tr style="border:0px"><td colspan=2 style="background-image:url('../imagenscabeca.png');height:10px"></td></tr> | |
| 18 | 18 | <tr> |
| 19 | 19 | <td> |
| 20 | 20 | </td> |
| ... | ... | @@ -56,7 +56,7 @@ arquivos n&atilde;o compactados, bastando substituir por i3geonaocompacto --> |
| 56 | 56 | |
| 57 | 57 | </td> |
| 58 | 58 | </tr> |
| 59 | -<tr style="border:0px"><td colspan=3 style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 59 | +<tr style="border:0px"><td colspan=3 style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 60 | 60 | </table> |
| 61 | 61 | </center> |
| 62 | 62 | <div id=barraDeBotoes2 style='display:none;'> | ... | ... |
exemplos/botoestop.htm
| ... | ... | @@ -22,7 +22,7 @@ |
| 22 | 22 | <div id="i3GEONomeLogin" style="position:absolute;left:10px;top:12px;font-size:11px;z-index:50000"></div> |
| 23 | 23 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 24 | 24 | <tr style="border:0px"> |
| 25 | - <td id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 25 | + <td id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 26 | 26 | </tr> |
| 27 | 27 | <tr> |
| 28 | 28 | <td id="contemMenu" style="text-align:right;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> |
| ... | ... | @@ -72,7 +72,7 @@ |
| 72 | 72 | </td> |
| 73 | 73 | </tr> |
| 74 | 74 | <tr style="border:0px"> |
| 75 | - <td id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td> | |
| 75 | + <td id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td> | |
| 76 | 76 | </tr> |
| 77 | 77 | </table> |
| 78 | 78 | <table id="i3GEOlogoMarca" style='margin: 0px auto;box-shadow:0 1px 13px gray;border-radius:5px;'> | ... | ... |
exemplos/camadas1.htm
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 | Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR |
| 28 | 28 | --> |
| 29 | 29 | <tr style="border:0px"> |
| 30 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 30 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 31 | 31 | </tr> |
| 32 | 32 | <tr> |
| 33 | 33 | <td> |
| ... | ... | @@ -135,7 +135,7 @@ |
| 135 | 135 | </table> |
| 136 | 136 | </td> |
| 137 | 137 | </tr> |
| 138 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 138 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 139 | 139 | <!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> |
| 140 | 140 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 141 | 141 | <!-- esse elemento é preenchido automaticamente pelo i3Geo, conforme definido em ms_configura.php --> | ... | ... |
exemplos/camadas2.htm
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 | Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR |
| 28 | 28 | --> |
| 29 | 29 | <tr style="border:0px"> |
| 30 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 30 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 31 | 31 | </tr> |
| 32 | 32 | <tr> |
| 33 | 33 | <td> |
| ... | ... | @@ -135,7 +135,7 @@ |
| 135 | 135 | </table> |
| 136 | 136 | </td> |
| 137 | 137 | </tr> |
| 138 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 138 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 139 | 139 | <!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> |
| 140 | 140 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 141 | 141 | <!-- esse elemento é preenchido automaticamente pelo i3Geo, conforme definido em ms_configura.php --> | ... | ... |
exemplos/camadas3.htm
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 | Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR |
| 28 | 28 | --> |
| 29 | 29 | <tr style="border:0px"> |
| 30 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 30 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 31 | 31 | </tr> |
| 32 | 32 | <tr> |
| 33 | 33 | <td> |
| ... | ... | @@ -135,7 +135,7 @@ |
| 135 | 135 | </table> |
| 136 | 136 | </td> |
| 137 | 137 | </tr> |
| 138 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 138 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 139 | 139 | <!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> |
| 140 | 140 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 141 | 141 | <!-- esse elemento é preenchido automaticamente pelo i3Geo, conforme definido em ms_configura.php --> | ... | ... |
exemplos/camadas4.htm
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 | Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR |
| 28 | 28 | --> |
| 29 | 29 | <tr style="border:0px"> |
| 30 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 30 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 31 | 31 | </tr> |
| 32 | 32 | <tr> |
| 33 | 33 | <td> |
| ... | ... | @@ -128,7 +128,7 @@ |
| 128 | 128 | </table> |
| 129 | 129 | </td> |
| 130 | 130 | </tr> |
| 131 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 131 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 132 | 132 | <!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> |
| 133 | 133 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 134 | 134 | <!-- esse elemento é preenchido automaticamente pelo i3Geo, conforme definido em ms_configura.php --> | ... | ... |
exemplos/camadas5.htm
| ... | ... | @@ -10,7 +10,7 @@ |
| 10 | 10 | <body id="i3geo" style="background-color:white"> |
| 11 | 11 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 12 | 12 | <tr style="border:0px"> |
| 13 | - <td id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 13 | + <td id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 14 | 14 | </tr> |
| 15 | 15 | <tr> |
| 16 | 16 | <td id="contemMenu" style="text-align:right;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> |
| ... | ... | @@ -50,7 +50,7 @@ |
| 50 | 50 | </td> |
| 51 | 51 | </tr> |
| 52 | 52 | <tr style="border:0px"> |
| 53 | - <td id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td> | |
| 53 | + <td id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td> | |
| 54 | 54 | </tr> |
| 55 | 55 | </table> |
| 56 | 56 | <center> | ... | ... |
exemplos/fotos.htm
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 | Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR |
| 28 | 28 | --> |
| 29 | 29 | <tr style="border:0px"> |
| 30 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 30 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 31 | 31 | </tr> |
| 32 | 32 | <tr> |
| 33 | 33 | <td> |
| ... | ... | @@ -137,7 +137,7 @@ |
| 137 | 137 | </table> |
| 138 | 138 | </td> |
| 139 | 139 | </tr> |
| 140 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 140 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 141 | 141 | <!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> |
| 142 | 142 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 143 | 143 | <!-- esse elemento é preenchido automaticamente pelo i3Geo, conforme definido em ms_configura.php --> | ... | ... |
exemplos/fotos1.htm
| ... | ... | @@ -59,7 +59,7 @@ |
| 59 | 59 | background:none; |
| 60 | 60 | } |
| 61 | 61 | .accordion dt img{ |
| 62 | - background-image:url(../imagens/visual/default/sprite.png); | |
| 62 | + background-image:url(../imagenssprite.png); | |
| 63 | 63 | background-position:-4px -800px; |
| 64 | 64 | background-repeat:no-repeat; |
| 65 | 65 | border:0 solid white; |
| ... | ... | @@ -69,7 +69,7 @@ |
| 69 | 69 | width:10px; |
| 70 | 70 | } |
| 71 | 71 | .accordion dt.selected img { |
| 72 | - background-image:url(../imagens/visual/default/sprite.png); | |
| 72 | + background-image:url(../imagenssprite.png); | |
| 73 | 73 | background-position:-4px -825px; |
| 74 | 74 | background-repeat:no-repeat; |
| 75 | 75 | border:0 solid white; |
| ... | ... | @@ -108,7 +108,7 @@ |
| 108 | 108 | Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR |
| 109 | 109 | --> |
| 110 | 110 | <tr style="border:0px"> |
| 111 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 111 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 112 | 112 | </tr> |
| 113 | 113 | <tr style="border:0px" > |
| 114 | 114 | <td colspan=2 id="contemMenu" style="text-align:right;height:19px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> |
| ... | ... | @@ -116,7 +116,7 @@ |
| 116 | 116 | </td> |
| 117 | 117 | </tr> |
| 118 | 118 | <tr style="border:0px"> |
| 119 | - <td colspan=2 style="background-image:url('../imagens/visual/default/rodape2.png');height:10px"></td> | |
| 119 | + <td colspan=2 style="background-image:url('../imagensrodape2.png');height:10px"></td> | |
| 120 | 120 | </tr> |
| 121 | 121 | <tr> |
| 122 | 122 | <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:300px;text-align:left;"> |
| ... | ... | @@ -151,7 +151,7 @@ |
| 151 | 151 | </td> |
| 152 | 152 | </tr> |
| 153 | 153 | <tr style="border:0px"> |
| 154 | - <td colspan=3 style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 154 | + <td colspan=3 style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 155 | 155 | </tr> |
| 156 | 156 | <tr style="border:0px"> |
| 157 | 157 | <td colspan=3 > |
| ... | ... | @@ -166,7 +166,7 @@ |
| 166 | 166 | </table> |
| 167 | 167 | </td> |
| 168 | 168 | </tr> |
| 169 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape2.png');height:10px"></td></tr> | |
| 169 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape2.png');height:10px"></td></tr> | |
| 170 | 170 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 171 | 171 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr> |
| 172 | 172 | </table> | ... | ... |
exemplos/googlemapssanfona.phtml
| ... | ... | @@ -49,7 +49,7 @@ |
| 49 | 49 | background:none; |
| 50 | 50 | } |
| 51 | 51 | .accordion dt img{ |
| 52 | - background-image:url(../imagens/visual/default/sprite.png); | |
| 52 | + background-image:url(../imagenssprite.png); | |
| 53 | 53 | background-position:-4px -800px; |
| 54 | 54 | background-repeat:no-repeat; |
| 55 | 55 | border:0 solid white; |
| ... | ... | @@ -59,7 +59,7 @@ |
| 59 | 59 | width:10px; |
| 60 | 60 | } |
| 61 | 61 | .accordion dt.selected img { |
| 62 | - background-image:url(../imagens/visual/default/sprite.png); | |
| 62 | + background-image:url(../imagenssprite.png); | |
| 63 | 63 | background-position:-4px -825px; |
| 64 | 64 | background-repeat:no-repeat; |
| 65 | 65 | border:0 solid white; |
| ... | ... | @@ -91,7 +91,7 @@ |
| 91 | 91 | <body id="i3geo"> |
| 92 | 92 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 93 | 93 | <tr style="border:0px"> |
| 94 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 94 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 95 | 95 | </tr> |
| 96 | 96 | <tr style="border:0px" > |
| 97 | 97 | <td colspan=2 id="contemMenu" style="text-align:right;height:19px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> |
| ... | ... | @@ -166,7 +166,7 @@ |
| 166 | 166 | </table> |
| 167 | 167 | </td> |
| 168 | 168 | </tr> |
| 169 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape2.png');height:10px"></td></tr> | |
| 169 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape2.png');height:10px"></td></tr> | |
| 170 | 170 | </table> |
| 171 | 171 | <style> |
| 172 | 172 | .olControlEditingToolbar1 div { | ... | ... |
exemplos/guias1.htm
| ... | ... | @@ -10,7 +10,7 @@ |
| 10 | 10 | <body id="i3geo" style="background-color:white"> |
| 11 | 11 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 12 | 12 | <tr style="border:0px"> |
| 13 | - <td id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 13 | + <td id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 14 | 14 | </tr> |
| 15 | 15 | <tr> |
| 16 | 16 | <td id="contemMenu" style="text-align:right;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> |
| ... | ... | @@ -60,7 +60,7 @@ |
| 60 | 60 | </td> |
| 61 | 61 | </tr> |
| 62 | 62 | <tr style="border:0px"> |
| 63 | - <td id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td> | |
| 63 | + <td id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td> | |
| 64 | 64 | </tr> |
| 65 | 65 | </table> |
| 66 | 66 | <center> | ... | ... |
exemplos/guias2.htm
| ... | ... | @@ -49,7 +49,7 @@ |
| 49 | 49 | background:none; |
| 50 | 50 | } |
| 51 | 51 | .accordion dt img{ |
| 52 | - background-image:url(../imagens/visual/default/sprite.png); | |
| 52 | + background-image:url(../imagenssprite.png); | |
| 53 | 53 | background-position:-4px -800px; |
| 54 | 54 | background-repeat:no-repeat; |
| 55 | 55 | border:0 solid white; |
| ... | ... | @@ -59,7 +59,7 @@ |
| 59 | 59 | width:10px; |
| 60 | 60 | } |
| 61 | 61 | .accordion dt.selected img { |
| 62 | - background-image:url(../imagens/visual/default/sprite.png); | |
| 62 | + background-image:url(../imagenssprite.png); | |
| 63 | 63 | background-position:-4px -825px; |
| 64 | 64 | background-repeat:no-repeat; |
| 65 | 65 | border:0 solid white; |
| ... | ... | @@ -91,7 +91,7 @@ |
| 91 | 91 | <body id="i3geo"> |
| 92 | 92 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 93 | 93 | <tr style="border:0px"> |
| 94 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 94 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 95 | 95 | </tr> |
| 96 | 96 | <tr style="border:0px" > |
| 97 | 97 | <td colspan=2 id="contemMenu" style="text-align:right;height:19px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> |
| ... | ... | @@ -166,7 +166,7 @@ |
| 166 | 166 | </table> |
| 167 | 167 | </td> |
| 168 | 168 | </tr> |
| 169 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape2.png');height:10px"></td></tr> | |
| 169 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape2.png');height:10px"></td></tr> | |
| 170 | 170 | </table> |
| 171 | 171 | <style> |
| 172 | 172 | .olControlEditingToolbar1 div { | ... | ... |
exemplos/guias3.htm
| ... | ... | @@ -9,7 +9,7 @@ |
| 9 | 9 | <body id="i3geo" style="background-color:white"> |
| 10 | 10 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 11 | 11 | <tr style="border:0px"> |
| 12 | - <td id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 12 | + <td id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 13 | 13 | </tr> |
| 14 | 14 | <tr> |
| 15 | 15 | <td id="contemMenu" style="text-align:right;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> |
| ... | ... | @@ -49,7 +49,7 @@ |
| 49 | 49 | </td> |
| 50 | 50 | </tr> |
| 51 | 51 | <tr style="border:0px"> |
| 52 | - <td id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td> | |
| 52 | + <td id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td> | |
| 53 | 53 | </tr> |
| 54 | 54 | </table> |
| 55 | 55 | <center> | ... | ... |
exemplos/guias4.htm
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 | Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR |
| 28 | 28 | --> |
| 29 | 29 | <tr style="border:0px"> |
| 30 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 30 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 31 | 31 | </tr> |
| 32 | 32 | <tr> |
| 33 | 33 | <td> |
| ... | ... | @@ -135,7 +135,7 @@ |
| 135 | 135 | </table> |
| 136 | 136 | </td> |
| 137 | 137 | </tr> |
| 138 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 138 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 139 | 139 | <!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> |
| 140 | 140 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 141 | 141 | <!-- esse elemento é preenchido automaticamente pelo i3Geo, conforme definido em ms_configura.php --> | ... | ... |
exemplos/legenda1.htm
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR |
| 16 | 16 | --> |
| 17 | 17 | <tr style="border:0px"> |
| 18 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 18 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 19 | 19 | </tr> |
| 20 | 20 | <tr> |
| 21 | 21 | <td> |
| ... | ... | @@ -121,7 +121,7 @@ |
| 121 | 121 | </table> |
| 122 | 122 | </td> |
| 123 | 123 | </tr> |
| 124 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 124 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 125 | 125 | <!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> |
| 126 | 126 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 127 | 127 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr> | ... | ... |
exemplos/legenda2.htm
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | <div id="i3GEONomeLogin" style="position:absolute;left:10px;top:12px;font-size:11px;z-index:50000"></div> |
| 14 | 14 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 15 | 15 | <tr style="border:0px"> |
| 16 | - <td id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 16 | + <td id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 17 | 17 | </tr> |
| 18 | 18 | <tr> |
| 19 | 19 | <td id="contemMenu" style="text-align:right;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> |
| ... | ... | @@ -63,7 +63,7 @@ |
| 63 | 63 | </td> |
| 64 | 64 | </tr> |
| 65 | 65 | <tr style="border:0px"> |
| 66 | - <td id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td> | |
| 66 | + <td id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td> | |
| 67 | 67 | </tr> |
| 68 | 68 | </table> |
| 69 | 69 | <table id="i3GEOlogoMarca" style='margin: 0px auto;box-shadow:0 1px 13px gray;border-radius:5px;'> | ... | ... |
exemplos/login.htm
| ... | ... | @@ -28,7 +28,7 @@ |
| 28 | 28 | cellspacing='0'> |
| 29 | 29 | <tr style="border: 0px"> |
| 30 | 30 | <td id="barraSuperior" |
| 31 | - style="background-image: url('../imagens/visual/default/cabeca.png'); height: 10px"></td> | |
| 31 | + style="background-image: url('../imagenscabeca.png'); height: 10px"></td> | |
| 32 | 32 | </tr> |
| 33 | 33 | <tr> |
| 34 | 34 | <td id="contemMenu" |
| ... | ... | @@ -83,7 +83,7 @@ |
| 83 | 83 | </tr> |
| 84 | 84 | <tr style="border: 0px"> |
| 85 | 85 | <td id="barraInferior" |
| 86 | - style="background-image: url('../imagens/visual/default/rodape.png'); height: 10px"></td> | |
| 86 | + style="background-image: url('../imagensrodape.png'); height: 10px"></td> | |
| 87 | 87 | </tr> |
| 88 | 88 | </table> |
| 89 | 89 | <table id="i3GEOlogoMarca" | ... | ... |
exemplos/login1.htm
| ... | ... | @@ -28,7 +28,7 @@ |
| 28 | 28 | cellspacing='0'> |
| 29 | 29 | <tr style="border: 0px"> |
| 30 | 30 | <td id="barraSuperior" |
| 31 | - style="background-image: url('../imagens/visual/default/cabeca.png'); height: 10px"></td> | |
| 31 | + style="background-image: url('../imagenscabeca.png'); height: 10px"></td> | |
| 32 | 32 | </tr> |
| 33 | 33 | <tr> |
| 34 | 34 | <td id="contemMenu" |
| ... | ... | @@ -83,7 +83,7 @@ |
| 83 | 83 | </tr> |
| 84 | 84 | <tr style="border: 0px"> |
| 85 | 85 | <td id="barraInferior" |
| 86 | - style="background-image: url('../imagens/visual/default/rodape.png'); height: 10px"></td> | |
| 86 | + style="background-image: url('../imagensrodape.png'); height: 10px"></td> | |
| 87 | 87 | </tr> |
| 88 | 88 | </table> |
| 89 | 89 | <table id="i3GEOlogoMarca" | ... | ... |
exemplos/mashup1.htm
| ... | ... | @@ -16,7 +16,7 @@ |
| 16 | 16 | <p style=text-align:center;font-size:12pt; >Este é um exemplo de inclusão do I3Geo dentro de uma página qualquer.<br><br> |
| 17 | 17 | |
| 18 | 18 | <table id='mst' style=display:none width=100% cellspacing='0'> |
| 19 | -<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | |
| 19 | +<tr style="border:0px"><td colspan=2 style="background-image:url('../imagenscabeca.png');height:10px"></td></tr> | |
| 20 | 20 | <tr> |
| 21 | 21 | <td> |
| 22 | 22 | <img title="insere xy" alt="" src="../imagens/branco.gif" id='inserexy'/> |
| ... | ... | @@ -77,7 +77,7 @@ |
| 77 | 77 | </tr></table> |
| 78 | 78 | </td> |
| 79 | 79 | </tr> |
| 80 | -<tr style="border:0px"><td colspan=3 style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 80 | +<tr style="border:0px"><td colspan=3 style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 81 | 81 | </table> |
| 82 | 82 | <a style=text-align:center;color:white href="mailto:edmar.moretti@terra.com.br">Críticas e sugestões</a> |
| 83 | 83 | </center> | ... | ... |
exemplos/mashup2.htm
| ... | ... | @@ -19,7 +19,7 @@ |
| 19 | 19 | |
| 20 | 20 | |
| 21 | 21 | <table id='mst' style=display:none width=100% cellspacing='0'> |
| 22 | -<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | |
| 22 | +<tr style="border:0px"><td colspan=2 style="background-image:url('../imagenscabeca.png');height:10px"></td></tr> | |
| 23 | 23 | <tr> |
| 24 | 24 | <td colspan=2 > |
| 25 | 25 | <img title="insere xy" alt="" src="../imagens/branco.gif" id='inserexy'/> |
| ... | ... | @@ -64,7 +64,7 @@ |
| 64 | 64 | </table> |
| 65 | 65 | </td> |
| 66 | 66 | </tr> |
| 67 | -<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 67 | +<tr style="border:0px"><td colspan=2 style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 68 | 68 | </table> |
| 69 | 69 | |
| 70 | 70 | </center> | ... | ... |
exemplos/mashup3.htm
| ... | ... | @@ -23,7 +23,7 @@ |
| 23 | 23 | |
| 24 | 24 | |
| 25 | 25 | <table id='mst' style=display:none width=100% cellspacing='0'> |
| 26 | -<tr style="border:0px"><td style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | |
| 26 | +<tr style="border:0px"><td style="background-image:url('../imagenscabeca.png');height:10px"></td></tr> | |
| 27 | 27 | <tr> |
| 28 | 28 | <td> |
| 29 | 29 | <img title="insere xy" alt="" src="../imagens/branco.gif" id='inserexy'/> |
| ... | ... | @@ -61,7 +61,7 @@ |
| 61 | 61 | </tr></table> |
| 62 | 62 | </td> |
| 63 | 63 | </tr> |
| 64 | -<tr style="border:0px"><td style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 64 | +<tr style="border:0px"><td style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 65 | 65 | </table> |
| 66 | 66 | <a style=text-align:center;color:white href="mailto:edmar.moretti@mma.gov.br">Críticas e sugestões</a> |
| 67 | 67 | </center> | ... | ... |
exemplos/mashup4.htm
| ... | ... | @@ -19,7 +19,7 @@ |
| 19 | 19 | <div id=i3geo style="left:300px;top:100px;position:absolute" > |
| 20 | 20 | |
| 21 | 21 | <table id='mst' style=display:none width=100% cellspacing='0'> |
| 22 | -<tr style="border:0px"><td style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | |
| 22 | +<tr style="border:0px"><td style="background-image:url('../imagenscabeca.png');height:10px"></td></tr> | |
| 23 | 23 | <tr> |
| 24 | 24 | <td> |
| 25 | 25 | <img title="insere xy" alt="" src="../imagens/branco.gif" id='inserexy'/> |
| ... | ... | @@ -57,7 +57,7 @@ |
| 57 | 57 | </tr></table> |
| 58 | 58 | </td> |
| 59 | 59 | </tr> |
| 60 | -<tr style="border:0px"><td style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 60 | +<tr style="border:0px"><td style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 61 | 61 | </table> |
| 62 | 62 | <a style=text-align:center;color:white href="mailto:edmar.moretti@mma.gov.br">Críticas e sugestões</a> |
| 63 | 63 | ... | ... |
exemplos/mashup5.htm
| ... | ... | @@ -20,7 +20,7 @@ |
| 20 | 20 | |
| 21 | 21 | <table id='mst' style=display:none width=100% cellspacing='0'> |
| 22 | 22 | |
| 23 | -<tr style="border:0px"><td style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | |
| 23 | +<tr style="border:0px"><td style="background-image:url('../imagenscabeca.png');height:10px"></td></tr> | |
| 24 | 24 | <tr> |
| 25 | 25 | <td style="vertical-align:top;border-width:0px;"> |
| 26 | 26 | <table width="100%" style="vertical-align:top;border-width:0px"> |
| ... | ... | @@ -40,7 +40,7 @@ |
| 40 | 40 | </tr></table> |
| 41 | 41 | </td> |
| 42 | 42 | </tr> |
| 43 | -<tr style="border:0px"><td style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 43 | +<tr style="border:0px"><td style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 44 | 44 | </table> |
| 45 | 45 | <a style=text-align:center;color:white href="mailto:edmar.moretti@mma.gov.br">Críticas e sugestões</a> |
| 46 | 46 | </center> | ... | ... |
exemplos/mashup6.htm
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | <div id=i3geo style="left:0px;top:0px;position:absolute" > |
| 13 | 13 | <table id='mst' style=display:none width=100% cellspacing='0'> |
| 14 | 14 | <tr style="border:0px"> |
| 15 | -<td style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 15 | +<td style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 16 | 16 | </tr> |
| 17 | 17 | <tr> |
| 18 | 18 | <td style="vertical-align:top;border-width:0px;"> |
| ... | ... | @@ -33,7 +33,7 @@ |
| 33 | 33 | </tr></table> |
| 34 | 34 | </td> |
| 35 | 35 | </tr> |
| 36 | -<tr style="border:0px"><td style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 36 | +<tr style="border:0px"><td style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 37 | 37 | </table> |
| 38 | 38 | <a style=text-align:left;color:white href="mailto:edmar.moretti@mma.gov.br">Críticas e sugestões</a> |
| 39 | 39 | ... | ... |
exemplos/mashup7.htm
| ... | ... | @@ -22,10 +22,10 @@ |
| 22 | 22 | |
| 23 | 23 | |
| 24 | 24 | <table id='mst' style=display:none width=100% cellspacing='0'> |
| 25 | -<tr style="border:0px"><td style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | |
| 25 | +<tr style="border:0px"><td style="background-image:url('../imagenscabeca.png');height:10px"></td></tr> | |
| 26 | 26 | <tr> |
| 27 | 27 | <td> |
| 28 | - <img title="insere xy" alt="" src="../imagens/visuaL/default/branco.gif" id='inserexy'/> | |
| 28 | + <img title="insere xy" alt="" src="../imagensbranco.gif" id='inserexy'/> | |
| 29 | 29 | <img title="insere grafico" alt="" src="../imagens/branco.gif" id='inseregrafico'/> |
| 30 | 30 | <img title="texto" alt="" src="../imagens/branco.gif" id='textofid'/> |
| 31 | 31 | <img title="selecao" alt="" src="../imagens/branco.gif" id='selecao'/> |
| ... | ... | @@ -60,7 +60,7 @@ |
| 60 | 60 | </tr></table> |
| 61 | 61 | </td> |
| 62 | 62 | </tr> |
| 63 | -<tr style="border:0px"><td style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 63 | +<tr style="border:0px"><td style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 64 | 64 | </table> |
| 65 | 65 | <a style=text-align:center;color:white href="mailto:edmar.moretti@mma.gov.br">Críticas e sugestões</a> |
| 66 | 66 | </center> | ... | ... |
exemplos/mashup8.htm
| ... | ... | @@ -38,7 +38,7 @@ |
| 38 | 38 | </div> |
| 39 | 39 | <div id=i3geo style="left:100px;top:100px;position:absolute" > |
| 40 | 40 | <table id='mst' style=display:none width=100% cellspacing='0'> |
| 41 | -<tr style="border:0px"><td colspan=2 style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | |
| 41 | +<tr style="border:0px"><td colspan=2 style="background-image:url('../imagenscabeca.png');height:10px"></td></tr> | |
| 42 | 42 | <tr> |
| 43 | 43 | <td colspan=2 > |
| 44 | 44 | <img title="insere xy" alt="" src="../imagens/branco.gif" id='inserexy'/> |
| ... | ... | @@ -95,7 +95,7 @@ |
| 95 | 95 | </tr></table> |
| 96 | 96 | </td> |
| 97 | 97 | </tr> |
| 98 | -<tr style="border:0px"><td colspan=3 style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 98 | +<tr style="border:0px"><td colspan=3 style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 99 | 99 | </table> |
| 100 | 100 | <a style=text-align:center;color:white href="mailto:geoprocessamento@mma.gov.br">Críticas e sugestões</a> |
| 101 | 101 | </center> | ... | ... |
exemplos/mashup9.htm
| ... | ... | @@ -23,7 +23,7 @@ |
| 23 | 23 | |
| 24 | 24 | |
| 25 | 25 | <table id='mst' style=display:none width=100% cellspacing='0'> |
| 26 | -<tr style="border:0px"><td style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td></tr> | |
| 26 | +<tr style="border:0px"><td style="background-image:url('../imagenscabeca.png');height:10px"></td></tr> | |
| 27 | 27 | <tr> |
| 28 | 28 | <td> |
| 29 | 29 | <img title="insere xy" alt="" src="../imagens/branco.gif" id='inserexy'/> |
| ... | ... | @@ -61,7 +61,7 @@ |
| 61 | 61 | </tr></table> |
| 62 | 62 | </td> |
| 63 | 63 | </tr> |
| 64 | -<tr style="border:0px"><td style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 64 | +<tr style="border:0px"><td style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 65 | 65 | </table> |
| 66 | 66 | <a style=text-align:center;color:white href="mailto:edmar.moretti@mma.gov.br">Críticas e sugestões</a> |
| 67 | 67 | </center> | ... | ... |
exemplos/menus1.htm
| ... | ... | @@ -10,7 +10,7 @@ |
| 10 | 10 | <body id="i3geo" style="background-color:white"> |
| 11 | 11 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 12 | 12 | <tr style="border:0px"> |
| 13 | - <td id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 13 | + <td id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 14 | 14 | </tr> |
| 15 | 15 | <tr> |
| 16 | 16 | <td id="contemMenu" style="text-align:right;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> |
| ... | ... | @@ -60,7 +60,7 @@ |
| 60 | 60 | </td> |
| 61 | 61 | </tr> |
| 62 | 62 | <tr style="border:0px"> |
| 63 | - <td id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td> | |
| 63 | + <td id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td> | |
| 64 | 64 | </tr> |
| 65 | 65 | </table> |
| 66 | 66 | <center> | ... | ... |
exemplos/menus2.htm
| ... | ... | @@ -10,7 +10,7 @@ |
| 10 | 10 | <body id="i3geo" style="background-color:white"> |
| 11 | 11 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 12 | 12 | <tr style="border:0px"> |
| 13 | - <td id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 13 | + <td id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 14 | 14 | </tr> |
| 15 | 15 | <tr> |
| 16 | 16 | <td id="contemMenu" style="text-align:right;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> |
| ... | ... | @@ -60,7 +60,7 @@ |
| 60 | 60 | </td> |
| 61 | 61 | </tr> |
| 62 | 62 | <tr style="border:0px"> |
| 63 | - <td id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td> | |
| 63 | + <td id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td> | |
| 64 | 64 | </tr> |
| 65 | 65 | </table> |
| 66 | 66 | <center> | ... | ... |
exemplos/openlayers1.htm
| ... | ... | @@ -11,7 +11,7 @@ |
| 11 | 11 | |
| 12 | 12 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 13 | 13 | <tr style="border:0px"> |
| 14 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 14 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 15 | 15 | </tr> |
| 16 | 16 | <tr> |
| 17 | 17 | <td> |
| ... | ... | @@ -74,7 +74,7 @@ |
| 74 | 74 | </table> |
| 75 | 75 | </td> |
| 76 | 76 | </tr> |
| 77 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 77 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 78 | 78 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr> |
| 79 | 79 | |
| 80 | 80 | </table> | ... | ... |
exemplos/openlayers2.htm
| ... | ... | @@ -11,7 +11,7 @@ |
| 11 | 11 | |
| 12 | 12 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 13 | 13 | <tr style="border:0px"> |
| 14 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 14 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 15 | 15 | </tr> |
| 16 | 16 | <tr> |
| 17 | 17 | <td> |
| ... | ... | @@ -74,7 +74,7 @@ |
| 74 | 74 | </table> |
| 75 | 75 | </td> |
| 76 | 76 | </tr> |
| 77 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 77 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 78 | 78 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr> |
| 79 | 79 | |
| 80 | 80 | </table> | ... | ... |
exemplos/openlayers3.htm
| ... | ... | @@ -11,7 +11,7 @@ |
| 11 | 11 | |
| 12 | 12 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 13 | 13 | <tr style="border:0px"> |
| 14 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 14 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 15 | 15 | </tr> |
| 16 | 16 | <tr> |
| 17 | 17 | <td> |
| ... | ... | @@ -74,7 +74,7 @@ |
| 74 | 74 | </table> |
| 75 | 75 | </td> |
| 76 | 76 | </tr> |
| 77 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 77 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 78 | 78 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr> |
| 79 | 79 | |
| 80 | 80 | </table> | ... | ... |
exemplos/openlayers4.htm
| ... | ... | @@ -11,7 +11,7 @@ |
| 11 | 11 | |
| 12 | 12 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 13 | 13 | <tr style="border:0px"> |
| 14 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 14 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 15 | 15 | </tr> |
| 16 | 16 | <tr> |
| 17 | 17 | <td> |
| ... | ... | @@ -74,7 +74,7 @@ |
| 74 | 74 | </table> |
| 75 | 75 | </td> |
| 76 | 76 | </tr> |
| 77 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 77 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 78 | 78 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr> |
| 79 | 79 | |
| 80 | 80 | </table> | ... | ... |
exemplos/openlayers5.htm
| ... | ... | @@ -11,7 +11,7 @@ |
| 11 | 11 | |
| 12 | 12 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 13 | 13 | <tr style="border:0px"> |
| 14 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 14 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 15 | 15 | </tr> |
| 16 | 16 | <tr> |
| 17 | 17 | <td> |
| ... | ... | @@ -74,7 +74,7 @@ |
| 74 | 74 | </table> |
| 75 | 75 | </td> |
| 76 | 76 | </tr> |
| 77 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 77 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 78 | 78 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr> |
| 79 | 79 | |
| 80 | 80 | </table> | ... | ... |
exemplos/visual1.htm
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 | Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR |
| 27 | 27 | --> |
| 28 | 28 | <tr style="border:0px"> |
| 29 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 29 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 30 | 30 | </tr> |
| 31 | 31 | <tr> |
| 32 | 32 | <td> |
| ... | ... | @@ -152,7 +152,7 @@ vc pode optar por colocar mensagens de ajuda em algum lugar |
| 152 | 152 | </table> |
| 153 | 153 | </td> |
| 154 | 154 | </tr> |
| 155 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 155 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 156 | 156 | <!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> |
| 157 | 157 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 158 | 158 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr> | ... | ... |
exemplos/visual2.htm
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 | Inclui a barra superior. Se vc não quiser o menu, é só comentar o TR |
| 27 | 27 | --> |
| 28 | 28 | <tr style="border:0px"> |
| 29 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 29 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 30 | 30 | </tr> |
| 31 | 31 | <tr> |
| 32 | 32 | <td> |
| ... | ... | @@ -152,7 +152,7 @@ vc pode optar por colocar mensagens de ajuda em algum lugar |
| 152 | 152 | </table> |
| 153 | 153 | </td> |
| 154 | 154 | </tr> |
| 155 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 155 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 156 | 156 | <!-- aqui são mostradas imagens obtidas do metadata mensagem que pode existir em cada layer --> |
| 157 | 157 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 158 | 158 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr> | ... | ... |
ferramentas/graficointerativo1/template_mst.html
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | <li> |
| 5 | 5 | <div id='{{{idjanela}}}i3GEOgraficointerativo1guia3' style='text-align: center; left: 0px;'> |
| 6 | 6 | <a> |
| 7 | - <em><img class='ticPropriedades2' style='height: 14px' title='{{{prop}}}' src='{{{locaplic}}}/imagens/visual/default/branco.gif'></em> | |
| 7 | + <em><img class='ticPropriedades2' style='height: 14px' title='{{{prop}}}' src='{{{locaplic}}}/imagens/branco.gif'></em> | |
| 8 | 8 | </a> |
| 9 | 9 | </div> |
| 10 | 10 | </li> | ... | ... |
ferramentas/inseretxt/template_mst.html
| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | <ul class='yui-nav' style='border-width: 0pt 0pt 0px; border-color: rgb(240, 240, 240); border-bottom-color: white;'> |
| 3 | 3 | <li> |
| 4 | 4 | <div id='i3GEOinseretxtguia3' style='text-align: center; left: 0px;'> |
| 5 | - <a> <em> <img class='ticPropriedades2' style='height: 14px' title='{{{propriedades}}}' src='{{{locaplic}}}/imagens/visual/default/branco.gif'> | |
| 5 | + <a> <em> <img class='ticPropriedades2' style='height: 14px' title='{{{propriedades}}}' src='{{{locaplic}}}/imagensbranco.gif'> | |
| 6 | 6 | </em> |
| 7 | 7 | </a> |
| 8 | 8 | </div> | ... | ... |
ferramentas/legenda/template_mst.html
| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | <li> |
| 4 | 4 | <div id='i3GEOlegendaguia6' style='text-align: center; left: 0px;'> |
| 5 | 5 | <a> |
| 6 | - <em><img class='ticPropriedades2' style='height: 14px' title='{{{propriedades}}}' src='{{{locaplic}}}/imagens/visual/default/branco.gif'> </em> | |
| 6 | + <em><img class='ticPropriedades2' style='height: 14px' title='{{{propriedades}}}' src='{{{locaplic}}}/imagensbranco.gif'> </em> | |
| 7 | 7 | </a> |
| 8 | 8 | </div> |
| 9 | 9 | </li> | ... | ... |
ferramentas/selecao/index.js
| ... | ... | @@ -495,7 +495,6 @@ i3GEOF.selecao = { |
| 495 | 495 | Function: removeFiguras |
| 496 | 496 | Remove as figuras marcadas como origem igual a i3GEOFselecao |
| 497 | 497 | */ |
| 498 | - //TODO incluir isso na classe desenho como uma funcao i3GEO.desenho.getFeaturesByAttribute | |
| 499 | 498 | removeFiguras:{ |
| 500 | 499 | openlayers: function(){ |
| 501 | 500 | var temp, f = i3GEO.desenho.layergrafico.getFeaturesByAttribute("origem", "i3GEOFselecao"); | ... | ... |
ferramentas/tabela/template_mst.html
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | <li> |
| 5 | 5 | <div id='{{{idjanela}}}i3GEOtabelaguia6' style='text-align: center; left: 0px;'> |
| 6 | 6 | <a> |
| 7 | - <em><img class='ticPropriedades2' style='height: 14px' title='{{{propriedades}}}' src='{{{locaplic}}}/imagens/visual/default/branco.gif'></em> | |
| 7 | + <em><img class='ticPropriedades2' style='height: 14px' title='{{{propriedades}}}' src='{{{locaplic}}}/imagensbranco.gif'></em> | |
| 8 | 8 | </a> |
| 9 | 9 | </div> |
| 10 | 10 | </li> | ... | ... |
interface/carto_ol.htm
| ... | ... | @@ -25,7 +25,7 @@ |
| 25 | 25 | <div id="i3GEONomeLogin" style="position:absolute;left:10px;top:12px;font-size:11px;z-index:50000"></div> |
| 26 | 26 | <table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> |
| 27 | 27 | <tr style="border:0px"> |
| 28 | - <td id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 28 | + <td id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 29 | 29 | </tr> |
| 30 | 30 | <tr> |
| 31 | 31 | <td id="contemMenu" style="text-align:right;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> |
| ... | ... | @@ -65,7 +65,7 @@ |
| 65 | 65 | </td> |
| 66 | 66 | </tr> |
| 67 | 67 | <tr style="border:0px"> |
| 68 | - <td id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td> | |
| 68 | + <td id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td> | |
| 69 | 69 | </tr> |
| 70 | 70 | </table> |
| 71 | 71 | <table id="i3GEOlogoMarca" style='margin: 0px auto;box-shadow:0 1px 13px gray;border-radius:5px;'> | ... | ... |
interface/googleearth.phtml
| ... | ... | @@ -22,7 +22,7 @@ include_once("../ms_configura.php"); |
| 22 | 22 | <center> |
| 23 | 23 | <table id='mst' summary="" style='display:none' width=100% cellspacing='0'> |
| 24 | 24 | <tr style="border:0px"> |
| 25 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 25 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 26 | 26 | </tr> |
| 27 | 27 | <tr> |
| 28 | 28 | <td> |
| ... | ... | @@ -85,7 +85,7 @@ include_once("../ms_configura.php"); |
| 85 | 85 | </table> |
| 86 | 86 | </td> |
| 87 | 87 | </tr> |
| 88 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 88 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 89 | 89 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 90 | 90 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr> |
| 91 | 91 | </table> | ... | ... |
interface/googleearthdebug.phtml
| ... | ... | @@ -22,7 +22,7 @@ include_once("../ms_configura.php"); |
| 22 | 22 | <center> |
| 23 | 23 | <table id='mst' summary="" style='display:none' width=100% cellspacing='0'> |
| 24 | 24 | <tr style="border:0px"> |
| 25 | - <td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 25 | + <td colspan=2 id="barraSuperior" style="background-image:url('../imagenscabeca.png');height:10px"></td> | |
| 26 | 26 | </tr> |
| 27 | 27 | <tr> |
| 28 | 28 | <td> |
| ... | ... | @@ -85,7 +85,7 @@ include_once("../ms_configura.php"); |
| 85 | 85 | </table> |
| 86 | 86 | </td> |
| 87 | 87 | </tr> |
| 88 | -<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> | |
| 88 | +<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagensrodape.png');height:10px"></td></tr> | |
| 89 | 89 | <tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr> |
| 90 | 90 | <tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr> |
| 91 | 91 | </table> | ... | ... |
ms_configura.php
| ... | ... | @@ -58,7 +58,7 @@ Default: |
| 58 | 58 | array(array("usuario"=>"admin", "senha"=>"adminx")); |
| 59 | 59 | |
| 60 | 60 | */ |
| 61 | -//TODO checar ao fechar versao - alterar a senha para admin | |
| 61 | +//TODO verificar ao fechar versao - alterar a senha para admin | |
| 62 | 62 | $i3geomaster = array( |
| 63 | 63 | array("usuario"=>"admin", "senha"=>"admin") |
| 64 | 64 | ); | ... | ... |