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,8 +67,8 @@ i3GEOF.cortina = { | ||
| 67 | iddiv {String} - id do div que receberá o conteudo HTML da ferramenta | 67 | iddiv {String} - id do div que receberá o conteudo HTML da ferramenta |
| 68 | */ | 68 | */ |
| 69 | inicia: function(iddiv){ | 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 | try{ | 72 | try{ |
| 73 | $i(iddiv).innerHTML = i3GEOF.cortina.html(); | 73 | $i(iddiv).innerHTML = i3GEOF.cortina.html(); |
| 74 | } | 74 | } |
| @@ -85,9 +85,16 @@ i3GEOF.cortina = { | @@ -85,9 +85,16 @@ i3GEOF.cortina = { | ||
| 85 | String com o código html | 85 | String com o código html |
| 86 | */ | 86 | */ |
| 87 | html:function(){ | 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 | '<div id="slider-thumb" class="yui-slider-thumb"><img src="'+i3GEO.configura.locaplic+'/pacotes/yui270/build/slider/assets/thumb-n.gif"></div>' + | 90 | '<div id="slider-thumb" class="yui-slider-thumb"><img src="'+i3GEO.configura.locaplic+'/pacotes/yui270/build/slider/assets/thumb-n.gif"></div>' + |
| 90 | '</div>'; | 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 | return ins; | 98 | return ins; |
| 92 | }, | 99 | }, |
| 93 | /* | 100 | /* |
| @@ -172,6 +179,10 @@ i3GEOF.cortina = { | @@ -172,6 +179,10 @@ i3GEOF.cortina = { | ||
| 172 | l = l + (offsetFromStart * escala); | 179 | l = l + (offsetFromStart * escala); |
| 173 | estilo.clip = "rect("+t+"px,"+r+"px,"+b+"px,"+l+"px)"; | 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 | <?php error_reporting(0);if(extension_loaded('zlib')){ob_end_flush();}?> | 188 | <?php error_reporting(0);if(extension_loaded('zlib')){ob_end_flush();}?> |
| 178 | \ No newline at end of file | 189 | \ No newline at end of file |
interface/openlayers.htm
| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html> | 2 | <html> |
| 3 | <head> | 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 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | 5 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
| 6 | <title>i3GEO - OpenLayers</title> | 6 | <title>i3GEO - OpenLayers</title> |
| 7 | 7 |