function initControl() { var targelem = $get('txtRegUserName'); targelem.focus(); targelem.select(); } function focusPassword() { var targelem = $get('txtRegUserPwd'); targelem.focus(); targelem.select(); } function focusCheckCode() { var targelem = $get('txtCheckCode'); targelem.focus(); targelem.select(); } function popUp() { props = window.open('qzc.htm', 'poppage', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=290, height=200'); } 可锐教育 hg网娱乐网
Sys.WebForms.PageRequestManager.getInstance().add_initializeRequest(BeginRequest); Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequest); var findPwd; function EndRequest(sender, args) { // 取得 PageRequestManager 类别的实例。 var prm = Sys.WebForms.PageRequestManager.getInstance(); var resultElement = $get("btnCompanyLogin"); resultElement.disabled = false; if (findPwd != null) { findPwd.disabled = false; findPwd = null; } } function BeginRequest(sender, args) { // 取得 PageRequestManager 类别的实例。 var prm = Sys.WebForms.PageRequestManager.getInstance(); if (!prm.get_isInAsyncPostBack() & args.get_postBackElement().id == 'btnCompanyLogin') { var resultElement = $get("btnCompanyLogin"); resultElement.disabled = true; } if (!prm.get_isInAsyncPostBack() & args.get_postBackElement().id == 'btnFindPwd') { findPwd = args.get_postBackElement(); findPwd.disabled = true; } }
用户名:
密 码:
验证码:
? ?
? ??忘记密码???
document.getElementById("hdnWidth").value = screen.width;
function scrollx(p){ var d = document,dd = d.documentElement,db = d.body,w = window,o = d.getElementById(p.id),ie6 = /msie 6/i.test(navigator.userAgent),style,timer; if(o){ o.style.cssText +=";position:"+(p.f&&!ie6?'fixed':'absolute')+";"+(p.l==undefined?'right:0;':'left:'+p.l+'px;')+(p.t!=undefined?'top:'+p.t+'px':'bottom:0'); if(p.f&&ie6){ o.style.cssText +=';left:expression(documentElement.scrollLeft + '+(p.l==undefined?dd.clientWidth-o.offsetWidth:p.l)+' + "px");top:expression(documentElement.scrollTop +'+(p.t==undefined?dd.clientHeight-o.offsetHeight:p.t)+'+ "px" );'; dd.style.cssText +=';background-image: url(about:blank);background-attachment:fixed;'; }else{ if(!p.f){ w.onresize = w.onscroll = function(){ clearInterval(timer); timer = setInterval(function(){ //双选择为了修复chrome 下xhtml解析时dd.scrollTop为 0 var st = (dd.scrollTop||db.scrollTop),c; c = st - o.offsetTop + (p.t!=undefined?p.t:(w.innerHeight||dd.clientHeight)-o.offsetHeight); if(c!=0){ o.style.top = o.offsetTop + Math.ceil(Math.abs(c)/10)*(c<0?-1:1) + 'px'; }else{ clearInterval(timer); } },10) } } } } } scrollx({ id:'aa' }) scrollx({ id:'bb', l:0, t:200, f:1 }) /* id 你要滚动的内容的id l 横坐标的位置 不写为紧贴右边 t 你要放在页面的那个位置默认是贴着底边 0是贴着顶边 f 1表示固定 不写或者0表示滚动 */ var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fec4449e81c3f6239174867c2d6c30d13' type='text/javascript'%3E%3C/script%3E"));