paulogoode (December 19th, 2012), samcy (September 6th, 2012), weiching (September 7th, 2012)
.threecolz { -moz-column-count:3; /* Firefox */ -webkit-column-count:3; /* Safari and Chrome */ column-count:3; }
<ol class="checkboxes">
<?php
foreach ( $options as $option ) {
?>
<li>
<input type="checkbox" name="<?php echo esc_attr($result->field_name); ?>[]" id="<?php echo esc_attr($result->field_name); echo '_'.$optionCursor++; ?>" value="<?php echo esc_attr($option); ?>" class="checkboxlist <?php if ($result->field_req) echo 'required'; ?>" > <?php echo trim(esc_attr($option)); ?>
</li> <!-- #checkbox -->
<?php
}
?>
</ol> <!-- #checkbox-wrap -->
<div class="threecolz">
<ol class="checkboxes">
<?php
foreach ( $options as $option ) {
?>
<li>
<input type="checkbox" name="<?php echo esc_attr($result->field_name); ?>[]" id="<?php echo esc_attr($result->field_name); echo '_'.$optionCursor++; ?>" value="<?php echo esc_attr($option); ?>" class="checkboxlist <?php if ($result->field_req) echo 'required'; ?>" > <?php echo trim(esc_attr($option)); ?>
</li> <!-- #checkbox -->
<?php
}
?>
</ol> <!-- #checkbox-wrap -->
</div>
paulogoode (December 19th, 2012), samcy (September 6th, 2012), weiching (September 7th, 2012)
masrmotors (September 6th, 2012)
masrmotors (September 9th, 2012)
There are currently 1 users browsing this thread. (0 members and 1 guests)