只需要做些简单修改,就能直接使用,关于php的验证码生成已封装成类。
<!DOCTYPE html> <html lang=""> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>php+js实现滑块拖动验证码</title> <script type="text/javascript" src="tn_code.js"></script> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body style="text-align:center;"> <div class="tncode" style="text-align: center;margin: 100px auto;"></div> <a href="https://www.junphp.com/xiazai/nr/id/198.html">php+js实现滑块拖动验证码</a> | <a href="https://www.junphp.com/">极资源</a> <script type="text/javascript"> $TN.onsuccess(function(){ //验证通过 alert(1); }); </script> </body> </html>
上一篇:
html5QQ浏览器页面引导模板
下一篇:
Jquery仿12306点图验证码
友情提示:垃圾评论一律封号...