Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
vert += vertChange;
}
return vert;
}
// Get some values and convert them to numbers
$('.autoGrab').each(function () {
var $e = $(this),
id = $e.attr('id');
grab[id] = $e.val();
});
// First five rows are select spans
offset = sprites('select', "right", offset, "", -grab.selectHeight, states.bar);
replacements['select.height'] = px(grab.selectHeight);
// Next five rows are select divs - the cap on the left side
offset = sprites('selectCap', 0, offset, 0, -grab.selectHeight, states.bar);
// 10 checkbox states on a single row
offset = sprites('checkbox', 0, offset, -grab.checkWidth, 0, states.tile);
replacements['checkbox.height'] = px(grab.checkHeight);
replacements['checkbox.width'] = px(grab.checkWidth);
offset -= grab.checkHeight;
// 10 radio states on a single row
offset = sprites('radio', 0, offset, -grab.radioWidth, 0, states.tile);
replacements['radio.height'] = px(grab.radioHeight);
replacements['radio.width'] = px(grab.radioWidth);
offset -= grab.checkHeight;