Đăng kí thành viên · Quên MK?

Lần hoạt động

Diễn đàn | Wap Web | Html - Css
Tìm kiếm
  Code Chữ Chạy Dưới Thanh Status Bar
Admin  Admin [FOUNDER]
 
PRO
(01.01.2019 / 16:03) TOP
  1. function scrollPlus(seed)
  2. {
  3.  
  4. var msg = "[ chúc bạn vui vẻ ]";
  5. var out= " ";
  6. var c = 1;
  7.  
  8. if (seed > 100){
  9. seed--;
  10. var cmd="scrollPlus(" + seed + ")";
  11. timerTwo=window.setTimeout(cmd,100);
  12.  
  13. }else if (seed <= 100 && seed > 0){
  14. for (c=0; c < seed; c++){
  15. out+=" ";
  16. }
  17. out+=msg;
  18. seed--;
  19. var cmd="scrollPlus(" + seed + ")";
  20. window.status=out;
  21. timerTwo=window.setTimeout(cmd,100);
  22.  
  23. }else if (seed <= 0){
  24. if (-seed < msg.length){
  25.  
  26. out+=msg.substring(-seed,msg.length);
  27. seed--;
  28. var cmd="scrollPlus(" + seed + ")";
  29. window.status=out;
  30. timerTwo=window.setTimeout(cmd,100);
  31.  
  32. }else{
  33. window.status=" ";
  34. timerTwo=window.setTimeout("scrollPlus(100)",75);
  35. }
  36. }
  37. }
  38.  
  39. function clickMouse()
  40. {
  41. if ((event.button==2) || (event.button==3)){
  42. return false;
  43. }
  44. }
  45.  
  46. function clickKey()
  47. {
  48. if((event.shiftKey) && (event.keyCode == 121)){
  49.  
  50. return false;
  51. }
  52. }
  53.  
  54. function noAction(){
  55. return false;
  56. }
  57.  
  58. function searchVOD(){
  59.  
  60. if(document.schvod.key.value == ""){
  61. alert("Please, input information to search!");
  62. }else{
  63. document.schvod.submit();
  64. }
  65.  
  66. }
  67.  
  68. function doForgotPassword()
  69. {
  70. window.open('ForgotPassword.asp','ForgotPassword', 'width=400,height=150,toolbar=no, statusbar=no,resizeable=no, scrollbars=no');
  71.  
  72. }
  73.  
  74. function checkID()
  75. {
  76. if(document.login.txtAccount.value=="")
  77. {
  78. alert("Username can not be blank!");
  79. document.login.txtAccount.focus();
  80. // return false;
  81. }else if(document.login.txtPassword.value=="")
  82. {
  83. alert("Password can not be blank!");
  84. document.login.txtPassword.focus();
  85. // return false;
  86. }else if(document.login.AreaCode.value=="")
  87. {
  88. alert("Please, select your area!");
  89. document.login.AreaCode.focus();
  90. // return false;
  91.  
  92. }
  93. else
  94. {
  95. document.login.submit();
  96. }
  97. }
  98.  
  99. document.onmousedown=clickMouse
  100. document.onkeydown=clickKey
  101. document.oncontextmenu=noAction
  102. document.ondragstart=noAction
  103. document.onselectstart=noAction
  104. document.onLoad=scrollPlus(10)
  105. </body>
83 Lượt xem chủ đề  Tổng số: 1 Comment

Cùng chuyên mục
Lọc theo tác giả
Xem chủ để ngoại tuyến (Offline)

Trong diễn đàn

Sắp xếp theo thứ tự từ dưới lên
Forum.GiaiTri321.Info
Trang chủ
0 / 1

DucVuVip.Pro - Diễn Đàn DucVuVip.Pro, Chia Sẻ Code, Thủ Thuật Wap/Webmaster 6.2.1

© Forum.GiaiTri321.Info