Commit ac2527ca6740f94828bc930fbc20cc10bbd183a2
1 parent
5354bf7a
Exists in
master
and in
7 other branches
--no commit message
Showing
2 changed files
with
8 additions
and
1 deletions
Show diff stats
classesjs/classe_interface.js
| ... | ... | @@ -254,9 +254,14 @@ i3GEO.Interface = { |
| 254 | 254 | */ |
| 255 | 255 | inicia: function(w,h){ |
| 256 | 256 | if(typeof(console) !== 'undefined'){console.info("i3GEO.Interface.inicia()");} |
| 257 | + var temp; | |
| 257 | 258 | // |
| 258 | 259 | //inicialização que afeta todas as interfaces |
| 259 | 260 | // |
| 261 | + if($i("i3GEOcurtirFB")){ | |
| 262 | + temp = window.location.href.split("?")[0]; | |
| 263 | + $i("i3GEOcurtirFB").innerHTML = "<iframe src='http://www.facebook.com/plugins/like.php?href="+temp+"&layout=button_count&show_faces=false&width=100&action=like&colorscheme=light&height=21' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:100px; height:21px;' allowTransparency='true'></iframe>"; | |
| 264 | + } | |
| 260 | 265 | i3GEO.gadgets.quadros.inicia(10); |
| 261 | 266 | i3GEO.gadgets.quadros.grava("extensao",i3GEO.parametros.extentTotal); |
| 262 | 267 | i3GEO.gadgets.mostraBuscaRapida(); | ... | ... |
interface/openlayers.htm
| ... | ... | @@ -42,7 +42,7 @@ |
| 42 | 42 | <!-- |
| 43 | 43 | menu suspenso |
| 44 | 44 | --> |
| 45 | - <div id="menus" ></div> | |
| 45 | + <div id="menus" ></div> | |
| 46 | 46 | </td> |
| 47 | 47 | </tr> |
| 48 | 48 | <tr> |
| ... | ... | @@ -91,6 +91,8 @@ |
| 91 | 91 | --> |
| 92 | 92 | <!-- aqui será incluído o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> |
| 93 | 93 | <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> |
| 94 | + <!-- botão curtir do facebook --> | |
| 95 | + <div id="i3GEOcurtirFB" style=text-align:left ></div> | |
| 94 | 96 | </td> |
| 95 | 97 | <td class=tdbranca > |
| 96 | 98 | <table width=100% > | ... | ... |