[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
Zen Cart 源代码 general.js

Zen Cart 源代码 general.js




下载文件

文件名: general.js
文件类型: Javascript文件
文件大小: 833 Bytes
MD5: 227c526b823c82ae8e713bfec62763f6

general.js - 关闭高亮
  1. function SetFocus() {
  2.   if (document.forms.length > 0) {
  3.     var field = document.forms[0];
  4.     for (i=0; i<field.length; i++) {
  5.       if ( (field.elements[i].type != "image") &&
  6.            (field.elements[i].type != "hidden") &&
  7.            (field.elements[i].type != "reset") &&
  8.            (field.elements[i].type != "submit") ) {
  9.  
  10.         document.forms[0].elements[i].focus();
  11.  
  12.         if ( (field.elements[i].type == "text") ||
  13.              (field.elements[i].type == "password") )
  14.           document.forms[0].elements[i].select();
  15.  
  16.         break;
  17.       }
  18.     }
  19.   }
  20. }
  21.  
  22. function rowOverEffect(object) {
  23.   if (object.className == 'dataTableRow') object.className = 'dataTableRowOver';
  24. }
  25.  
  26. function rowOutEffect(object) {
  27.   if (object.className == 'dataTableRowOver') object.className = 'dataTableRow';
  28. }
  29.  


cron