$mod_sliderjs['br_sliderjs']['output'] .= '><ul class="bxslider bxloader' . $crow['acontent_id'] . '"'; if ($content['br_sliderjs']['bxslider']['jqs_cssadv'] == 0) { $mod_sliderjs['br_sliderjs']['output'] .= ' style="margin:0;padding:0;"'; } $mod_sliderjs['br_sliderjs']['output'] .= '>' . LF; $mod_sliderjs['br_sliderjs']['output'] .= $mod_sliderjs['br_sliderjs']['imglist']; $mod_sliderjs['br_sliderjs']['output'] .= ' </ul></div>' . LF; //add js $mod_sliderjs['br_sliderjs']['output'] .= '<script type="text/javascript">' . LF; $mod_sliderjs['br_sliderjs']['output'] .= ' $(".bxloader' . $crow['acontent_id'] . '").bxSlider({ mode: "' . $content['br_sliderjs']['bxslider']['jqs_effect'] . '",' . LF; if ($content['br_sliderjs']['bxslider']['jqs_effect'] == 'vertical') { $mod_sliderjs['br_sliderjs']['output'] .= ' slideMargin: 0,' . LF; } $mod_sliderjs['br_sliderjs']['output'] .= ' speed: ' . $content['br_sliderjs']['bxslider']['jqs_speed'] . ', controls: ' . jqsIsValid($content['br_sliderjs']['bxslider']['jqs_navigation']) . ', pager: ' . jqsIsValid($content['br_sliderjs']['bxslider']['jqs_pagination']) . ', autoControls: ' . jqsIsValid($content['br_sliderjs']['bxslider']['jqs_play']) . ', autoControlsCombine: true, auto: true, captions: ' . jqsIsValid($content['br_sliderjs']['bxslider']['jqs_caption']) . ', pause: ' . $content['br_sliderjs']['bxslider']['jqs_interval'] . ', autoStart: ' . jqsIsValid($content['br_sliderjs']['bxslider']['jqs_autoplay']) . ', autoHover: ' . jqsIsValid($content['br_sliderjs']['bxslider']['jqs_pauseOnHover']); if (!empty($content['br_sliderjs']['bxslider']['jqs_jscode'])) { $mod_sliderjs['br_sliderjs']['output'] .= ', ' . trim($content['br_sliderjs']['bxslider']['jqs_jscode'], ',') . LF; } $mod_sliderjs['br_sliderjs']['output'] .= ' });' . LF; $mod_sliderjs['br_sliderjs']['output'] .= '</script>' . LF;
start: 1, navigation: { active: ' . jqsIsValid($content['br_sliderjs']['slidesjs']['jqs_navigation']) . ', effect: "' . $content['br_sliderjs']['slidesjs']['jqs_effect'] . '" }, pagination: { active: ' . jqsIsValid($content['br_sliderjs']['slidesjs']['jqs_pagination']) . ', effect: "' . $content['br_sliderjs']['slidesjs']['jqs_effect'] . '" }, play: { active: ' . jqsIsValid($content['br_sliderjs']['slidesjs']['jqs_play']) . ', effect: "' . $content['br_sliderjs']['slidesjs']['jqs_effect'] . '", interval: ' . $content['br_sliderjs']['slidesjs']['jqs_interval'] . ', auto: ' . jqsIsValid($content['br_sliderjs']['slidesjs']['jqs_autoplay']) . ', swap: true, pauseOnHover: ' . jqsIsValid($content['br_sliderjs']['slidesjs']['jqs_pauseOnHover']) . ', restartDelay: 2500 },' . LF; if ($content['br_sliderjs']['slidesjs']['jqs_effect'] == 'fade') { $mod_sliderjs['br_sliderjs']['output'] .= ' effect: { fade: { speed: ' . $content['br_sliderjs']['slidesjs']['jqs_speed'] . ', crossfade: true } },' . LF; } else { $mod_sliderjs['br_sliderjs']['output'] .= ' effect: { slide: { speed: ' . $content['br_sliderjs']['slidesjs']['jqs_speed'] . ' } },' . LF;