Hi,
I am using the following code for my navigation links. However, loading content that have views slideshow causes the following js error:
Drupal.settings.viewsSlideshowPagerFields is undefined
http://localhost/sites/all/modules/views_slideshow/js/views_slideshow.js...
Line 258
Line 258 is this,
if (Drupal.settings.viewsSlideshowPagerFields[uniqueID][location].activatePauseOnHover) {
The result is that the whole view is displayed regardless of the paging values I have set.
Here's how i do it:
jQuery('#menu li a').unbind('click').click(function(){
var href = jQuery(this).attr('href');
var toLoad = href+' #content';
//jQuery('#content').load(toLoad);
jQuery.ajax({
url: href,
dataType: "html",
success: function(data){
jQuery('#content').html(jQuery(data).find('#content'));
Drupal.attachBehaviors();
}
});
return false;
});
Comments
Comment #1
Anonymous (not verified) commentedI am having the same issue. Did you ever find anything?
Comment #2
salihcenap commentedSame error here! Anybody?
Comment #3
nickdickinsonwildeI believe that is fixed, if anyone experiences that with 7.x-3.3+ please re-open.