[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/includes/javascript/ -> checkout_payment.js.php (source)

   1  <script language="javascript" type="text/javascript"><!--
   2  var selected;
   3  var submitter = null;
   4  function submitFunction() {
   5     submitter = 1;
   6     }
   7  function selectRowEffect(object, buttonSelect) {
   8    if (!selected) {
   9      if (document.getElementById) {
  10        selected = document.getElementById('defaultSelected');
  11      } else {
  12        selected = document.all['defaultSelected'];
  13      }
  14    }
  15  
  16    if (selected) selected.className = 'moduleRow';
  17    object.className = 'moduleRowSelected';
  18    selected = object;
  19  
  20  // one button is not an array
  21    if (document.checkout_payment.payment[0]) {
  22      document.checkout_payment.payment[buttonSelect].checked=true;
  23    } else {
  24      document.checkout_payment.payment.checked=true;
  25    }
  26  }
  27  
  28  function rowOverEffect(object) {
  29    if (object.className == 'moduleRow') object.className = 'moduleRowOver';
  30  }
  31  
  32  function rowOutEffect(object) {
  33    if (object.className == 'moduleRowOver') object.className = 'moduleRow';
  34  }
  35  //--></script>
  36  <?php echo $payment_modules->javascript_validation(); ?>


Generated: Fri Jan 1 13:43:16 2010 Cross-referenced by PHPXref 0.7