Js jump input email login interface, js jump email Login
<Script> var hash = {// email address corresponding to the email domain name 'qq. com ': 'http: // mail.qq.com', 'gmail. com ': 'http: // mail.google.com', 'sina. com ': 'http: // mail.sina.com.cn', 'sina. cn ': 'http: // mail.sina.com.cn', '2017. com ': 'http: // mail.163.com', '2017. com ': 'http: // mail.126.com', 'Yeah. net ': 'http: // www.yeah.net/', 'sohu.com': 'http: // mail.sohu.com/', 'tom.com': 'http: // response: 'http: // mail.sogou.com /',' 139.com ': 'http: // mail.10086.cn/', 'hotmail.com': 'http: // www.hotmail.com', 'Live. com ': 'http: // login.live.com/', 'live.cn': 'http: // login.live.cn/', 'live.com.cn': 'http: // login.live.com.cn', '2017. com ': 'http: // region: 'http: // www.eyou.com/', '21cn.com': 'http: // mail.21cn.com /',' 188.com ': 'http: // www.188.com/', 'foxmail.com': 'http: // www.foxmail.com'}; function exeEmail () {var email = $ ("# Email "). val (); var url = email. split ('@') [1]; if (typeof (hash [url])! = "Undefined") {window. open (hash [url]) ;}</script>
A js script that redirects to the corresponding email login interface based on the email address
I am still learning asp in this age. please switch. net or java. Otherwise, it will be a problem to even have dinner later. we can only talk about these small issues. the first one is the comparison of strings. if (a = B) {output}, the second is to use the date function, the third is to use dreamweaver to manually join access, and then a SQL select xx field from xx table is entered.
Js page Jump
<Script>
Var currentPageId = parseInt (window. location. href. split ("=") [1], 10 );
Var preUrl = window. location. href. split ("=") [1]
Function jump (){
Window. location. href = preUrl + (currentPageId + 1). toString ();
}
SetTimeout (jump, 1000 );
</Script>
Stick this code to your page and jump every second. If you want to change the frequency, change the 1000 value. The larger the change, the slower the jump.