You appear to be a bot. Output may be restricted
Description
Create the jQuery code to cycle the selection, including the starting div This code uses jQuery cycle.all
Usage
bw_testimonials_jq( $atts );
Parameters
- $atts
- ( mixed ) required –
Returns
void
Source
File name: oik-testimonials/shortcodes/oik-testimonials.php
Lines:
1 to 17 of 17
function bw_testimonials_jq( $atts ) { oik_require( "shortcodes/oik-jquery.php" ); $debug = bw_array_get( $atts, "debug", false ); $script = bw_array_get( $atts, "script", "cycle.all" ); $method = bw_array_get( $atts, "method", "cycle" ); bw_jquery_enqueue_script( $script, $debug ); // bw_jquery_enqueue_style( $script ); // bw_jquery( $selector, $method, $parms, $windowload ); $selector = bw_testimonial_id(); $parms = _bw_testimonials_cycle_parms(); bw_jquery( "#$selector", $method, $parms ); $class = bw_array_get( $atts, "class", "bw_testimonial" ); sdiv( $class, $selector ); }