Ir para conteúdo
Fórum Script Brasil

jefmolino

Membros
  • Total de itens

    234
  • Registro em

  • Última visita

Sobre jefmolino

  • Data de Nascimento 16/12/1986

Contatos

  • MSN
    jeffersonmolino@hotmail.com
  • Website URL
    http://www.neobux.com/?rh=6A65666D6F6C696E6F
  • ICQ
    0

Perfil

  • Gender
    Male
  • Location
    Santo André
  • Interests
    Profissional!

jefmolino's Achievements

0

Reputação

  1. Pode tentar usar o position absolute do css, não sei se vai te atender... o link não abriu
  2. Teste somente a parte de inserção, verifique que os valores estão na variável que é enviada ao banco, e depois da execução confira os dados no banco
  3. jefmolino

    Null Pointer Exception

    Está utilizando o Eclipse? Roda em modo debug, e verificar as variáveis utilizadas nessa linha, qual dela está nula
  4. Adiciona isso .has-sub{ text-align: center; }
  5. pode usar: <img src="caminhoDaImagem.jpeg" border="0" />
  6. Precisa colocar as bibliotecas do jquery <html> <script> var firstValidation = true; var timerClear = null; function starTimerFirstTime(){ if(firstValidation){ $( "#timer" ).show(); startTimeCounter(); firstValidation = false; } } function timer(h,m,s) { var timeClock = $("#timerClock"); if( timeClock != null ){ s += 1; if (s == 60){ s = 0; m++; } if (m == 60){ m = 0; h++; } if (s.toString().length == 1) { s = '0'+s; } if (m.toString().length == 1) { m = '0'+m; } timeClock.get(0).innerHTML = h + ":" + m + ":" + s; timerClear = setTimeout("timer(" + h + "," + m + "," + s + ")",1000); } } function loadTimeCounter( ){ var requestTimeValue = $( "requestTimeValue" ).val(); if( requestTimeValue != null && requestTimeValue.length > 0 ){ if( $("#timer").val() != null) $( "#timer" ).show(); startTimeCounter( ); } } function startTimeCounter( ){ var requestTimeValue = $("requestTimeValue" ).val(); if( requestTimeValue != null && requestTimeValue.length > 0 ){ var hoursStr = requestTimeValue.substring( 0, requestTimeValue.indexOf( ":" ) ); var minutesStr = requestTimeValue.substr( hoursStr.length + 1, 2 ); var secondsStr = requestTimeValue.substr( requestTimeValue.lastIndexOf( ":" ) + 1, 2 ); if( hoursStr.length == 2 && hoursStr.charAt( 0 ) == "0" ){ hoursStr = hoursStr.substr( 1, hoursStr.length ); } if( minutesStr.length == 2 && minutesStr.charAt( 0 ) == "0" ){ minutesStr = minutesStr.substr( 1, minutesStr.length ); } if( secondsStr.length == 2 && secondsStr.charAt( 0 ) == "0" ){ secondsStr = secondsStr.substr( 1, secondsStr.length ); } var hours = parseInt( hoursStr ); var minutes = parseInt( minutesStr ); var seconds = parseInt( secondsStr ); timer( hours, minutes, seconds ); } else{ timer( 0, 0, 0 ); } } </script> <body onload="starTimerFirstTime()"> <div id="timer"> <h1 id="timerClock"></h1> </div> <input type="hidden" id="requestTimeValue" /> </body> </html>
  7. Tentou usar o append do jQuery? Ele adiciona um conteudo, sem remover o que já existe Por exemplo $("button").click(function(){ $("divName").append("seu codigo aqui"); });
  8. Da uma olhada nesse link http://jsfiddle.net/RbSLw/ Não deu pra olhar bem a fundo, mas parece q retorna as posições entre os textos q estão selecionados... ai é só adaptar
  9. Pode também utilizar ajax para enviar... assim a página não é recarregada, e você não perde nada... Depende da necessidade que você precisa.
  10. acredito que o problema esta na quebra de linha que está usando... faz o teste... coloca tudo numa linha só e testa Ve certinho o lance de como vai colocar com o php, mas estando em uma linha só, deve funcionar...
  11. Não é normal não, principalmente utilizando ajax... posta o codigo ai pra dar uma olhada
  12. A hora q ele some, não é depois q carregou a página de novo depois do submit?
  13. Cria o dialog no document ready ... e depois você somente chama esse dialog $("#idDialog").dialog('open');... dai fecha normalmente... Caso queira trabalhar sempre recriando... $(this).dialog('destroy'); ve ai se funciona
  14. setTimeout("moveRelogio()",166) acredito que dessa forma ele rode a cada 1 segundo setTimeout("moveRelogio()",1000) e assim, 6x mais rapido setTimeout("moveRelogio()",6000)
×
×
  • Criar Novo...