Jump to content


André - MundoNX

Member Since 05/06/2004
Offline Last Active 12/05/2012, 22:49
-----

Posts I've Made

In Topic: Captcha Validar No Meu Formulario

04/02/2011, 08:31

wochsyp,
Obrigado Vou da uma Olhada sim!

In Topic: Captcha + Javascript ?

02/02/2011, 10:23

DИL, Olá também estou com o mesmo problema tava tentando outro ai hj pela manhã achei este aqui veja se te ajuda melhor.

<html>
<head>
<title>Captcha</title>
    
    <script type="text/javascript">

   //Created / Generates the captcha function    
    function DrawCaptcha()
    {
        var a = Math.ceil(Math.random() * 10)+ '';
        var b = Math.ceil(Math.random() * 10)+ '';       
        var c = Math.ceil(Math.random() * 10)+ '';  
        var d = Math.ceil(Math.random() * 10)+ '';  
        var e = Math.ceil(Math.random() * 10)+ '';  
        var f = Math.ceil(Math.random() * 10)+ '';  
        var g = Math.ceil(Math.random() * 10)+ '';  
        var code = a + ' ' + b + ' ' + ' ' + c + ' ' + d + ' ' + e + ' '+ f + ' ' + g;
        document.getElementById("txtCaptcha").value = code
    }

    // Validate the Entered input aganist the generated security code function   
    function ValidCaptcha(){
        var str1 = removeSpaces(document.getElementById('txtCaptcha').value);
        var str2 = removeSpaces(document.getElementById('txtInput').value);
        if (str1 == str2) return true;        
        return false;
        
    }

    // Remove the spaces from the entered and generated code
    function removeSpaces(string)
    {
        return string.split(' ').join('');
    }
    
 
    </script>
    
    
    
</head>
<body onload="DrawCaptcha();">
<table>
<tr>
    <td>
        Welcome To Captcha<br />
    </td>
</tr>
<tr>
    <td>
        <input type="text" id="txtCaptcha" 
            style="background-image:url(1.jpg); text-align:center; border:none;
            font-weight:bold; font-family:Modern" />
        <input type="button" id="btnrefresh" value="Refresh" onclick="DrawCaptcha();" />
    </td>
</tr>
<tr>
    <td>
        <input type="text" id="txtInput"/>    
    </td>
</tr>
<tr>
    <td>
        <input id="Button1" type="button" value="Check" onclick="alert(ValidCaptcha());"/>
    </td>
</tr>
</table>
</body>
</html>


In Topic: Galeria Brasil

29/09/2010, 23:46

Olá pessoal tive afastado um tempão da galeria brasil, fiz algumas evolução na minha galeria.
1 enviou de fotos zipadas, Cria Thumbs, Foto Grande com logo, ajax basico, slides com animação visivel IE demais navegadores apenas muda pagina.
veja exemplo:
Veja ai depois você me fala o que acharam?
thumbs
Posted Image

normal com logo
Posted Image

Link do Slides:
http://www.hotbarra....des.php?&id=901

Link do meu site:
http://www.hotbarra.com.br

In Topic: Função Ler Apenas Arquivo Jpg

27/09/2010, 11:52

KILLME, tava com um sistemade slides faz mais de ano com este bug não tava funcionando agora ta Joia..
veja o no link: http://www.hotbarra....r.evento&id=908
Melhor visualização no IE os demais também funciona só quem sem animação.

IPB Skin By Virteq