It's not easy to describe the error in english...
I use the slider in my side and it works perfect. Only if I load contentfragments with ajax the transition of the images is broken and at the end the logo of my side appears in the frame.
The link is: http://sv.design-con-text.de
Watch the images and then click for example on "Meldungen" or "Blog" in the Sidebar-Block.

Comments

pedrofaria’s picture

Can you send a screenshot? i could not reproduce your error...

thanks!

designcontext’s picture

StatusFileSize
new34.5 KB

Here is an image of the logo in the frame.
The problem occurs with the quick tabs an flag module when they use ajax.
I tested it in Google Chrome 4 and Firefox 3.6.8

pedrofaria’s picture

At Google chrome 6 is OK... i will test with firefox soon...

designcontext’s picture

I have the problem in all of my browsers (Windows 7):
Firefox 3.6
Google chrome 5
Opera 10.5
Safari 5
IE 8

designcontext’s picture

I post my view. Perhaps I made a mistake:

$view = new view;
$view->name = 'slideshow';
$view->description = 'Für die Slideshow auf der Startseite';
$view->tag = 'custom';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Standards', 'default');
$handler->override_option('fields', array(
  'field_image_fid' => array(
    'label' => '',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'link_to_node' => 0,
    'label_type' => 'none',
    'format' => 'image_plain',
    'multiple' => array(
      'group' => TRUE,
      'multiple_number' => '',
      'multiple_from' => '',
      'multiple_reversed' => FALSE,
    ),
    'exclude' => 0,
    'id' => 'field_image_fid',
    'table' => 'node_data_field_image',
    'field' => 'field_image_fid',
    'relationship' => 'none',
  ),
));
$handler->override_option('filters', array(
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'slideshow' => 'slideshow',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
  ),
  'status' => array(
    'operator' => '=',
    'value' => '1',
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
));
$handler->override_option('cache', array(
  'type' => 'none',
));
$handler->override_option('use_ajax', TRUE);
$handler->override_option('items_per_page', 6);
$handler->override_option('style_plugin', 'views_nivo_slider');
$handler->override_option('style_options', array(
  'imagefield_preset' => 'slideshow',
  'style' => 'default',
  'effect' => 'fade',
  'slices' => '15',
  'animSpeed' => '3000',
  'pauseTime' => '8000',
  'directionNav' => 'false',
  'directionNavHide' => 'true',
  'controlNav' => 'disabled',
  'controlNavThumbsIC' => 'slideshow',
  'controlNavThumbsICField' => '',
  'controlNavThumbsField' => 'title',
  'keyboardNav' => 'false',
  'pauseOnHover' => 'false',
  'manualAdvance' => 'false',
  'captionOpacity' => '0.8',
));
$handler->override_option('row_plugin', 'nivo_sliderfields');
$handler->override_option('row_options', array(
  'image_field' => 'field_image_fid',
  'title_field' => '',
  'link_field' => '',
));
$handler = $view->new_display('block', 'Slideshow', 'block_1');
$handler->override_option('block_description', '');
$handler->override_option('block_caching', -1);

liberatr’s picture

Someone else appears to be having a similar problem with Quicktabs:
http://drupal.org/node/904612

I know jQuery and "Content Fragments" are not friends - I would also check the Quicktabs issue queue.

liberatr’s picture

In the quicktabs issue queue someone mentions Nivo Slider as well:
http://drupal.org/node/792154

anybody’s picture

Same problem here: http://drupal.org/node/926122

Perhaps you could merge all information into one thread?

pedrofaria’s picture

i guess this is a library problem...

I am planning to upgrade lib to 2.1... let's see if will fix this problem...

cya!

majdi’s picture

StatusFileSize
new599.45 KB

both Versions have this problem 2.0 & 2.x-dev

attached image explain the problem

ParisLiakos’s picture

Subscribe

Same problem with everything already mentioned.
quicktabs and nivo slider must hate each other!

quicktabs load everytime a new page when there is a nivo slider in page...

ParisLiakos’s picture

Actually its not nivo slider as whole who has problems.
It is the navigators that have problems.if you disable all navigators for the nivo slider,quicktabs work perfectly!

pedrofaria’s picture

Anyone more can confirm it?

majdi’s picture

in my case quicktabs work fine if nivo enabled or disabled, i think its nivo problem , i work much with quicktabs , with me its never conflict with anything , Now im using nested quicktabs and views slideshow , everything work fine

designcontext’s picture

I have no navigators. With the new google chrome the problem with the logo in the frame disappears but the transitions of the images are still not correct.

goetzs’s picture

I'm using a views block with an AJAX pager on the same page as the NIVO slider and am having the same issue. Has anyone made any progress on a solution for this that isn't turning off the NIVO controls?

noomz’s picture

StatusFileSize
new643 bytes

Confirm this bug.

The cause of problem is that after any view load ajax content, all javascript in Drupal.behaviors function will be initialize again to make change to site's new structure, that mean views nivo slider will process DOM element twice and might cause an error. So, I've added a class to indicate that is the processed element and don't want it to be process again(I presumed that nivo slider doesn't have anything to do with view's ajax content). Patch is attached.

Cheers,
noomz

noomz’s picture

Component: Miscellaneous » Code
Status: Active » Needs review
betoaveiga’s picture

Noomz is right. This patch must be considered for next version. Right now Views Nivo Slider fails when an ajax pager is used in the same page because the behaviors are attached twice.

nicothezulu’s picture

#17 patch really rocks!


thanks... i know now, how to resolve such kind of problems...

mist’s picture

THX 4 THE # IT ROX

ckng’s picture

Version: 6.x-2.0 » 6.x-2.x-dev
Status: Needs review » Fixed

Backported D7 js code to D6.
Committed to 6.x-2.x-dev branch

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

oriol_e9g’s picture

I can confirm the problem and the fix! Please release a 2.1 version!