Hello friends,
Sometimes you have to go analog. A flow chart on paper can help.
Best regards,
Otto
https://github.com/steffest/PatternLock
Login with patternlock
-
- Mensajes: 127
- Registered for: 3 years 6 months
Dear Otto,
Good, What is the Plugin ? and how to implement it ?
Regards
Osvaldo Ramirez
Good, What is the Plugin ? and how to implement it ?
Regards
Osvaldo Ramirez
-
- Mensajes: 50
- Registered for: 3 years 6 months
Osvaldo, it is the GITHUB link I put above. There are samples included.
Best regards,
Otto
Best regards,
Otto
Código: Seleccionar todo
function main
TEMPLATE
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=320, user-scalable=no, initial-scale=1.0, maximum-scale=1.0" />
<title>Pattern Lock</title>
<link rel="stylesheet" type="text/css" href="_style/patternlock.css"/>
<script src="_script/patternlock.js"></script>
<script>
function submitform(){
alert("PW you entered " + document.getElementById("password").value);
if (document.getElementById("password").value=="123") {
window.open( "http://www.google.com", '_blank').focus();
} else {
alert("Error, intente de nuevo");
}
return true;
}
</script>
<style>
body{
text-align:center;
font-family:Arial, Helvetica, sans-serif;
}
</style>
</head>
<body>
<form method="post" onsubmit="return submitform()">
<h2>Please login</h2>
<div>
<input type="password" id="password" name="password" class="patternlock" />
<input type="submit" value="login"/>
</div>
</form>
</body>
</html>
ENDTEXT
return
//----------------------------------------------------------------------------//
-
- Mensajes: 127
- Registered for: 3 years 6 months
Gracias Otto
Regards
Osvaldo Ramirez
Regards
Osvaldo Ramirez