Return to Snippet

Revision: 38765
at January 7, 2011 04:51 by RuslanSavenok


Initial Code
#offerTable .hError .Qinput input {background-image: none;}
     #offerTable  .Qinput  input { display: inline-block; height: 20px; line-height:  25px;  font-size: 14px; background: #ffff99  url({fileURL}images/Optimizations/check_small.png)  98% 50% no-repeat;  border: 2px solid #C0C0C0; padding: 5px 30px 5px  5px;  -moz-border-radius: 4px; -webkit-border-radius: 4px;  border-radius:  4px; }
     #offerTable  .Qinput  select { display: inline-block; font-size: 14px; background:  #ffff99;  border: 2px solid #C0C0C0; padding: 5px 2px 5px  2px;  -moz-border-radius: 4px; -webkit-border-radius: 4px;  border-radius: 4px;  }
    #offerTable .Qinput input, #offerTable .Qinput select{ margin: 2px 0; width: 259px; }
    #offerTable .Qinput option {background: #ffff99;}
    #offerTable .Qinput select { /*width: 255px;*/ width: 297px; }
    #offerTable .Qinput div select { width: 93px; }


  for (var i=0; i<form.elements.length; i++) {
    var el = form.elements[i];
    if (el.name.indexOf('field') >= 0) {
      el.onkeyup = el.onchange = check;
    }
  }

function check()
{
  var ot = dId('offerTable');
  for (var i=0; i<ot.rows.length; i++) {
    ot.rows[i].className = '';
  }
  isValidOffer(form, true);
  for (var i=0; i<errorFields.length; i++) {
    var tr = getParentElement(errorFields[i], 'TR');
    tr.className = 'hError';
  }
}

Initial URL


Initial Description


Initial Title
Twinkie with inside checkmark

Initial Tags


Initial Language
CSS