Discuz.Web/templates/default/_vcode.htm
(完整代码) 2KB<div id="vcode_temp"></div>
<script type="text/javascript" reload="1">
var infloat = {infloat};
if (typeof vcodeimgid == 'undefined'){
var vcodeimgid = 1;
}
else
vcodeimgid++;
$('vcode_temp').parentNode.innerHTML = '<input name="vcodetext" <%if {infloat}==1%>tabindex="4"<%else%>tabindex="7"<%/if%> size="20" onkeyup="changevcode(this.form, this.value);" class="txt" style="width:90px;" id="vcodetext' + vcodeimgid + '" onblur="if(!seccodefocus) {display(this.id + \'_menu\')};" onfocus="opensecwin('+vcodeimgid+',1)" value="验证码" autocomplete="off"/>' +
'<div class="seccodecontent" style="display:none;cursor: pointer;width: 124px; height: 44px;top:256px;z-index:10009;padding:0;" id="vcodetext' + vcodeimgid + '_menu" onmouseout="seccodefocus = 0" onmouseover="seccodefocus = 1"><img src="{rooturl}tools/VerifyImagePage.aspx?time={Processtime}" class="cursor" id="vcodeimg' + vcodeimgid + '" onclick="this.src=\'{rooturl}tools/VerifyImagePage.aspx?id={olid}&time=\' + Math.random();"/></div>';
function changevcode(form, value){
if (!$('vcode')){
var vcode = document.createElement('input');
vcode.id = 'vcode';
vcode.name = 'vcode';
vcode.type = 'hidden';
vcode.value = value;
form.appendChild(vcode);
}else{
$('vcode').value = value;
}
}
</script>
<script type="text/javascript">
var secclick = new Array();
var seccodefocus = 0;
function opensecwin(id,type) {
if($('vcode')){
$('vcode').parentNode.removeChild($('vcode'));}
if (!secclick['vcodetext' + id]) {
$('vcodetext' + id).value = '';
secclick['vcodetext' + id] = 1;
if(type)
$('vcodetext' + id + '_menu').style.top = parseInt($('vcodetext' + id + '_menu').style.top) - parseInt($('vcodetext' + id + '_menu').style.height) + 'px';
}
$('vcodetext' + id + '_menu').style.position = 'absolute';
$('vcodetext' + id + '_menu').style.top = (-parseInt($('vcodetext' + id + '_menu').style.height) - 2) + 'px';
$('vcodetext' + id + '_menu').style.left = '0px';
$('vcodetext' + id + '_menu').style.display = '';
$('vcodetext' + id).focus();
$('vcodetext' + id).unselectable = 'off';
$('vcodeimg' + id).src = '{rooturl}tools/VerifyImagePage.aspx?id={olid}&time=' + Math.random();
}
</script>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
