domino1957 (April 11th, 2013)
<script type="text/javascript">
// <![CDATA[
jQuery(document).ready(function() {
jQuery("#thousands").click(function() {
thousands = ( jQuery(this).is(":checked") ) ? true : false;
cp_show_price_slider(<?php echo esc_js( intval( $cp_min_price ) ); ?>, <?php echo esc_js( intval( $cp_max_price ) ); ?>, <?php echo esc_js( intval( $amount[0] ) ); ?>, <?php echo esc_js( intval( $amount[1] ) ); ?>, thousands);
});
thousands = ( jQuery("#thousands").is(":checked") ) ? true : false;
cp_show_price_slider(<?php echo esc_js( intval( $cp_min_price ) ); ?>, <?php echo esc_js( intval( $cp_max_price ) ); ?>, <?php echo esc_js( intval( $amount[0] ) ); ?>, <?php echo esc_js( intval( $amount[1] ) ); ?>, thousands);
});
// ]]>
</script>
<li class="amount">
<label class="title"><?php echo esc_html( translate( $value->field_label, APP_TD ) ); ?>:</label>
<input type="text" id="amount" name="amount" />
<div id="slider-range"></div>
<?php if( $thousands ) { ?>
<label class="title"><?php echo esc_html( __( 'Show Thousands', APP_TD ) ); ?>:</label><input type="checkbox" id="thousands" name="thousands" <?php checked( isset($_GET['thousands']) ); ?> />
<?php } ?>
</li>
domino1957 (April 11th, 2013)
There are currently 1 users browsing this thread. (0 members and 1 guests)