Commit 5d87bec9b53d8df08996382d184a122f5fc5a285
1 parent
58c845ac
Exists in
master
and in
7 other branches
--no commit message
Showing
2 changed files
with
15 additions
and
4 deletions
Show diff stats
ferramentas/cortina/index.js.php
... | ... | @@ -67,8 +67,8 @@ i3GEOF.cortina = { |
67 | 67 | iddiv {String} - id do div que receberá o conteudo HTML da ferramenta |
68 | 68 | */ |
69 | 69 | inicia: function(iddiv){ |
70 | - if(navm) | |
71 | - {alert("Esta ferramenta nao funciona adequadamente no Internet Explorer. Experimente usar o Firefox");} | |
70 | + //if(navm) | |
71 | + //{alert("Esta ferramenta nao funciona adequadamente no Internet Explorer. Experimente usar o Firefox");} | |
72 | 72 | try{ |
73 | 73 | $i(iddiv).innerHTML = i3GEOF.cortina.html(); |
74 | 74 | } |
... | ... | @@ -85,9 +85,16 @@ i3GEOF.cortina = { |
85 | 85 | String com o código html |
86 | 86 | */ |
87 | 87 | html:function(){ |
88 | - var ins = '<div id="slider-bg" class="yui-h-slider" style="background: url('+i3GEO.configura.locaplic+'/pacotes/yui270/build/slider/assets/bg-h.gif) no-repeat 5px 0;height: 28px;width: 210px;" tabindex="-1" title="Slider">' + | |
88 | + if(navm){ | |
89 | + var ins = '<div id="slider-bg" class="yui-h-slider" style="background: url('+i3GEO.configura.locaplic+'/pacotes/yui270/build/slider/assets/bg-h.gif) no-repeat -108px 0;height: 28px;width: 210px;" tabindex="-1" title="Slider">' + | |
89 | 90 | '<div id="slider-thumb" class="yui-slider-thumb"><img src="'+i3GEO.configura.locaplic+'/pacotes/yui270/build/slider/assets/thumb-n.gif"></div>' + |
90 | 91 | '</div>'; |
92 | + } | |
93 | + else{ | |
94 | + var ins = '<div id="slider-bg" class="yui-h-slider" style="background: url('+i3GEO.configura.locaplic+'/pacotes/yui270/build/slider/assets/bg-h.gif) no-repeat 5px 0;height: 28px;width: 210px;" tabindex="-1" title="Slider">' + | |
95 | + '<div id="slider-thumb" class="yui-slider-thumb"><img src="'+i3GEO.configura.locaplic+'/pacotes/yui270/build/slider/assets/thumb-n.gif"></div>' + | |
96 | + '</div>'; | |
97 | + } | |
91 | 98 | return ins; |
92 | 99 | }, |
93 | 100 | /* |
... | ... | @@ -172,6 +179,10 @@ i3GEOF.cortina = { |
172 | 179 | l = l + (offsetFromStart * escala); |
173 | 180 | estilo.clip = "rect("+t+"px,"+r+"px,"+b+"px,"+l+"px)"; |
174 | 181 | }); |
182 | + if(navm){ | |
183 | + $i("slider-bg").style.left = "-100px"; | |
184 | + $i("i3GEOF.cortina_corpo").style.background = "url("+i3GEO.configura.locaplic+"/pacotes/yui270/build/slider/assets/bg-h.gif) white no-repeat 10px 0px"; | |
185 | + } | |
175 | 186 | } |
176 | 187 | }; |
177 | 188 | <?php error_reporting(0);if(extension_loaded('zlib')){ob_end_flush();}?> |
178 | 189 | \ No newline at end of file | ... | ... |
interface/openlayers.htm
1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
2 | 2 | <html> |
3 | 3 | <head> |
4 | -<meta http-equiv="Category" content="I3Geo Mapa interativo MMA geoprocessamento sig mobile"> | |
4 | +<meta http-equiv="Category" content="i3Geo Mapa interativo MMA geoprocessamento sig mobile"> | |
5 | 5 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
6 | 6 | <title>i3GEO - OpenLayers</title> |
7 | 7 | ... | ... |