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.24 diff -u -r1.1.2.1.2.24 views_slideshow.js --- contrib/views_slideshow_singleframe/views_slideshow.js 16 Apr 2010 21:57:40 -0000 1.1.2.1.2.24 +++ contrib/views_slideshow_singleframe/views_slideshow.js 19 Apr 2010 02:40:50 -0000 @@ -53,8 +53,8 @@ $(this).parent().animate({height: $ht}); } }, - cleartype:(settings.ie.cleartype), - cleartypeNoBg:(settings.ie.cleartypenobg) + cleartype:settings.ie.cleartype==1, + cleartypeNoBg:settings.ie.cleartypenobg==1 } if (settings.pager_hover == 1) { 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.17 diff -u -r1.1.2.1.2.17 views_slideshow_singleframe.views_slideshow.inc --- contrib/views_slideshow_singleframe/views_slideshow_singleframe.views_slideshow.inc 16 Apr 2010 21:57:40 -0000 1.1.2.1.2.17 +++ contrib/views_slideshow_singleframe/views_slideshow_singleframe.views_slideshow.inc 19 Apr 2010 02:40:50 -0000 @@ -35,8 +35,8 @@ 'advanced' => array('default' => ''), 'ie' => array( 'contains' => array( - 'cleartype' => array('default' => 'true'), - 'cleartypenobg' => array('default' => 'false'), + 'cleartype' => array('default' => 1), + 'cleartypenobg' => array('default' => 0), ), ), 'advanced' => array('default' => ''), @@ -52,7 +52,7 @@ $('#edit-style-options-views-slideshow-singleframe-pager').change(function() { viewsSlideshowSingleframePagerToggle(); }); - + function viewsSlideshowSingleframePagerToggle() { if ($('#edit-style-options-views-slideshow-singleframe-pager').val() > 0) { $('#edit-style-options-views-slideshow-singleframe-pager-type-wrapper').show('normal'); @@ -81,7 +81,7 @@ '#type' => 'textfield', '#title' => t('Speed'), '#default_value' => $view->options['views_slideshow_singleframe']['speed'], - '#description' => t('Time in milliseconds that each transition lasts. Numeric only!'), + '#description' => t('Time in milliseconds that each transition lasts. Numeric only!'), ); $form['views_slideshow_singleframe']['fixed_height'] = array( '#type' => 'select', @@ -174,7 +174,7 @@ 'turnRight' => 'turnRight', 'uncover' => 'uncover', 'wipe' => 'wipe', - 'zoom' => 'zoom' + 'zoom' => 'zoom' ); $form['views_slideshow_singleframe']['effect'] = array( '#type' => 'select', @@ -188,14 +188,14 @@ '#title' => t('Sync'), '#options' => array(1 => t('Yes'), 2 => t('No')), '#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.'), + '#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.'), + '#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', @@ -212,14 +212,14 @@ $form['views_slideshow_singleframe']['ie']['cleartype'] = array( '#type' => 'radios', '#title' => t('ClearType'), - '#options' => array('true' => t('True'), 'false' => t('False')), + '#options' => array(1 => t('True'), 0 => t('False')), '#default_value' => $view->options['views_slideshow_singleframe']['ie']['cleartype'], '#description' => t('True if clearType corrections should be applied (for IE). Some background issues could be fixed by setting this to false.'), ); $form['views_slideshow_singleframe']['ie']['cleartypenobg'] = array( '#type' => 'radios', '#title' => t('ClearType Background'), - '#options' => array('true' => t('True'), 'false' => t('False')), + '#options' => array(1 => t('True'), 0 => t('False')), '#default_value' => $view->options['views_slideshow_singleframe']['ie']['cleartypenobg'], '#description' => t('Set to true to disable extra cleartype fixing (leave false to force background color setting on slides)'), );