Index: contrib/views_slideshow_singleframe/views_slideshow.js =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_singleframe/Attic/views_slideshow.js,v retrieving revision 1.1.2.1.2.22 diff -u -p -r1.1.2.1.2.22 views_slideshow.js --- contrib/views_slideshow_singleframe/views_slideshow.js 14 Apr 2010 06:45:49 -0000 1.1.2.1.2.22 +++ contrib/views_slideshow_singleframe/views_slideshow.js 15 Apr 2010 09:03:41 -0000 @@ -25,6 +25,7 @@ Drupal.behaviors.viewsSlideshowSingleFra prev:(settings.controls > 0)?'#views_slideshow_singleframe_prev_' + settings.id:null, next:(settings.controls > 0)?'#views_slideshow_singleframe_next_' + settings.id:null, pager:(settings.pager > 0)?'#views_slideshow_singleframe_pager_' + settings.id:null, + nowrap:parseInt(settings.nowrap), pagerAnchorBuilder: function(idx, slide) { var classes = 'pager-item pager-num-' + (idx+1); if (idx % 2) { Index: contrib/views_slideshow_singleframe/views_slideshow_singleframe.views_slideshow.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_singleframe/Attic/views_slideshow_singleframe.views_slideshow.inc,v retrieving revision 1.1.2.1.2.15 diff -u -p -r1.1.2.1.2.15 views_slideshow_singleframe.views_slideshow.inc --- contrib/views_slideshow_singleframe/views_slideshow_singleframe.views_slideshow.inc 13 Apr 2010 06:21:51 -0000 1.1.2.1.2.15 +++ contrib/views_slideshow_singleframe/views_slideshow_singleframe.views_slideshow.inc 15 Apr 2010 09:03:41 -0000 @@ -29,6 +29,7 @@ function views_slideshow_singleframe_vie 'pager_type' => array('default' => 0), 'page_hover' => array('default' => 2), 'image_count' => array('default' => 0), + 'nowrap' => array('default' => 0), 'sync' => array('default' => 1), 'advanced' => array('default' => ''), 'ie' => array( @@ -181,6 +182,13 @@ function views_slideshow_singleframe_vie '#default_value' => $view->options['views_slideshow_singleframe']['sync'], '#description' => t('The sync option controls whether the slide transitions occur simultaneously. The default is yes which means that the current slide transitions out as the next slide transitions in. By setting the sync option to no you can get some interesting twists on your transitions.'), ); + $form['views_slideshow_singleframe']['nowrap'] = array( + '#type' => 'select', + '#title' => t('End slideshow after last slide'), + '#options' => array(1 => t('Yes'), 0 => t('No')), + '#default_value' => $view->options['views_slideshow_singleframe']['nowrap'], + '#description' => t('If you select yes the slideshow will end when it gets to the last slide.'), + ); $form['views_slideshow_singleframe']['advanced'] = array( '#type' => 'textarea', '#title' => t('Advanced Options'), @@ -216,4 +224,4 @@ function views_slideshow_singleframe_vie if (!is_numeric($form_state['values']['style_options']['views_slideshow_singleframe']['timeout'])) { form_error($form['views_slideshow_singleframe']['speed'], t('!setting must be numeric!',array('timeout'))); } -} \ No newline at end of file +} Index: contrib/views_slideshow_thumbnailhover/views_slideshow.js =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_thumbnailhover/Attic/views_slideshow.js,v retrieving revision 1.1.2.2.2.21 diff -u -p -r1.1.2.2.2.21 views_slideshow.js --- contrib/views_slideshow_thumbnailhover/views_slideshow.js 14 Apr 2010 06:45:49 -0000 1.1.2.2.2.21 +++ contrib/views_slideshow_thumbnailhover/views_slideshow.js 15 Apr 2010 09:03:41 -0000 @@ -23,6 +23,7 @@ Drupal.behaviors.viewsSlideshowThumbnail random:settings.random==1, pause:false, pager:(settings.pager_event == 'hoverIntent') ? null : '#views_slideshow_breakout_teasers_' + settings.id, + nowrap:parseInt(settings.nowrap), pagerAnchorBuilder:(settings.pager_event == 'hoverIntent') ? null : function(idx, slide) { return '#views_slideshow_thumbnailhover_div_breakout_teaser_' + settings.id + '_' + idx; }, Index: contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.views_slideshow.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_thumbnailhover/Attic/views_slideshow_thumbnailhover.views_slideshow.inc,v retrieving revision 1.1.2.1.2.16 diff -u -p -r1.1.2.1.2.16 views_slideshow_thumbnailhover.views_slideshow.inc --- contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.views_slideshow.inc 13 Apr 2010 22:57:34 -0000 1.1.2.1.2.16 +++ contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.views_slideshow.inc 15 Apr 2010 09:03:41 -0000 @@ -207,6 +207,13 @@ function views_slideshow_thumbnailhover_ '#default_value' => $view->options['views_slideshow_thumbnailhover']['sync'], '#description' => t('The sync option controls whether the slide transitions occur simultaneously. The default is yes which means that the current slide transitions out as the next slide transitions in. By setting the sync option to no you can get some interesting twists on your transitions.'), ); + $form['views_slideshow_thumbnailhover']['nowrap'] = array( + '#type' => 'select', + '#title' => t('End slideshow after last slide'), + '#options' => array(1 => t('Yes'), 0 => t('No')), + '#default_value' => $view->options['views_slideshow_thumbnailhover']['nowrap'], + '#description' => t('If you select yes the slideshow will end when it gets to the last slide.'), + ); $form['views_slideshow_thumbnailhover']['advanced'] = array( '#type' => 'textarea', '#title' => t('Advanced Options'),