Skip to content

Commit

Permalink
Bug: A janela de busca fecha digitando
Browse files Browse the repository at this point in the history
  • Loading branch information
rfilipo committed Aug 30, 2010
1 parent 5188367 commit 32b990e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ system/application/views/welcome_message.php
system/application/views/taonde.php

A fazer:

- Resolver janela de busca
a janela não pode fechar enquanto se está digitando

- Administracao
criar controllers e views
system/application/controlers/admin.php
system/application/views/admin.php

Expand Down
8 changes: 5 additions & 3 deletions system/application/views/welcome_message.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
z-index: 99;
bottom: 0px;
width: 100%;
height: 130px;
height: 180px;
background: #1a1a1a ;
color: #ffffff;
font: 90px "Arial" , sans-serif;
Expand Down Expand Up @@ -130,8 +130,10 @@ function abreJanela(){
}

function fechaJanela(){
if (janelaAberta){
janelaAberta = 0;
$('#janela').dialog('close');
}
}

function pageWidth() {
Expand Down Expand Up @@ -168,7 +170,7 @@ function posBottom() {
<div id='bodyContainer'>
<center>
<iframe id='bodyFrame'
src="http://www.panoramio.com/wapi/template/slideshow.html?width=1024&amp;height=768&amp;tag=brasil"
src="http://www.panoramio.com/wapi/template/slideshow.html?width=640&amp;height=480&amp;tag=brasil"
frameborder="0" width="100%" height="100%" scrolling="no" marginwidth="0" marginheight="0" align="center">
</iframe>
</center>
Expand All @@ -177,7 +179,7 @@ function posBottom() {
<?php
?>
<div id='janela'>
<p align='center'>Taonde? <input id='taonde' onchange='//pleaseOnde();'><button onclick='pleaseOnde();'>:)</button>
<p align='center'>Taonde? <input id='taonde' onfocus='janelaAberta=0;' onblur='janelaAberta=1;' onChange='pleaseOnde();'><button onclick='pleaseOnde();'>:)</button>
</div>
<div id='taqui'>Resultados</div>
<div id='tacumfome'>Restaurantes</div>
Expand Down

0 comments on commit 32b990e

Please sign in to comment.