Issue with slider built into theme
-
I’m using the attitude theme by themehorse on my website: https://heronuggets.com
everything works fine with your plugin, except for the built in image slider. I found the .JS file that I believe is used for the slider (attitude-slider-setting.js). So I placed it into the file exception as:
attitude-slider-setting.js,
my slider is still frozen on the page, even after listing it as an exception. Am I supposed to add something else? Is there some core js file necessary? Here’s the code inside the JS file:
Here’s the code in the file:
/** * Slider Setting * * Contains all the slider settings. */ jQuery(window).load(function() { var transition_effect = attitude_slider_value.transition_effect; var transition_delay = attitude_slider_value.transition_delay; var transition_duration = attitude_slider_value.transition_duration; jQuery('.slider-cycle').cycle({ fx: transition_effect, // name of transition effect (or comma separated names, ex: 'fade,scrollUp,shuffle') pager: '#controllers', // element, jQuery object, or jQuery selector string for the element to use as pager container activePagerClass: 'active', // class name used for the active pager element timeout: transition_delay, // milliseconds between slide transitions (0 to disable auto advance) speed: transition_duration, // speed of the transition (any valid fx speed value) pause: 1, // true to enable "pause on hover" pauseOnPagerHover: 1, // true to pause when hovering over pager link width: '100%', containerResize: 0, // resize container to fit largest slide fit: 1, after: function () { jQuery(this).parent().css("height", jQuery(this).height()); }, cleartypeNoBg: true }); });
could you possibly tell me what I can use as the “key”? I’m not overly familiar with javascript yet, so it is a bit of a guessing game for me. Thanks.
https://www.ads-software.com/plugins/asynchronous-javascript/
- The topic ‘Issue with slider built into theme’ is closed to new replies.