Commit 3a18ce13ccd07d4302ff580e6a3fb342c21dcf42
1 parent
7b730c8c
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
13 additions
and
5 deletions
Show diff stats
mobile/mobile.php
| ... | ... | @@ -182,7 +182,7 @@ ImagePNG($img, $nome); |
| 182 | 182 | if(!isset($maparef)){$maparef = "";} |
| 183 | 183 | ?> |
| 184 | 184 | <div id='botoes' style="position:relative;top:1px;left:1px" > |
| 185 | - <select id='op' name='op' onchange='op(this.value)'> | |
| 185 | + <select tabindex=13 id='op' name='op' onchange='op(this.value)'> | |
| 186 | 186 | <option value=''>Opções</option> |
| 187 | 187 | <option value='reiniciar'>reiniciar</option> |
| 188 | 188 | <option value='ligar'>ligar camadas</option> |
| ... | ... | @@ -193,7 +193,14 @@ if(!isset($maparef)){$maparef = "";} |
| 193 | 193 | <option value='localizar'>localizar lugares</option> |
| 194 | 194 | <option value='localizarxy'>localizar coordenada</option> |
| 195 | 195 | </select> |
| 196 | - <div id=mensagem >utilize 'tab' para acessar as opções ou clique</div> | |
| 196 | + <div id=mensagem style=font-size:10pt; > | |
| 197 | + <a href=# title="aproxima" onclick="zoommais()">+</a> | |
| 198 | + <a href=# onclick="zoommenos()">-</a> | |
| 199 | + <a href=# onclick="norte()">N</a> | |
| 200 | + <a href=# onclick="sul()">S</a> | |
| 201 | + <a href=# onclick="leste()">L</a> | |
| 202 | + <a href=# onclick="oeste()">O</a> | |
| 203 | + </div> | |
| 197 | 204 | </div> |
| 198 | 205 | <form id='f' action='mobile.php?' method='get'> |
| 199 | 206 | <input type='hidden' name='tmpfname' value='<?php echo $tmpfname;?>' /> |
| ... | ... | @@ -203,7 +210,7 @@ if(!isset($maparef)){$maparef = "";} |
| 203 | 210 | <input id='referencia' type=hidden name='maparef' value='<?php echo $maparef;?>' /> |
| 204 | 211 | </form> |
| 205 | 212 | <map name="sample"> |
| 206 | -<area tabindex=1 onblur="mensagem('')" onfocus="mensagem('aproxima')" shape="rect" coords="0,0,40,23" onclick='zoommais()'> | |
| 213 | +<area tabindex=1 onblur="mensagem('')" onfocus="mensagem('aproxima')" shape="rect" coords="0,0,40,23" onclick='zoommais()'> | |
| 207 | 214 | <area tabindex=8 onblur="mensagem('')" onfocus="mensagem('aproxima+')" shape="rect" coords="0,24,40,31" onclick='zoommais1()'> |
| 208 | 215 | <area tabindex=9 onblur="mensagem('')" onfocus="mensagem('aproxima++')" shape="rect" coords="0,32,40,38" onclick='zoommais2()'> |
| 209 | 216 | <area tabindex=2 onblur="mensagem('')" onfocus="mensagem('afasta')" shape="rect" coords="0,57,40,77" onclick='zoommenos()'> |
| ... | ... | @@ -216,9 +223,9 @@ if(!isset($maparef)){$maparef = "";} |
| 216 | 223 | <area tabindex=6 onblur="mensagem('')" onfocus="mensagem('oeste')" shape="rect" coords="0,91,18,105" onclick='oeste()'> |
| 217 | 224 | <area tabindex=7 onblur="mensagem('')" onfocus="mensagem('identifica')" shape="rect" coords="0,120,40,150" onclick='identifica()'> |
| 218 | 225 | </map> |
| 219 | -<img id='mapa' onclick='autopan(event)' style="position:relative;top:1px;left:1px" src='<?php echo $nomeimagem; ?>' usemap="#sample" /> | |
| 226 | +<img id='mapa' tabindex=0 onclick='autopan(event)' style="position:relative;top:1px;left:1px;z-index:0;" src='<?php echo $nomeimagem; ?>' usemap="#sample" /> | |
| 220 | 227 | <br> |
| 221 | -<a href=# onclick="maparef()">Ativar/desativar mapa de referência</a> | |
| 228 | +<a href=# tabindex=12 onclick="maparef()">Ativar/desativar mapa de referência</a> | |
| 222 | 229 | <?php |
| 223 | 230 | if ((isset($maparef)) && ($maparef == "sim")) |
| 224 | 231 | { |
| ... | ... | @@ -241,6 +248,7 @@ if (app=='N') navn=true; else navm=true; |
| 241 | 248 | pan = "" |
| 242 | 249 | function mensagem(m) |
| 243 | 250 | { |
| 251 | + if(m == ""){var m = "-";} | |
| 244 | 252 | document.getElementById("mensagem").innerHTML = m |
| 245 | 253 | } |
| 246 | 254 | function zoommais() | ... | ... |