Commit 8f715a15661208d839361718a827340d5aeed259
1 parent
f4630375
Exists in
master
and in
7 other branches
Inclusão de mensagem de abertura na ferramenta de busca de fotos
Showing
2 changed files
with
26 additions
and
4 deletions
Show diff stats
ferramentas/buscafotos/index.htm
... | ... | @@ -5,6 +5,15 @@ |
5 | 5 | <style>.yuibutton button{padding-left:2em;background:url(../../imagens/tic.png) 5% 50% no-repeat;}</style> |
6 | 6 | </head> |
7 | 7 | <body class="yui-skin-sam" > |
8 | + <div id=mensagem style=display:block > | |
9 | + <p>As fotos mostradas aqui são de responsabilidade dos serviços de hospedagem utilizados na busca e podem abranger temáticas diversas. | |
10 | + <p>A busca é feita apenas para a região de abrangência do mapa atual. | |
11 | + <div style=width:350px > | |
12 | + <span style=width:30px onclick='mostramenu()' ><input id=botao3 size=20 type=button value='Continuar' /></span> | |
13 | + </div> | |
14 | + </div> | |
15 | + | |
16 | + <div id=busca style=display:none > | |
8 | 17 | <div id="f" style="display:none"> |
9 | 18 | <p><i>Este produto usa a API do Flickr, mas não é endossado nem certificado pelo Flickr.</i> |
10 | 19 | <p>Opção Flickr: Se nenhum parâmetro for definido, serão consideradas apenas as fotos incluídas nas últimas 12 horas. |
... | ... | @@ -19,10 +28,10 @@ |
19 | 28 | <input type=radio onclick="esconde(this)" name=buscador value=flickr id=buscaflickr /><a href="http://www.flickr.com" target="_blank" >Flickr</a> |
20 | 29 | <input type=radio onclick="esconde(this)" name=buscador value=panoramio id=buscapanoramio checked /><a href="http://www.panoramio.com" target="_blank" >Panoramio</a> |
21 | 30 | <input type=radio onclick="esconde(this)" name=buscador value=panoramio id=buscalocr /><a href="http://www.locr.com" target="_blank" >Locr</a> |
22 | - | |
23 | 31 | </div> |
24 | 32 | <div id="paginas" style="top:10px;"></div><br> |
25 | 33 | <div style="top:0px;left:5px;display:block;width:100%;height:150px;overflow:auto" id="resultadofotos" >Aguarde...</div> |
34 | + </div> | |
26 | 35 | </body> |
27 | 36 | <script> |
28 | 37 | g_locaplic = "http://localhost/i3geo" | ... | ... |
ferramentas/buscafotos/index.js
... | ... | @@ -21,13 +21,25 @@ Free Software Foundation, Inc., no endereço |
21 | 21 | */ |
22 | 22 | //inicializa |
23 | 23 | parametrosURL() |
24 | -busca(1) | |
24 | + | |
25 | 25 | YAHOO.example.init = function () |
26 | 26 | { |
27 | 27 | function onPushButtonsMarkupReady() |
28 | 28 | {new YAHOO.widget.Button("botao2");} |
29 | 29 | YAHOO.util.Event.onContentReady("botao2", onPushButtonsMarkupReady); |
30 | -}() | |
30 | +}() | |
31 | +YAHOO.example.init = function () | |
32 | +{ | |
33 | + function onPushButtonsMarkupReady() | |
34 | + {new YAHOO.widget.Button("botao3");} | |
35 | + YAHOO.util.Event.onContentReady("botao3", onPushButtonsMarkupReady); | |
36 | +}() | |
37 | +function mostramenu() | |
38 | +{ | |
39 | + $i("mensagem").style.display="none" | |
40 | + $i("busca").style.display="block" | |
41 | + busca(1) | |
42 | +} | |
31 | 43 | function busca(pagina) |
32 | 44 | { |
33 | 45 | aguarde("block") |
... | ... | @@ -36,6 +48,7 @@ function busca(pagina) |
36 | 48 | var texto = $i("texto").value; |
37 | 49 | var ai = $i("ai").value; |
38 | 50 | var af = $i("af").value; |
51 | + escondexy(); | |
39 | 52 | if (window.parent.objmapa) |
40 | 53 | { |
41 | 54 | if (window.parent.objmapa.scale > 150001) |
... | ... | @@ -53,7 +66,7 @@ function busca(pagina) |
53 | 66 | return; |
54 | 67 | } |
55 | 68 | } |
56 | - escondexy(); | |
69 | + | |
57 | 70 | var cp = new cpaint(); |
58 | 71 | cp.set_response_type("JSON"); |
59 | 72 | if($i("buscaflickr").checked) | ... | ... |